Peter Wilcox
asked on
Forcing Registry to be imported into computers across my AD Network
Currently I have a GPO that prompt's users to import the registry when they start up there computer. But I want to force this to import every-time that there computer starts up.
We have a 2008 AD network. All our workstations are Windows 7. The reg file is sitting our our network at the moment. Is there a way to do this via GPO or is there some other easier method?
We have a 2008 AD network. All our workstations are Windows 7. The reg file is sitting our our network at the moment. Is there a way to do this via GPO or is there some other easier method?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
There is also REG.EXE IMPORT...which is pretty simple to use on a logon script.
Example...
xcopy "\\server\shared$\reg.exe" "c:\windows\system32\" /D /E /I /R /Y
reg import \\server\shared$\regfile.r eg
See this article on the changes to REG.exe through vista/7 and 64bit operating systems.
http://support.microsoft.com/kb/948698
Example...
xcopy "\\server\shared$\reg.exe"
reg import \\server\shared$\regfile.r
See this article on the changes to REG.exe through vista/7 and 64bit operating systems.
http://support.microsoft.com/kb/948698
ASKER
tmassa99,
Will that prompt them to import when the computer starts up?
Will that prompt them to import when the computer starts up?
tmassa99....
You beat me to it man !...lol
You beat me to it man !...lol
It should not prompt...
You may need to use the /reg:64 switch on 64 bit systems though.
It may throw an error if you don't and it's need or if you do and it's not....
Maybe there an environment variable in 7 to determine this ?
You may need to use the /reg:64 switch on 64 bit systems though.
It may throw an error if you don't and it's need or if you do and it's not....
Maybe there an environment variable in 7 to determine this ?
ASKER
So in Group Policy Managment Editor would I put this login script under which one:
Environment
Files
Shortcuts
?
Environment
Files
Shortcuts
?
None of those...it goes under Computer Configuration\Windows Settings\Scripts\Startup
It should not prompt, but you'll certainly want to test on a single computer by adding only that computer you're testing on to the policy SCOPE
It should not prompt, but you'll certainly want to test on a single computer by adding only that computer you're testing on to the policy SCOPE
See here how to add a script to a STARTUP script policy. Your script will be a simple batch (BAT) file, and not a vbscript, but the rest is basically the same.
https://www.experts-exchange.com/questions/26964965/How-to-write-a-script-and-run-it-on-Group-Policy.html
https://www.experts-exchange.com/questions/26964965/How-to-write-a-script-and-run-it-on-Group-Policy.html
ASKER
Did you mean Computer Configuration -> Policies -> Windows Settings -> Scripts (Startup/Shutdown) ?
ASKER
According to what I am reading
reg import \\share\ssss.reg <- This would only work for 32 bit
reg import \\share\ssss.reg /reg:64 <- This would only work for 64 bit systems only correct
I have both 32 bit and 64 bit computer inside of our network how would you suggest that I make this work the simplest way.
reg import \\share\ssss.reg <- This would only work for 32 bit
reg import \\share\ssss.reg /reg:64 <- This would only work for 64 bit systems only correct
I have both 32 bit and 64 bit computer inside of our network how would you suggest that I make this work the simplest way.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Once I put this in GPO how can I force every computer in the network to update it's GPO?
http://blog.stepneymarsh.com/2010/02/group-policy-preferences-options.html
Also see my screenshot here https://www.experts-exchange.com/questions/26529363/How-to-modify-a-registry-key-value-using-GPO.html?anchorAnswerId=33857557#a33857557
Thanks
Mike