Solved

regedit not working in login script

Posted on 2010-08-24
4
892 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
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…

710 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