Scott Hanselman

FIXED: Blue Screen of Death (BSOD) 7E in HIDCLASS.SYS while installing Windows 7

June 8, '14 Comments [21] Posted in Bugs
Sponsored By

I was doing tech support for a friend this weekend. He was paving an old HP Envy laptop (although this happens on some Dell Inspirons as well) and was getting a blue screen in the middle of install. Then, of course, if you're not looking at it you'll just reboot and drop back into setup and get the "the computer restarted unexpectedly or encountered an unexpected error." At this point he was in a setup loop.


"HIDCLASS.SYS" is the driver that failed. HID means Human Interface Device, and that means "keyboards or mice" for the most part.


Errors in HIDCLASS.SYS, especially during setup, almost always means that there's trouble with an attached keyboard or attached mouse. I asked my buddy if he had a mouse attached and he did. He removed the mouse, and started setup over again. Setup succeeded. Then, he spent about an hour (and several reboots) getting Windows 7 "gold" (which was released in July of 2009, almost 5 years ago) up to date with patches, service pack 1, and the latest drivers. Then he was able to attach his mouse and it works fine.

Sponsor: Big thanks to Mindscape for joining us and sponsoring the blog feed this week! I discovered and started using it for my side project and I LOVE it. Get notified of your software’s bugs as they happen! has error tracking solutions for every major programming language and platform - Start a free trial in under a minute!

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by ORCS Web
Sunday, June 08, 2014 1:51:58 PM UTC
Ha - Sometimes its the simple things!

Had the same thing but with a USB hard drive once.
Sunday, June 08, 2014 4:44:22 PM UTC
Which once again demonstrates the need for periodic cumulative service packs, plural. Or at the very least, a post-SP1 CU.
John Murphy
Monday, June 09, 2014 5:47:17 AM UTC
Microsoft have declined a call for an updated VB6 programming language.

Microsoft's Paul Yuknewicz stated "VB6 was and still is without a doubt awesome. VB6 made developers incredibly productive building a breadth of applications and as a result we have a wealth of applications and passionate developers to this day in 2014. "

Yuknewicz stated that is "not possible" to add the same modifications to the VB6 programming language that they have already added to VBA.

They have also announced that it is "not feasible" to open source VB6.

Yuknewicz admitted VB6 will continue to be supported by Microsoft until at least 2024.
Monday, June 09, 2014 5:49:36 AM UTC
The call for an updated VB6 programming language, and Microsoft's refusal, is at:
Monday, June 09, 2014 8:09:10 AM UTC
After a lot of misleading articles I found your site and now my issue is solved. Thanks for detail information.
Monday, June 09, 2014 8:15:01 AM UTC
Hmm!! Good one!!
Whats with this VB6 comments here???
Monday, June 09, 2014 11:58:05 AM UTC
Great article aimed at solving a specific problem (which I've had at least 4 times in the past). As for the VB6 programming troll.. lets just ignore it.
Krystan Honour
Thursday, June 12, 2014 11:47:30 AM UTC
Thanks Scott. We had a 5yo Dell Precision stuck in the installation loop that you have described. Unplugged the mouse as suggested and it finally worked! Could have bought a new server with the amount of time we wasted.
Thursday, June 26, 2014 10:56:28 PM UTC
Hello Scott,

I had the same kind of problem with hidclass.sys on my wife's Asus eeePC. But there were no external keyboard or mouse connected. I have turned off USB in BIOS setup and it worked. After successful installation I have turned on USB and everything works fine.
Thursday, July 03, 2014 11:49:31 PM UTC
Howdy just wanted to give you a quick heads up. The words in your content
seem to be running off the screen in Firefox. I'm not sure if this is a format issue or something to
do with web browser compatibility but I thought I'd post to let you know.

The design look great though! Hope you get the issue resolved soon. Many thanks
Friday, July 04, 2014 4:53:32 AM UTC
I'm amazed, I have to admit. Seldom do I come across a blog that's equally educative and amusing, and without a doubt, you have hit the nail on the head.
The issue is something that not enough men and women are
speaking intelligently about. Now i'm very happy I found this during my hunt for something relating to this.
Friday, July 04, 2014 5:22:42 AM UTC
Every weekend i used to visit this web page,because i want enjoyment, for
the reason that this this website conations in fact fastidious funny material too.
Friday, July 11, 2014 9:29:06 AM UTC
Wendy O table tennis video Williams is best-known as lead
singer of the punk band the Plasmatics. It is alright if a shot brushes the net and falls
out of the known physical advantages such as tallness and muscle volume.
Sunday, July 13, 2014 9:53:25 PM UTC
chromium polynicotinate dosage
Monday, July 21, 2014 9:32:08 PM UTC
Hmm it seems like your site ate my first comment (it was extremely long) so I guess I'll just sum it up
what Isubmitted and say, I'm thoroughly enjoying your blog.
I as well am an aspiring blog writer but I'm still new to everything.
Do you have any helpful hints for rookie blog writers? I'd
certainly appreciate it.
Monday, July 21, 2014 10:07:52 PM UTC
We stumbled over here from a different page and thought
I should check things out. I like what I see so now i'm following you.
Look forward to checking out your web page yet again.
Tuesday, July 22, 2014 12:48:46 AM UTC
Your style is unique compared to other people I've read stuff from.
Thanks for posting when you've got the opportunity,
Guess I will just book mark this site.
Friday, July 25, 2014 2:14:23 PM UTC
It's genuinely very complex in this active life to listen newas on Television, thus
I simply use world wide web for that reason, and obtain the newest information.
Friday, July 25, 2014 2:53:11 PM UTC
My family members every time say that I am wasting my time here at net,
however I know I am getting experience everyday by reading thes good articles
or reviews.
Saturday, July 26, 2014 2:56:18 AM UTC
Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point.

You definitely know what youre talking about, why waste your intelligence on just posting videos
to your blog when you could be giving us something enlightening
to read?
Tuesday, July 29, 2014 4:29:46 AM UTC
Nice blog here!Also your site loads up fast!

What host are you using? Can I get your affiliate
link to your host? I wish my webb site loaded up as quickly as yours lol
E-mail (will show your gravatar icon)
Home page
Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, li, ol, pre, strike, strong, sub, super, u, ul) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.
Live Comment Preview

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.