del registry key

  • Thread starter Thread starter b0ws3r
  • Start date Start date
B

b0ws3r

g'day
just wondering if there is anyway to delete a registry key(s) from the
command prompt?

thanks
 
In said:
and what might they be?

Sorry. I could not resist answering the actual question.

* reg.exe (from the W2K/XP "Support Tools". Support Tools are free
and downloadable from MS by Service Pack level. Example:
http://www.microsoft.com/windows2000/downloads/servicepacks/SP4/supporttools.asp

* regedit.exe using a "merge" function interactively or with syntax
regedit /s <path>\regfile.REG
Where regfile.REG is a Regedit format text file (REGEDIT4 or 5)
and the special usage syntax ("remove/delete") is summarized as

Remove KEY:
[-HKEY_CLASSES_ROOT\.zzz]

Remove VALUE:
[HKEY_CLASSES_ROOT\.zzz]
"InfoTip"=-

Does not work for a ("Default") valuename. Use:
@=-

* Various scripting tools/languages often include registry functions and can
run from the commanline.

* Other 3rd-party tools may be available.

[Full registry backup in advance advisory here]
 
thanks for the info
Mark V said:
and what might they be?

Sorry. I could not resist answering the actual question.

* reg.exe (from the W2K/XP "Support Tools". Support Tools are free
and downloadable from MS by Service Pack level. Example:
http://www.microsoft.com/windows2000/downloads/servicepacks/SP4/supporttools.asp

* regedit.exe using a "merge" function interactively or with syntax
regedit /s <path>\regfile.REG
Where regfile.REG is a Regedit format text file (REGEDIT4 or 5)
and the special usage syntax ("remove/delete") is summarized as

Remove KEY:
[-HKEY_CLASSES_ROOT\.zzz]

Remove VALUE:
[HKEY_CLASSES_ROOT\.zzz]
"InfoTip"=-

Does not work for a ("Default") valuename. Use:
@=-

* Various scripting tools/languages often include registry functions and can
run from the commanline.

* Other 3rd-party tools may be available.

[Full registry backup in advance advisory here]
 
Back
Top