Solved

Server 2003 gpo adding registry.reg

Posted on 2007-11-27
4
608 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
  • 2
4 Comments
 
LVL 30

Expert Comment

by:LauraEHunterMVP
Comment Utility
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
Comment Utility
0
 

Author Comment

by:Vosict
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Do you have users whose passwords are expiring and they are constantly calling you?  Well I sure did and needed a way to put an end to this.  We have a lot of remote users which would not be notified that their passwords were expiring since they wer…
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 join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

763 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

7 Experts available now in Live!

Get 1:1 Help Now