Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Frage zu reg.exe

Empfohlene Antworten

hallo,

ich bin hier gerade am verzweifeln und hoffe, daß mir jemand weiterhelfen kann.

ich möchte in einer batch datei einen baum aus der registry in eine datei schreiben und am ende der batch datei wieder zurücksetzen.

dazu habe ich auf der microsoft seite folgenden hinweis gefunden

Syntax

reg restore KeyName FileName

Parameters

KeyName : Specifies the full path of the subkey. The restore operation works only with the local computer. Start the path with the appropriate subtree. The valid subtrees are HKLM, HKCU, HKCR, HKU, and HKCC.

FileName : Specifies the name and path of the file that will be written back to the registry. This file needs to be created beforehand with the reg save operation using a .hiv extension.

/?: Displays help at the command prompt.

also schreibe ich den baum in die datei Auupdate.hiv mit dem befehl

reg save "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" %systemroot%\WUedvcd\AUupdate.hiv

setze ich den baum am ende der batchdatei aber wieder zurück mit dem befehl

reg restore "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate" %systemroot%\WUedvcd\AUupdate.hiv

erhalte ich die fehlermeldung : operation could not be completed.

hat jemand eine ahnung, was das bedeutet; bzw. einen anderen weg einen baum in einer batchdatei zu sichern und wieder zurückzuschreiben ?

schon mal danke im voraus

mfg

mike

habe den fehler jetzt selber gefunden.

falls es jemanden interessiert :

zum einen muss es heißen : reg.exe Dateiname Pfad-in-der-Registry

(war also falsche reihenfolge)

und zum anderen muss die datei reg.exe in dem selben ordner liegen, wie die .hiv datei - kommt also nicht mit pfadangaben zurecht.

jetzt funzt es :-)))

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.