registry key permissions in Windows XP

40 pts.
Tags:
Microsoft Windows XP
Registry Key
Windows Permissions
Windows XP SP3
hello i have to add a permissions to registry key in 100 systems can i do it through a batch file ....... please let me know

Answer Wiki

Thanks. We'll let you know when a new response is added.

You can use two methods from the command line to manage rights on registry keys.

Method one is to use the regini.exe tool in a command script. The regini.exe command takes a text file with the settings to apply and sets the registry permissions. The format of the text file is quite archaic. I usually manually set what I want and export the settings with regini, clean up the generated file and use that to deploy the settings.

Method two is using a VBScript to set the registry permission. I am not a VBScripter so someone writes VBScript can address how-to. There is also the Hey Scripting Guy resource on Microsoft’s web site with some VBScripting help.

A major consideration for performing this is that user hives are difficult to mange remotely so you may want to deploy the script to the target systems and run locally.

KBs on using REGINI.EXE

http://support.microsoft.com/kb/245031

http://support.microsoft.com/kb/237607

Another potential method would be to use PowerShell if you have that deployed.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following