Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

regedit not working in login script

Posted on 2010-08-24
4
Medium Priority
?
895 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 2000 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

688 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