1.

Solve : Install a Reg edit by script?

Answer»

Hi All,
I am looking to find a way to install a regedit on about 30 machines. I have the change I WANT to make I just don't know how to have a machine install the change without having to login to each machine. Any ideas?

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_ALLOW_USER32_EXCEPTION_HANDLER_HARDENING]
"iexplore.exe"=dword:00000001


Thanks

https://support.microsoft.com/en-us/kb/264584

Warning: The instruction below is not the instruction for you to run but only an example from this website in syntax. You might be able to write a batch file that has 30 of these instructions with each having their own \\remoteworkstation I would ASSUME you replace with actual name of the computer such as \\Dell1 \\Dell2 etc.

Quote

In Windows XP and in Windows Server 2003, you must enclose the value in quotation marks. For example, you could use the FOLLOWING script to call AUoptions.txt.

regini.exe -m \\remoteworkstation auoptions.txt HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update "ConfigVer"= REG_DWORD 1 "AUOptions"= REG_DWORD 4 "ScheduledInstallDay"= REG_DWORD 0 "ScheduledInstallTime"= REG_DWORD 1

I am not sure if this will work on systems that are not already logged in. I was expecting there to be a user/password line in this to authenticate with the remote system. Maybe as long as your system admin on the one system you start this from and all other systems have the same system admin account on them with same password it will pass thru authenticate without need for a runas instruction. Be very careful as for this can mess up a registry fast if you mess up info tp pass to it. If you have 2 computers that are not important, I'd perfect the script on the 2 unimportant systems first to make sure it works and then make it for all 30 and run it. You could also be careful and save a backup copy of the registries of all 30 systems too to revert back if there are PROBLEMS after running the script.


Discussion

No Comment Found