Solved

Server 2003 gpo adding registry.reg

Posted on 2007-11-27
4
657 Views
Last Modified: 2012-06-27
We want to add several registry settings with gpo.
what is the best way to do this ?
making a bat file that says start registry -s "\\server\netlogon\reg.reg"   ??
when i execute the bat file on the local pc it adds the registry, no problems.

when i logon to the test pc i see that the  script wants to run and with gpresult i see the policy is executed. but nothing is added in the registry.

0
Comment
Question by:Vosict
[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
4 Comments
 
LVL 30

Expert Comment

by:LauraEHunterMVP
ID: 20358345
Are you assigning this script as a login script or as a startup script?  Do your users have local administrator rights on their workstations?

If your users do not have local admin rights, you will need to assign the script as a startup script on the computer objects in question, as startup scripts run in the security context of LocalSystem.
0
 
LVL 31

Expert Comment

by:merowinger
ID: 20358364
0
 

Author Comment

by:Vosict
ID: 20358390
It runs on the computer object. and the user do not have admin rights on there pc`s

in the policy what must be filled in what is the best way.
on the script name: and script parameter: fields?

in the script name is it enough just to fill in tha path to the .bat file ??

0
 
LVL 31

Accepted Solution

by:
merowinger earned 125 total points
ID: 20358437
There's exists a cool Tool which makes that much more easier!

1. Download the nuts.exe this collection includs a tool named RegToAdm.exe
2. Export the Registry Keys which u want to set
3. Post the content of the .reg file into the RegToAdm.exe and convert it to .adm "code"
4. Save the code into a .adm file
5. In your Group Policy add the Adm file on the user settings and configure it
6. I think this do the job

Try this first on a test enviornment!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

627 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