Windows Support Tools

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 20 July 2009

How to Remove or Delete a Registry Key, Subkey and Values with .reg Registration Entries File

Posted on 20:58 by Unknown
Registry registration entries file, which ends in .reg file extension is an useful script that can automate import and merging of registry keys and value data inside the file to system registry, especially in unattended mode. Most Windows operating system has built-in handler that automatically handle and process a file with .reg extension by using RegEdit.exe, a GUI tool which also support command-line interface to search or edit the Windows registry.

Guide to Remove and Delete Registry Entries, Keys, Subkeys or Values via .reg Registration Entries File

To remove and delete a registry key (entire registry tree branch and its sub-keys) with a .reg file, just add a hyphen (- or also known as minus) in front of the registry path (registry tree branch name) in the .reg file.

For example, a typical .reg file has the following syntax:

RegistryEditorVersion

[RegistryPath]
“DataItemName”=”DataType:DataValue”

Actual .reg file content example:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\My Digital Life]
“MDL”=dword:00000001

To delete the whole registry key (i.e. HKEY_CURRENT_USER\Software\My Digital Life) and its whole subkeys and value data, just add a hyphen in front. For example:

[-HKEY_CURRENT_USER\Software\My Digital Life]

To delete a specific or individual registry value with a .reg file, put a hyphen or minus (-) after the equal sign (=) following the DataItemName in the .reg file, replacing DataType:DataValue. For example, to delete the MDL registry value from above example, put a hyphen after the “MDL”= in the .reg file:

[HKEY_CURRENT_USER\Software\My Digital Life]
“MDL”=-

All editing of .reg file can be done with any text editor such as Notepad.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • What is Cloud Computing ?
  • Setting up a DHCP server in Windows 2003
    The DHCP server assigns a client an IP address taken from a predefined scope for a given amount of time. If an IP address is required for lo...
  • Cartoons of the Week
  • Manage your home network better with Network Magic 5.0
    Cisco announced on Thursday Network Magic 5.0, a suite of network management software. This is is the first product released by Cisco since ...
  • Google Sinks Cash into Undersea Cable
    Google has joined the Unity consortium, which will build a $300 million fiber optic cable linking the US and Japan. The 7.68 Tbps, 10,000 ki...
  • Battle Progress Map
  • Exchange Server 2010 Beta available
    Microsoft Exchange Server 2010 brings a new and rich set of technologies, features, and services to the Exchange Server product line. This t...
  • Nambara Sanda Wage
  • Complete Wireless Design (McGraw-Hill, 2008, English)
    ON THE CD-ROM *PUFF RF/Microwave circuit simulation software *Sonnet Lite electromagnetic simulation software *National's PLL Design Pro...
  • Keyshia Cole - Just Like You (2007)
    1- Let It Go feat Missy Elliot and Lil Kim [03:58] 02- Didn't I Tell You feat Too Short [03:52] 03- Fallin Out [04:27] 04- Give Me More ...

Categories

  • ISA Firewall
  • ISA Server 2006
  • Quick Tips
  • Reports
  • Tips

Blog Archive

  • ►  2013 (7)
    • ►  October (6)
    • ►  February (1)
  • ►  2012 (10)
    • ►  September (3)
    • ►  August (3)
    • ►  July (3)
    • ►  June (1)
  • ►  2011 (16)
    • ►  August (2)
    • ►  July (4)
    • ►  June (3)
    • ►  May (1)
    • ►  April (1)
    • ►  March (4)
    • ►  January (1)
  • ►  2010 (12)
    • ►  December (3)
    • ►  October (4)
    • ►  March (1)
    • ►  January (4)
  • ▼  2009 (67)
    • ►  August (2)
    • ▼  July (18)
      • Microsoft Plans Motion Sensing Natal Technology fo...
      • Jade Property Suite 6 Real Estate Software Free Fu...
      • Google helps you keep your Gmail account protected
      • Does 6figurejobs.com really work?
      • ManiGear eX-L 18 (Claimed As World’s Most Powerful...
      • Bill Gates Message for the Year of English & IT in...
      • Kingston's new DataTraveler® 300
      • How to Remove or Delete a Registry Key, Subkey and...
      • free Hyper-V training
      • Grow your business with confidence: Microsoft Dyna...
      • Windows 7 Pre-Order Offer - It's pretty simple.
      • MCTS Self-Paced Training Kit (Exam 70-652): Config...
      • Nadee Ganga
      • Jobs Matchmaker Presentation
      • Google Voice invites on their way
      • What is Cloud Computing ?
      • Explaining Cloud Computing
      • Even IT People Don't Know What Cloud Computing Is:...
    • ►  June (23)
    • ►  April (3)
    • ►  March (6)
    • ►  February (7)
    • ►  January (8)
  • ►  2008 (319)
    • ►  December (30)
    • ►  November (43)
    • ►  October (45)
    • ►  September (12)
    • ►  August (18)
    • ►  July (27)
    • ►  June (15)
    • ►  May (7)
    • ►  April (55)
    • ►  March (65)
    • ►  January (2)
  • ►  2007 (10)
    • ►  December (2)
    • ►  November (8)
Powered by Blogger.

About Me

Unknown
View my complete profile