Search the Community
Showing results for tags 'RegWrite'.
-
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 #Requ...
- 6 replies
-
- regwrite
- windows 10
-
(and 1 more)
Tagged with:
-
Hi This piece of code creates and reads OK a key at "HKEY_LOCAL_MACHINE" and can be changed for a key at "HKEY_CURRENT_USER" $sta= RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor", "wav", "REG_SZ", "5555") MsgBox(4096,"wrote", $sta &@cr& @error) $zz= RegRead ("HKEY_LO...
-
I am having an issue with windows 10 and regwrite. when i run my script it acts as though it has updated the registry but when i view the registry it has not updated the keys. I added error checking to the script but it is not showing errors. now if i remove #requireadmin i will get error 1 - una...
-
So I want to remap Capslock to Ctrl using Autoit ;3A00 = Caps ;1D00 = Ctrl RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout","Scancode Map","REG_BINARY","000000000000000002000000E0473A0000000000") However it isn't doing anything. And I have no idea why my code do...
- 4 replies
-
- regwrite
- disable caps
-
(and 2 more)
Tagged with:
-
Hi all to the forum guru and expert I am trying to automate this. in the registry I have the network profile name network 2 and network I want to change their CATEGORY to Private . Can someone lead me in the right direction. Private is 1 and Public is 0 #RequireAdmin Global $sHKLMR...
-
Hello guys, I'm having a problem right here .. I was trying to create a few Registry Values using autoit, but it seems to me that Autoit can't write those values to this specific part of the registry .. Here is the code I'm trying to run: RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microso...
-
HotKeySet("^``", "toggle_media_controls") ; Ctrl + ` While 1 Sleep(100) WEnd If Not ProcessExists("wmplayer.exe") And RegRead("HKCU\Software\Microsoft\MediaPlayer\Preferences", "HoverTransportsEnabled") = 1 Then ; Disable autohide controls RegWrite("HKCU\Software\Microsoft\MediaPlayer\...
- 9 replies
-
- processexists
- regread
-
(and 2 more)
Tagged with:
-
Hi, is this the right way to use RegWrite func on 32-bit and 64-bit Windows $HKEY_CURRENT_USER = 'HKEY_CURRENT_USER64' If @OSArch = 'X86' Then $HKEY_CURRENT_USER = 'HKEY_CURRENT_USER' RegWrite($HKEY_CURRENT_USER & '\Software\Microsoft\Windows\CurrentVersion\Run', 'Obd2Diag', 'REG_SZ', 'app') Tha...
-
So I am trying to write a script that can take the current computer name and write it to a registry key. This key uses REG_BINARY type of key and looks like this: Value 1 Name: LocalName Type: REG_BINARY Data: 00000000 54 4f 55 47 48 42 4f 4f - 4b 36 30...
-
So im trying to install office 2013 via the OEM click to run app which i get through with "send()" but i need to disable UAC and reboot because of the prompt. you can do this by changing some registry keys but i cant for the life of me get this to run. when i run the following from cmd: ;Run('C:\Wi...
- 2 replies
-
- UAC
- disable UAC
-
(and 2 more)
Tagged with:
-
Hi...I was trying to mute flash player sound so, when I couldnt I find an alternate way to mute sound. here is my code:- RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Play_Background_Sounds", "REG_SZ", "no") #include <IE.au3> Local $oIE = _IECreate("www.mywebsite.us")...
-
Hi guys For a script i need to show extension ( if is not enabled by default ) and the restore the original value after my function. The script: Global $Ini = @ScriptDir & "\Test.ini" FileExt("Show") Sleep(5000) FileExt("Default") Func FileExt($parameter) Local $RegKey = RegRead("HKEY_CURRE...
-
I am trying to replace an existing registry value (which is a string) by another one. The following doesn't work, any idea why ? RegWrite("KEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E96D-E325-11CE-BFC1-08002BE10318}\0001", "UserInit", "REG_SZ", $modifiedValue) Thanks
-
Hello All, I'm sure this is an easy issue (for someone.) I really did do a bunch of searching, but have had no luck. I'm simply trying to change the value of a REG_EXPAND_SZ registry, but failing with an error code of 0. The RegRead works and is correct, so the registry path is correct. I'...