Windows XP Tips, Tricks, Settings and more ...

MCSE Training Courses / Cisco Training Courses

Home/   Desktop/   Email/   Internet Explorer/   MSDos/   Networking/   Printer/   Registry/   
Training/   Windows 2000/   Windows 98/   Windows ME/   Windows NT 4.0/   Windows Vista/   Windows XP/

Automatically Deleting a Registry Key

In Category: Registry

Normally you cannot automatically delete registry keys from reg file. But there is a way...

Simply include a minus sign inside the left bracket before the main key.

For example.
If you want to delete the key HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Office \ 8.0 \ Common \ Assistants, your regfile would simply look like:


REGEDIT4

[-HKEY_LOCAL_MACHINE\Software\Microsoft\Office\8.0\Common\Assistants]

This would delete that key and any below it.

 
 

FREE Learn English - Food
Speak English - Drinks
Windows Training

Top Articles:

Accounting Software Review
Dedicated Servers
Backup Software
Unix Training
VMWare
Role of the Helpdesk
Distance Learning

Top Training:

Office 2010 Training
C# Training
Windows 7 Training
Sage Line 50 Training
A+ Training
CCNA Training

© 2007-2011 - RCS Limited. Terms & Conditions