REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\Setup] "SetupType"=dword:00000000 "CmdLine"="setup -newsetup" "SystemPrefix"=hex:c5,0b,00,00,00,40,36,02
The layout is quite simple, REGEDIT4 indicated the file type and version, [HKEY_LOCAL_MACHINE\SYSTEM\Setup] indicated the key the values are from, "SetupType"=dword:00000000 are the values themselves the portion after the "=" will vary depending on the type of value they are; DWORD, String or Binary.
So by simply editing this file to make the changes you want, it can then be easily distributed and all that need to be done is to double-click, or choose "Import" from the Registry menu, for the settings to be added to the system Registry.
Deleting keys or values using a REG file
The format used to delete individual values is similar, but instead of a minus sign in front of the whole key, place it after the equal sign of the value. For example, to delete the value "SetupType" the file would look like:
REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\Setup] "SetupType"=-
Use this feature with care, as deleting the wrong key or value could cause major problems within the registry, so remember to always make a backup first.
Regedit Command Line Options
PC Tools, the PC Tools logo and Spyware Doctor are either trademarks or registered trademarks of PC Tools Technology Pty Ltd. Microsoft, Windows, Windows Vista, the Windows logo and / or other Microsoft products referenced are either registered trademarks or trademarks of Microsoft Corporation in the United States and / or other countries.
|More Guides »||Registry Guide||Security Guide||Support Forums||Software Guide||Scripting Guide||Search|