Bloated Registry Key - Very Slow Login

Server 2008 R2 64bit

hello!  My server, upon reboot, is taking a horrendously long time to login.  MS 3rd party techs found registry keys has over 12,100 entries.  
 It happens to be in ControlSet001, 002, 003.  

How do I truncate it or get rid of the superfluous entries?  There should be only a dozen or so.  The key is :



There are over 12318 entries numbered sequentially and continues to grow.  How do I find whats causing it, and how do I truncate this so it doesn't have all the 12318 entries?  Can I get rid of all the duplicate entries except the first?  Except the last?

This also appears in CCS002 and 003.

Any ideas?
Lorenzo CricchioPresidentAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ITSysTechSenior Systems AdministratorCommented:
You should try running ccleaner on your server. You can download the free version and run Registry Cleaner after you back up your server. Windows Server 2008 and 2008 R2 is supported. Link If your nervous about it than run "Scan for Issues" then get back to us what it found.

Lorenzo CricchioPresidentAuthor Commented:
Thanks for getting back to me.  I ran this a few days back.  The cleaner picked up some other items, but not that.

I did the following:
   * opened the SYSTEM hive on another computer. exported to a DAT file which made it only slightly smaller (186 MB) than the original
  * Replaced SYSTEM (old) with SYSTEM (new) and got the same result.
  * Exported that key to a .REG file.  Edited with Notepad, Removed All extra instances and leaving only instance 1 and 9999 (which was the last instance physically in the key. Closer examination revealed 12318 was the highest value in the key.  )  But with the 1 and 9999 I and then importing the edited .REG file, the system hung with the thermostat (no windows logo).  let it run for a while and figured it may take some time so waited about 15 min.  No result.  Didn't freeze, just hung.  With that, reverted back to original SYSTEM file.  Came back up with horrendously long log in, ultimately coming up OK.  
 * I also realized the 12318 entries were also in the CCS 002 and which were all exported and edited the same way.
 * Each entry has a deviceinstance and a symboliclink attached to it.
  * this specific entry  {53f5630e-b6bf-11d0-94f2-00a0c91efb8b} refers to a removable drive.  They do have a IOSafe USB hard drive connected.  I think as well as a USB 3.5 Floppy.  Unsure which specifically its referencing.  And I didn't think to disconnect both  before booting.
   So, how do I get rid of those entries to the point where they are not causing the system to take so long to boot?  Do I empty out the entries in CCS 002 also?  Where do I cut it?  See attached files
ITSysTechSenior Systems AdministratorCommented:
If you download devcon.exe from Microsoft, you can remove them with a simple command at the command prompt. I haven't used it for a while but I do know you need to run the cmd as admin before executing commands.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lorenzo CricchioPresidentAuthor Commented:

Remove what?  Where do I do the edit?  What do I keep?  Get rid of?  do I edit the CCS002 also?
ITSysTechSenior Systems AdministratorCommented:
inactive for 14 days
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.