Home
Join
check
  •  To delete a registry key with a .reg file, put a hyphen (-) in front of the KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider

    example

    -HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider

    Spice (2) flagReport
    1 found this helpful thumb_up thumb_down
  • View Best Answer in replies below

    4 Replies

    • Text
      To delete a registry key with a .reg file, put a hyphen (-) in front of the RegistryPath in the .reg file. For example, to delete the Test subkey from the following registry key:
      HKEY_LOCAL_MACHINE\Software
      put a hyphen in front of the following registry key in the .reg file:
      HKEY_LOCAL_MACHINE\Software\Test
      The following example has a .reg file that can perform this task.
      [
      -HKEY_LOCAL_MACHINE\Software\Test
      ]
      To delete a registry value with a .reg file, put a hyphen (-) after the equals sign following the DataItemName in the .reg file. For example, to delete the TestValue registry value from the following registry key:
      HKEY_LOCAL_MACHINE\Software\Test
      put a hyphen after the "TestValue"= in the .reg file. The following example has a .reg file that can perform this task.
      HKEY_LOCAL_MACHINE\Software\Test
      
      "TestValue"=-
      
      To create the .reg file, use Regedit.exe to export the registry key that you want to delete, and then use Notepad to edit the .reg file and insert the hyphen. 
      


      ¯\_(ツ)_/¯

      Spice (5) flagReport
      Was this post helpful? thumb_up thumb_down
    •  To delete a registry key with a .reg file, put a hyphen (-) in front of the KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider

      example

      -HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider

      Spice (2) flagReport
      1 found this helpful thumb_up thumb_down
    • You don't need to create another registry key to delete one. You just need to run a batch file. The thread below has a few examples on how to do this.

      http://superuser.com/questions/380156/delete-registry-key-or-value-via-a-cmd-script

      Was this post helpful? thumb_up thumb_down
    • Never-mind, I figured it out

      It would be:

      Windows Registry Editor Version 5.00

      [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider]

      Was this post helpful? thumb_up thumb_down

    Read these next...

    • Where do you buy used tech from?

      Where do you buy used tech from?

      Hardware

      I know about Ebay, Craigslist, etc... and those are OK but generally I've noticed better pricing when you can find the more fringe hole-in-the-wall types of online marketplaces. Bartering spots like /r/homelabsales or even LTT's forum have been solid - es...

    • Wipe all printers

      Wipe all printers

      Windows

      Hey guys,I've got a client that needs printers deployed properly and am in need of a script or program or something to wipe all existing printers from all profiles on all computers. Easy, right? I can use Print Management to remove locally installed print...

    • IT - Trade or Profession?

      IT - Trade or Profession?

      IT & Tech Careers

      A while ago (wow, 4yrs now) I posted a topic questioning the validity of the term "computer science". Many of you have gone through some formal academic training to be where you are now. Many of you have achieved success without such formalities and start...

    • Snap! Shikitega, IHG breach, Zyxel NAS firmware updates, hackers fav games, etc.

      Snap! Shikitega, IHG breach, Zyxel NAS firmware updates, hackers fav games, etc.

      Spiceworks Originals

      Your daily dose of tech news, in brief. Who here remembers the ILLIAC IV Supercomputer? I will admit, I did not, but it was the first large-scale array computer that was initially a grand experiment that revolutionized architecture in parallelism a...

    • Software to project-manage build and deployment process

      Software to project-manage build and deployment process

      Software

      Hi all,My company manages imaging and deployment of new/refresh laptops on behalf of our clients.  We basically take in new-in-box laptops, image them with a custom image, gather the peripherals required by the end-user, and ship them to the customer ...