Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to quickly delete large chunks of unused Registry entries from Windows Terminal Server 2003 R2 ?

Posted on 2014-11-30
2
Medium Priority
?
576 Views
Last Modified: 2014-12-02
Hi People,

I got very annoying problem where people having very long wait to be able to login to the old legacy Windows Server 2003 R2 terminal server (which was converted from physical to Virtual).

under normal circumstances, it took more than 30 minutes to login to the point that I must reboot the server daily overnight to kick off some user old session.

My culprit based on this article: http://itinfrasol.blogspot.com.au/2012/06/users-are-facing-delay-in-logging-in-to.html

is to delete the following registry entries:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Hewlett-Packard
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\RefHive\Hewlett-Packard
HKU\.DEFAULT\Software\Hewlett-Packard

Open in new window


but somehow there is one very big registry entries which takes about 1.5 GB+ when exported as .REG file before i remove the registry.

so my question is that how can I safely and quickly delete the following old printers registry entry:

HKU\.DEFAULT\Software\SHARP

which is always crashing the regedit software when I tried to delete the entryy from the top location even from Safe mode ?
going manually one by one to each subkeys is way to ridiculous and time consuming.

Any help and suggestion to delete the large excessive registry entries would be greatly appreciated.
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 24

Accepted Solution

by:
VB ITS earned 2000 total points
ID: 40473621
How often do you need to remove this registry entry?

You can try exporting the key to a .reg file then modify it so it removes the key when you double click on it.

e.g. if I export the [HKEY_USERS\.DEFAULT\Software\Sharp] from the registry to the Desktop, I would see this when I edit it in Notepad:
Windows Registry Editor Version 5.00

[HKEY_USERS\.DEFAULT\Software\Sharp]
"Test"="Value"

Open in new window


Now just modify Line 3 and add a minus symbol between the open square bracket and the word HKEY, with the resulting line looking like this:
[-HKEY_USERS\.DEFAULT\Software\Sharp]

Open in new window

Save the file then double click on it, it will automatically remove the SHARP key for you without having to open the Registry Editor.
0
 
LVL 8

Author Closing Comment

by:Senior IT System Engineer
ID: 40475641
Thanks !
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question