Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows 7 restarts after hibernation

21 Apr 2012   #11
cluberti

Windows 10 Pro x64
 
 

I did get a trace, and the machine sleeps (according to the trace) for less than one second - at 4.8 seconds into the trace, there's a sleep notification, and then at ~5.7 seconds there's wake activity. However, driver notification doesn't happen until about 56 seconds into the trace, and the CPUs are idle for that whole time (basically - a few ms at the beginning of activity on CPU 0, which is scheduling activity). I also see the last device slept before the long delay is the USB root bus driver, and Symantec's nsiproxy.sys driver. The machine does indeed wake due to this bus coming online:
"\Driver\umbus"
"\Driver\umbus"
"UMB\UMB\1&841921d&0&PrinterBusEnumerator"
"UMB\UMB\1&841921d&0&IPBusEnumRoot"

Note that the Symantec driver, even though the machine is totally "awake" at ~7 seconds into the trace, completely blocks all service activity until ~56seconds into the trace, so you might want to consider that as part of the problem (it is). Ultimately, however, the question really is, what do you have attached to the USB bus on this machine? This is actually possible to be a BIOS/hardware issue (Windows 7 is a lot more touchy about USB hardware, specifically, than XP or Vista was), but it could be a device plugged in as well.


My System SpecsSystem Spec
.
21 Apr 2012   #12
gregrocker

 

I would uninstall $ymantec crapware and use Microsoft Security Essentials with the Win7 Firewall.
My System SpecsSystem Spec
24 Apr 2012   #13
windowsuser7

Windows 7 Pro 32bit
 
 

Thank you for your help in reading my trace. I'm a little confused about Symantec's nsiproxy.sys driver as I've never had any Symantec software on this computer at any time. I ran a search in the registry for symantec and came up with nothing. When I did a search for nsiproxy.sys I found entries in the following locations:


HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\x86_microsoft-windows-usermodensi_31bf3856ad364e35_6.1.7600.16385_none_7238790328c77613\f!nsiproxy.sys


HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\VersionedIndex\6.1.7601.17592 (win7sp1_gdr.110408-1631)\ComponentFamilies\x86_microsoft-windows-usermodensi_31bf3856ad364e35_none_2b06ddd33993a118\f256!nsiproxy.sys


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\nsiproxy.sys


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_NSIPROXY\0000\DeviceDesc "@%SystemRoot%\system32\drivers\nsiproxy.sys,-2"


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\nsi\Description "@%SystemRoot%\system32\nsisvc.dll,-201" and \DisplayName "@%SystemRoot%\system32\nsisvc.dll,-200"


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\nsiproxy\Description "@%SystemRoot%\system32\drivers\nsiproxy.sys,-1" and \DisplayName "@%SystemRoot%\system32\drivers\nsiproxy.sys,-2" and \ImagePath "system32\drivers\nsiproxy.sys"


HKEY_USERS\.DEFAULT\Software\Classes\Local Settings\MuiCache\206\52C64B7E\@%SystemRoot%\system32\drivers\nsiproxy.sys,-2 "NSI proxy service driver."


HKEY_USERS\S-1-5-18\Software\Classes\Local Settings\MuiCache\206\52C64B7E\@%SystemRoot%\system32\drivers\nsiproxy.sys,-2 "NSI proxy service driver."


I'm not quite sure what to do about the nsiproxy.sys as it appears to be a part of windows. Any suggestions would be greatly appreciated. For USB devices I have an external hard drive, a connection an APC Battery Backup, a USB Hub and a few cables that currently aren't connected. One for another Hard drive and one for a Zune. Any cable that actually has a device on it causes the hibernate to restart. I've tried removing all USB devices and hibernation works. I can't tie it to a specific device because I can have any one device plugged in and hibernation will restart. I've checked the BIOS and under USB configuration I have these settings:


USB Function Enabled
Legacy USB Support Enabled
USB 2.0 Controller Enabled
USB 2.0 Controller Mode HiSpeed
BIOS EHCI Hand-Off Disabled


Could it just be coincidence that both my APC Battery and external hard drive have a BIOS compatibility issue? BTW, the Hard Drive is a laptop external enclosure. Rosewill is the brand.
My System SpecsSystem Spec
.

24 Apr 2012   #14
windowsuser7

Windows 7 Pro 32bit
 
 

Slight correction. The USB hub plugged in all by itself without anything plugged into it also triggers a restart. It's a logitech 4 port hub. So basically any active device causes a restart after hibernation.
My System SpecsSystem Spec
24 Apr 2012   #15
gregrocker

 

Was this a factory preinstall which might have come with Symantec even though it was never used. This corruption remains until there is a Clean Reinstall - Factory OEM Windows 7.

Have you checked the USB hub in Device Manager to see if there are any Power Options on any tab to adjust so that it will not wake the device?
My System SpecsSystem Spec
24 Apr 2012   #16
monkeylove

MS Windows 7 Home Premium 64-bit SP1
 
 

I had a similar problem, and I solved it by going to device manager, right-clicking the entries for the mouse, keyboard, lan card, and others related to USB ports, going to any power management tab, and unchecked "allow this device to wake the computer."
My System SpecsSystem Spec
24 Apr 2012   #17
windowsuser7

Windows 7 Pro 32bit
 
 

This is not a factory computer. It is a system that I built. I had XP running on it previously, but rather than do an upgrade option I did a clean install of Windows 7. The computer has never had Symantec software installed on it. nsiproxy.sys is a windows system file that comes from Microsoft.

I just checked the USB Hub's power management tab in device manager and it is not set to wakeup the computer. For the record the computer will reboot if the hub is plugged in, but if I unplug the hug and plug an external hard drive directly into the computer it will also reboot. It doesn't appear to be tied to any particular device. Anything plugged into the USB port will wake the computer after hibernation. This points to cluberti's finding that it has to do with the USB root bus driver.
My System SpecsSystem Spec
24 Apr 2012   #18
cluberti

Windows 10 Pro x64
 
 

Well, my finding was that the driver was being triggered to wake the machine. I sincerely doubt it is the root cause, as the hub doesn't wake the machine when the ports are unused - I do believe it is a firmware issue, but I would have no proof short of moving the existing install onto different hardware and retesting.

My System SpecsSystem Spec
14 Jun 2012   #19
monkeylove

MS Windows 7 Home Premium 64-bit SP1
 
 

I also had a similar issue with some software. When I left them running, the system would restart, but not if I shut them down.
My System SpecsSystem Spec
Reply

 Windows 7 restarts after hibernation




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Hibernation issues with Win 7 - no hibernation but goes to login scr
I have encountered this a few times and I thought of collating past experiences of other users on their successful attempt to restore the eco friendly hibernation feature. I personally favour hibernate than sleep as sleep slowly bleeds your battery away. I just installed a 512GB M4 Crucial SSD...
General Discussion
BSOD Issue when PC goes into hibernation..restarts upon wake
This problem only happens when the computer goes to sleep...when I wake the computer up..it restarts and I get a message saying that there was a BSOD error. The only time this has ever happened was when the computer has went to sleep...other than that..I can play games and run the PC for hours or...
BSOD Help and Support
Win 7 restarts on it's own when in hibernation
I have come into my office to find the machine has restarted on it's own after being put in hibernate. Going into Control Panel I unticked the box that allows a restart after a crash, thinking this might solve it. I let the machine sit in hibernate and an hour later I came back to a huge BSOD....
BSOD Help and Support
Cannot renable hibernation. Hibernation not working.
Hey, I recently bought a brand new Tune-Up Utilities 2012 software:).I disabled hibernation file using tune up utilities. That time I don't use hibernation function;). But now I realized how hibernation is a better option then shutdown:sleepy:. So I renabled hibernation file again using tune-up, as...
Performance & Maintenance
Hibernation after Resuming from Hibernation ?
Hello all, I hope this is the correct place where to post my little but annoying problem. I searched already but couldn't find any answer to my question: every time I resume my system from hibernation it resumes, it displays the desktop for a couple of seconds and then goes in hibernation status...
Performance & Maintenance
Windows 7 HIbernation!
Has anyone experienced problems when resuming from hibernate in Windows 7. (Build 7000) It hibernates fine but when resuming from hibernate a blinking cursor in the to left corner goes on forever and the hibernation file has to be deleted to get back into Windows. Any thoughts? Chris
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:13.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App