Reply To: script to change registry value

#14238
ConfGen
Keymaster
  • Total Post: 11340
  • Jedi Master
  • ★★★★★★★

Hi,

this is an easy one.
Save the registry hive you have modified as a standard .reg file.
Create a .rsp file (which is a simple text file) and edit it.
Copy and paste this or a similar text in it:

[Version]
Number=ChangeTimeServer
Description=Change the local time server to the new DC
OS=XP
Category=XP Addons

[Script]
CO “XP”
QU “2” “5”
LU*
MR “regfilestimeserver.reg”
EL*

Now save this file as “ChangeTimeServer.rsp” and create a folder at the same level called “ChangeTimeServer”. Create a subfolder beneath “ChangeTimeServer” called “regfiles”. Save your earlier created regfile as “timeserver.reg” there.
Open WDM and register this new package.

Now you are ready to distribute it.

Cheers
CG