Seite 1 von 1

Add registry value

Verfasst: 17 Okt 2019, 13:48
von Whoops!
Ich brauche mal kurz nen kleinen Denkanstoß beim Hinzufügen von eigenen Registry Key. Im log steht, dass der Modus auf readonly steht. Wie hierzu die Option zum schreiben in die Registry?

Code: Alles auswählen

[7] [Okt 17 13:46:09:445] Registry started readonly
[7] [Okt 17 13:46:09:449] Registry started without redirection (64 Bit)
[6] [Okt 17 13:46:09:453] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion]  opened
[6] [Okt 17 13:46:09:457] Key closed
[5] [Okt 17 13:46:09:524] Execution of: Registry_hkcu_programs /64bit
[5] [Okt 17 13:46:09:527] 
[7] [Okt 17 13:46:09:531]   Registry started without redirection (64 Bit)
[7] [Okt 17 13:46:09:535]   Key is: HKEY_CURRENT_USER\Software\7-Zip\Options
[6] [Okt 17 13:46:09:539]   Registry key [HKEY_CURRENT_USER\Software\7-Zip\Options]  opened
[6] [Okt 17 13:46:09:543]       Variable "MenuIcons"  is keeping its value "1"
[7] [Okt 17 13:46:09:547]       Key is: HKEY_CURRENT_USER\Software\7-Zip\FM
[6] [Okt 17 13:46:09:552]       Key closed
[6] [Okt 17 13:46:09:556]       Registry key [HKEY_CURRENT_USER\Software\7-Zip\FM]  opened
[6] [Okt 17 13:46:09:559]       Variable "ShowDots"  is keeping its value "1"
[7] [Okt 17 13:46:09:564]       Key is: HKEY_CURRENT_USER\Software
[6] [Okt 17 13:46:09:568]       Key closed
[6] [Okt 17 13:46:09:572]       Registry key [HKEY_CURRENT_USER\Software]  opened
[6] [Okt 17 13:46:09:578]   Variable "shsasdsj"  is keeping its value "1"
[6] [Okt 17 13:46:09:580]   Variable "ok"  is keeping its value "ok"
[6] [Okt 17 13:46:09:585]   Key closed
[5] [Okt 17 13:46:09:596] message Hinzuf....gen der Registry Eintr....ge...
[1] [Okt 17 13:46:09:610] ___________________
[1] [Okt 17 13:46:09:614] script finished: success
[1] [Okt 17 13:46:09:620] 0 errors
[1] [Okt 17 13:46:09:624] 0 warnings

Code: Alles auswählen

[Actions]
Registry_hkcu_programs /
Message "Hinzufügen der Registry Einträge..."

[Registry_hkcu_programs]
openkey [HKEY_CURRENT_USER\Software\7-Zip\Options]
set "MenuIcons" = REG_DWORD:0001

openkey [HKEY_CURRENT_USER\Software\7-Zip\FM]
set "ShowDots" = REG_DWORD:0001


openkey [HKEY_CURRENT_USER\Software]
set "shsasdsj" = REG_DWORD:0001
set "ok" = "ok"


Re: Add registry value

Verfasst: 17 Okt 2019, 13:54
von SisterOfMercy
You have seemed to forget the /AllNTUserDats switch.