Solved

regedit not working in login script

Posted on 2010-08-24
4
888 Views
Last Modified: 2012-05-10
I've created a login script running on a windows 2008 domain controller.  The script uses msiexec to install an msi file and also imports a registry file that's copied to their root c drive using regedit /s.  The script runs against an ou containing users that have local administrative rights.  When the users log on, the msi file installs on the user's computer, but the registry file does not get imported.  When I manually click on the batch file under a user's account, the registry file imports.
0
Comment
Question by:akyuen
  • 2
  • 2
4 Comments
 
LVL 8

Expert Comment

by:SGrossmann
ID: 33513304
I'd suggest to use GPPYou need to install GPP extention for XP if not already done:http://support.microsoft.com/kb/943729/en-usAnd apply the registry setting by GPP (Guide for HKLM but this works for HKCU as well if you configure within User Config)http://www.windowsitpro.com/article/registry2/q-is-there-an-easy-way-to-change-a-registry-setting-on-specific-servers-.aspx
0
 

Author Comment

by:akyuen
ID: 33517000
Thanks SGrossmann for your input.  I tried using GPP and used the registry wizard to input the values that I'd like to change on the client computers; however, when I ran rsop.msc on one of the client computers, it doesn't show the registry changes from the GPO.  It does, however, show other options from GPP that I've modified, such as restricted users.  Any ideas? Thanks.
0
 
LVL 8

Accepted Solution

by:
SGrossmann earned 500 total points
ID: 33518999
Where did you run the rsop? on clients it does not display GPP at all, you need to run the result set out of the gpmc console.
http://infraguy.wordpress.com/2008/07/14/group-policy-preferences-and-rsop/

The easiest way to check if the settings are applied is to look into the registry if the settings are configured.
0
 

Author Comment

by:akyuen
ID: 33664414
The GPO wasn't pushed out to the clients, but I found a workaround to it.  Thanks!
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now