We help IT Professionals succeed at work.

Forcing Registry to be imported into computers across my AD Network

464 Views
Last Modified: 2012-05-11
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?
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2013

Commented:
You can use group policy preferences to deploy registry settings, more on that here

http://blog.stepneymarsh.com/2010/02/group-policy-preferences-options.html

Also see my screenshot here  https://www.experts-exchange.com/Software/Server_Software/File_Servers/Active_Directory/Q_26529363.html#a33857557

Thanks

Mike
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Ron MalmsteadInformation Services Manager
CERTIFIED EXPERT

Commented:
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

Author

Commented:
tmassa99,

Will that prompt them to import when the computer starts up?
Ron MalmsteadInformation Services Manager
CERTIFIED EXPERT

Commented:
tmassa99....

You beat me to it man !...lol
Ron MalmsteadInformation Services Manager
CERTIFIED EXPERT

Commented:
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 ?

Author

Commented:
So in Group Policy Managment Editor would I put this login script under which one:

Environment
Files
Shortcuts

?
CERTIFIED EXPERT

Commented:
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
CERTIFIED EXPERT

Commented:
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/OS/Microsoft_Operating_Systems/MS_DOS/Q_26964965.html

Author

Commented:
Did you mean Computer Configuration -> Policies -> Windows Settings -> Scripts (Startup/Shutdown) ?

Author

Commented:
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.
Ron MalmsteadInformation Services Manager
CERTIFIED EXPERT

Commented:
Information Services Manager
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Once I put this in GPO how can I force every computer in the network to update it's GPO?
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.