Solved

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

Posted on 2014-11-30
2
483 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
2 Comments
 
LVL 24

Accepted Solution

by:
VB ITS earned 500 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 7

Author Closing Comment

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

828 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