Search the Community
Showing results for tags 'hklm\software\'.
Hello, I am trying to use RegWrite to create a key within HKLM on W10 without success. I've had a look at a number of posts on the forum to troubleshoot, without success. This post seems highly relevant Here is my latest script with output ; Read/write data to registry #RequireAdmin Example() Func Example() Local $Status = "" ; Check if the registry key is already existing, so as not to damage the user's system. RegRead("HKLM\SOFTWARE\Microsoft\F1", "Key1") ConsoleWrite("Error: " & @error &
L.S. Not all registry keys are read. And that is nuisance when some keys are nice checks for existance of certain application. See below a litle test script and the output. Why is output of test 3 and 4 empty?? $test = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\ThinPrint", "Lang") ConsoleWrite("test1: " & $test & @CR) $test2 = Regread("HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications", "Wordpad") ConsoleWrite("test2: " & $test2 & @CR) $test3 = Regread("HKEY_LOCAL_MACHINE\SOFTWARE\CBSTEST", "CBSTestWTTLogFile") ConsoleWrite("test3: " & $test3 & @CR) $test4 = Regread("