Question

  Asked: Apr 22 2008   4:38 PM GMT
  Asked by: WinIT ATE


How can I create a registry script file that I can distribute through Group Policy?


Group Policy, Windows registry, Scripting, Windows scripting, Registry

How can I create a registry script file that I can distribute through Group Policy? I want this registry key to be added using GP.

I want the script to:
reg add HKCUSoftwareMicrosoftOffice11.0WordOptions /v NoReReg /t REG_DWORD /d 1


If I saved this as a reg document and try to run it, I get Can not import ...The specified file is not a registry script.

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



Hi,

u can add this registry throgh GP by using .BAT file as a login script. And ensure that u assign this login script in users section.

U need to create a *.BAT file as below
REG ADD HKCU\Software\MicrosoftOffice11.0\WordOptions /v NoReReg /t REG_DWORD /d 1 /f

I have tested this in my test environment and it worked well... hope this will work for u as well..

If u need more info let me know...

Thanks
Vlvpk
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Microsoft Windows.

Looking for relevant Microsoft Windows Whitepapers? Visit the SearchWinIT.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register