Solved

regedit not working in login script

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
windows 7 login times take 30 minutes with AD 8 46
Mysterious disks wanting to be formatted 6 37
WMIC Command LIne 5 26
Why does my public IP keep changing? 6 62
This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
OfficeMate Freezes on login or does not load after login credentials are input.
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…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

813 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

15 Experts available now in Live!

Get 1:1 Help Now