Solved

regedit not working in login script

Posted on 2010-08-24
4
886 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
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…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

760 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

24 Experts available now in Live!

Get 1:1 Help Now