Basically, make the changes on one machine. Only export the sections of the registry that were changed. Don't export the whole registry because that would run the risk of fowling up other machines with differnet hardware and software installed.
use this vbscript as a login script and it will import the exported sections on each machine. This is what I use to make global changes to all of my machines. Just change the paths to the reg exports. This is import 2 exports but can be modified for more than 2. If you have any questions, just ask.
Hope this helps
Justin
strCommand = "regedit /s \\server\shared\file.reg"
strCommand1 = "regedit /s \\server\shared\file1.reg"
set objWshShell = WScript.CreateObject("WScript.Shell")
intRC = objWshShell.Run(strCommand, 0, TRUE)
if intRC <> 0 then
WScript.Echo "Error importing removestartscan.reg into the registry"
else
end if
intRC1 = objWshShell.Run(strCommand1, 0, TRUE)
if intRC <> 0 then
WScript.Echo "Error importing preventstartscan.reg into the registry"
else
just rememberd with regards to the vbscript. if i use it as a login script i will need to still have it run from each pc. is there any way i can automate a remote connect and push the changes to the pc.
I think the login script is the only way to do this. Great script by the dooby12!!
You can also do this by adding a line
Regedit <REG_PATH> /D
In the login script, this will also delete the reg keys you need to.
But im not sure of anyway to push a change to mutiple pcs. The only thing that springs to mind is the remote registy. But that wont help as you will need to connect to each pc.
Dont the pcs run a login script when they logon, after leaving it in the login script for about a fortnight, it should have hit all pcs.
I'm not quite sure what your getting at with your question? I'm assuming your talking about the script that I have you. All you have to do is copy the reg exports to a network share and change the path to reflect that path of the network share. You don't have to copy the reg exports to each machine. When each machine logs in
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.