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

  • Receiving Error 'ORA-01041: internal error. hostdef extension doesn't exist.' on re-establishing a connection to Oracle.
    You can receive the error message 'Error ORA-01041: internal error. hostdef extension doesn't exist' when attempting to re-esta...
  • 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
  • C Traps and Pitfalls (Addison Wesley, 1989, English)
    C Traps and Pitfalls teaches how the peculiarities of the C language make it easy for the intended behavior of a program and the actual beha...
  • Troubleshooting the Microsoft Exchange Transport Service When It Fails to Start on an Exchange 2007 Hub Transport Server with Event ID 1032 or 1036
    Event ID: 1032 Socket Access Denied. Binding: 0.0.0.0:25. Event ID: 1036 Failed to open one or more bindings. The service will be stopped....
  • Alcohol 120% v5 Blu-ray Burner Free Download with Registration Unlock Code
    Alcohol 120% is a CD and DVD burning, copying, backup, recording, duplication, emulation and creation software for Windows. In addition to c...
  • ORA-01991: invalid password file
    Oracle Version: 10gr1 OS: Windows 2003 Server In development db i was getting below error message during database startup in mount stage. SQ...
  • Working with Time Zones in the Exchange Web Services GetUserAvailability Operation
    Time zones can be tricky, as any developer who has tried to create a calendaring application for clients on opposite ends of the world can t...
  • SlySoft CloneDVD 2.9.1.6
    CloneDVD 2 copies movies to create unparalleled picture quality DVD backups, whether it’s the main title you’re copying or the complete DVD....
  • Free Download PDF Password Remover 1.5.2 with Crack
      Wondershare PDF Password Remover software is perfect tool for removing the password restrictions of PDF files. PDF files are typically com...

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