Link to home
Start Free TrialLog in
Avatar of Peter Wilcox
Peter WilcoxFlag for United States of America

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?
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

SOLUTION
Avatar of Tony Massa
Tony Massa
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.reg


See this article on the changes to REG.exe through vista/7 and 64bit operating systems.
http://support.microsoft.com/kb/948698
Avatar of Peter Wilcox

ASKER

tmassa99,

Will that prompt them to import when the computer starts up?
tmassa99....

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 ?
So in Group Policy Managment Editor would I put this login script under which one:

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
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
Did you mean Computer Configuration -> Policies -> Windows Settings -> Scripts (Startup/Shutdown) ?
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.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Once I put this in GPO how can I force every computer in the network to update it's GPO?