VMware Communities
Timbergetter
Contributor
Contributor

Windows7 Guest not consistently shutting down - Solved

Since I upgraded from Player 12 to Player 14 on my Ubuntu 16.04 host, I was having issues with a Windows 7 Pro guest not shutting down properly some of the time. I would initiate a shutdown from within Windows and this appeared to have the desired effect. However the next time I opened the guest it would seem to sometimes pick up on an incomplete hibernation sequence and then begin shutting down the guest. A further attempt to open the guest would then succeed but only after a recovery from hibernation.


 

I discovered that the behaviour described above only happened when the notebook was powered from batteries. When connected to mains power the guest operated normally. I eventually solved the problem by setting Windows 7 such that it never commences a shutdown when on batteries. This is easier said than done because Windows 7 does not provide for this option within the gui interface. To achieve this you need to issue the following command from the command prompt:

“powercfg -setdcvalueindex SCHEME_CURRENT SUB_BATTERY BATACTIONCRIT 0”


 

I hope this might be helpful to anyone encountering the same issue.

Tags (2)
0 Kudos
0 Replies