Windows Server 2012 R2 sometimes fails to boot (or shut down?) - stuck at spinner Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!Useful Command-line Commands on Windows'pskill \hostname winlogon' might budge a server “stuck rebooting”, but why?How can I automatically save the Dell iDRAC boot capture videos?Windows Server restart / shutdown historyGroup Policy: Mapped Drives failing to load, Windows Server 2012 Active Directory and Windows Pro 10Windows 2003(!) Server won't boot: stuck at “applying security policy”How to verify if a Windows Server shutdown was complete on server hardware before UPS killed power?Shut down windows server 2012R2 KVM VMUbuntu server 16.04 stops during bootServer 2012 R2 - Hangs at shut down or restart
What does the word "veer" mean here?
Axes behind plot lines
Overriding an object in memory with placement new
In predicate logic, does existential quantification (∃) include universal quantification (∀), i.e. can 'some' imply 'all'?
Short Story with Cinderella as a Voo-doo Witch
Why are Kinder Surprise Eggs illegal in the USA?
How to bypass password on Windows XP account?
Can a USB port passively 'listen only'?
Using audio cues to encourage good posture
Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?
Why do we bend a book to keep it straight?
If a contract sometimes uses the wrong name, is it still valid?
Check which numbers satisfy the condition [A*B*C = A! + B! + C!]
How to tell that you are a giant?
What is Arya's weapon design?
How do I stop a creek from eroding my steep embankment?
What's the meaning of 間時肆拾貳 at a car parking sign
What does an IRS interview request entail when called in to verify expenses for a sole proprietor small business?
Why am I getting the error "non-boolean type specified in a context where a condition is expected" for this request?
How come Sam didn't become Lord of Horn Hill?
How to call a function with default parameter through a pointer to function that is the return of another function?
Sci-Fi book where patients in a coma ward all live in a subconscious world linked together
How discoverable are IPv6 addresses and AAAA names by potential attackers?
Why was the term "discrete" used in discrete logarithm?
Windows Server 2012 R2 sometimes fails to boot (or shut down?) - stuck at spinner
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Useful Command-line Commands on Windows'pskill \hostname winlogon' might budge a server “stuck rebooting”, but why?How can I automatically save the Dell iDRAC boot capture videos?Windows Server restart / shutdown historyGroup Policy: Mapped Drives failing to load, Windows Server 2012 Active Directory and Windows Pro 10Windows 2003(!) Server won't boot: stuck at “applying security policy”How to verify if a Windows Server shutdown was complete on server hardware before UPS killed power?Shut down windows server 2012R2 KVM VMUbuntu server 16.04 stops during bootServer 2012 R2 - Hangs at shut down or restart
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
Our Windows Server 2012 R2 VMware virtual machines have scheduled tasks defined to reboot them weekly using shutdown.exe /r and some of these servers fail to restart some of the time. When I connect to the server via VMRC I see a screen like this:

I have to power cycle the server to get it to work again. The System event log doesn't contain any errors. The last messages before shutdown are:
The IKE and AuthIP IPsec Keying Modules service entered the stopped state.
The kernel power manager has initiated a shutdown transition.
After power-cycling there is a message like this:
The last shutdown's success status was false. The last boot's success status was false.
I tried enabling boot logging, but there are no logs at all for the failed boot in %SystemRoot%ntbtlog.txt. So either the problem occurs before the first log entry is written or it's actually failing to shut down.
If I manually reboot the server, including by running shutdown /r from a command prompt this works. What else can I do to troubleshoot this?
windows windows-server-2012-r2 boot
add a comment |
Our Windows Server 2012 R2 VMware virtual machines have scheduled tasks defined to reboot them weekly using shutdown.exe /r and some of these servers fail to restart some of the time. When I connect to the server via VMRC I see a screen like this:

I have to power cycle the server to get it to work again. The System event log doesn't contain any errors. The last messages before shutdown are:
The IKE and AuthIP IPsec Keying Modules service entered the stopped state.
The kernel power manager has initiated a shutdown transition.
After power-cycling there is a message like this:
The last shutdown's success status was false. The last boot's success status was false.
I tried enabling boot logging, but there are no logs at all for the failed boot in %SystemRoot%ntbtlog.txt. So either the problem occurs before the first log entry is written or it's actually failing to shut down.
If I manually reboot the server, including by running shutdown /r from a command prompt this works. What else can I do to troubleshoot this?
windows windows-server-2012-r2 boot
I have also observed this behavior in VMWare hosted Windows 8.1 and Server 2012 guests. The frequency of these hangs may have decreased after I updated the guests to VMWare Tools 9355. I stress "may" because our vCenter admin may have also applied patches to the ESXi hosts at the same time.
– JasonAzze
Jun 29 '16 at 17:44
Yeah honestly the easiest thing to do in these situations is make sure all your drivers and integration tools are 100% up to date. The only other thing you can really do is get an NMI crash dump and find the deadlocked or hung threads. (Or call MSFT and have them do it for you.)
– Ryan Ries
Jun 29 '16 at 18:00
@RyanRies, how do I get an NMI crash dump in VMware?
– EM0
Jun 30 '16 at 11:04
1
kb.vmware.com/selfservice/… - and use DumpConfigurator (winplattools.codeplex.com/releases/view/119856) to configure the guest for full dumps first. Only full dumps are useful, not kernel or mini.
– Ryan Ries
Jun 30 '16 at 12:48
We've upgraded all our VMs to VMware tools 9359, but some of them still freeze. So looks like that wasn't the issue.
– EM0
Sep 19 '16 at 12:02
add a comment |
Our Windows Server 2012 R2 VMware virtual machines have scheduled tasks defined to reboot them weekly using shutdown.exe /r and some of these servers fail to restart some of the time. When I connect to the server via VMRC I see a screen like this:

I have to power cycle the server to get it to work again. The System event log doesn't contain any errors. The last messages before shutdown are:
The IKE and AuthIP IPsec Keying Modules service entered the stopped state.
The kernel power manager has initiated a shutdown transition.
After power-cycling there is a message like this:
The last shutdown's success status was false. The last boot's success status was false.
I tried enabling boot logging, but there are no logs at all for the failed boot in %SystemRoot%ntbtlog.txt. So either the problem occurs before the first log entry is written or it's actually failing to shut down.
If I manually reboot the server, including by running shutdown /r from a command prompt this works. What else can I do to troubleshoot this?
windows windows-server-2012-r2 boot
Our Windows Server 2012 R2 VMware virtual machines have scheduled tasks defined to reboot them weekly using shutdown.exe /r and some of these servers fail to restart some of the time. When I connect to the server via VMRC I see a screen like this:

I have to power cycle the server to get it to work again. The System event log doesn't contain any errors. The last messages before shutdown are:
The IKE and AuthIP IPsec Keying Modules service entered the stopped state.
The kernel power manager has initiated a shutdown transition.
After power-cycling there is a message like this:
The last shutdown's success status was false. The last boot's success status was false.
I tried enabling boot logging, but there are no logs at all for the failed boot in %SystemRoot%ntbtlog.txt. So either the problem occurs before the first log entry is written or it's actually failing to shut down.
If I manually reboot the server, including by running shutdown /r from a command prompt this works. What else can I do to troubleshoot this?
windows windows-server-2012-r2 boot
windows windows-server-2012-r2 boot
edited Jun 29 '16 at 18:58
EM0
asked Jun 29 '16 at 16:47
EM0EM0
234314
234314
I have also observed this behavior in VMWare hosted Windows 8.1 and Server 2012 guests. The frequency of these hangs may have decreased after I updated the guests to VMWare Tools 9355. I stress "may" because our vCenter admin may have also applied patches to the ESXi hosts at the same time.
– JasonAzze
Jun 29 '16 at 17:44
Yeah honestly the easiest thing to do in these situations is make sure all your drivers and integration tools are 100% up to date. The only other thing you can really do is get an NMI crash dump and find the deadlocked or hung threads. (Or call MSFT and have them do it for you.)
– Ryan Ries
Jun 29 '16 at 18:00
@RyanRies, how do I get an NMI crash dump in VMware?
– EM0
Jun 30 '16 at 11:04
1
kb.vmware.com/selfservice/… - and use DumpConfigurator (winplattools.codeplex.com/releases/view/119856) to configure the guest for full dumps first. Only full dumps are useful, not kernel or mini.
– Ryan Ries
Jun 30 '16 at 12:48
We've upgraded all our VMs to VMware tools 9359, but some of them still freeze. So looks like that wasn't the issue.
– EM0
Sep 19 '16 at 12:02
add a comment |
I have also observed this behavior in VMWare hosted Windows 8.1 and Server 2012 guests. The frequency of these hangs may have decreased after I updated the guests to VMWare Tools 9355. I stress "may" because our vCenter admin may have also applied patches to the ESXi hosts at the same time.
– JasonAzze
Jun 29 '16 at 17:44
Yeah honestly the easiest thing to do in these situations is make sure all your drivers and integration tools are 100% up to date. The only other thing you can really do is get an NMI crash dump and find the deadlocked or hung threads. (Or call MSFT and have them do it for you.)
– Ryan Ries
Jun 29 '16 at 18:00
@RyanRies, how do I get an NMI crash dump in VMware?
– EM0
Jun 30 '16 at 11:04
1
kb.vmware.com/selfservice/… - and use DumpConfigurator (winplattools.codeplex.com/releases/view/119856) to configure the guest for full dumps first. Only full dumps are useful, not kernel or mini.
– Ryan Ries
Jun 30 '16 at 12:48
We've upgraded all our VMs to VMware tools 9359, but some of them still freeze. So looks like that wasn't the issue.
– EM0
Sep 19 '16 at 12:02
I have also observed this behavior in VMWare hosted Windows 8.1 and Server 2012 guests. The frequency of these hangs may have decreased after I updated the guests to VMWare Tools 9355. I stress "may" because our vCenter admin may have also applied patches to the ESXi hosts at the same time.
– JasonAzze
Jun 29 '16 at 17:44
I have also observed this behavior in VMWare hosted Windows 8.1 and Server 2012 guests. The frequency of these hangs may have decreased after I updated the guests to VMWare Tools 9355. I stress "may" because our vCenter admin may have also applied patches to the ESXi hosts at the same time.
– JasonAzze
Jun 29 '16 at 17:44
Yeah honestly the easiest thing to do in these situations is make sure all your drivers and integration tools are 100% up to date. The only other thing you can really do is get an NMI crash dump and find the deadlocked or hung threads. (Or call MSFT and have them do it for you.)
– Ryan Ries
Jun 29 '16 at 18:00
Yeah honestly the easiest thing to do in these situations is make sure all your drivers and integration tools are 100% up to date. The only other thing you can really do is get an NMI crash dump and find the deadlocked or hung threads. (Or call MSFT and have them do it for you.)
– Ryan Ries
Jun 29 '16 at 18:00
@RyanRies, how do I get an NMI crash dump in VMware?
– EM0
Jun 30 '16 at 11:04
@RyanRies, how do I get an NMI crash dump in VMware?
– EM0
Jun 30 '16 at 11:04
1
1
kb.vmware.com/selfservice/… - and use DumpConfigurator (winplattools.codeplex.com/releases/view/119856) to configure the guest for full dumps first. Only full dumps are useful, not kernel or mini.
– Ryan Ries
Jun 30 '16 at 12:48
kb.vmware.com/selfservice/… - and use DumpConfigurator (winplattools.codeplex.com/releases/view/119856) to configure the guest for full dumps first. Only full dumps are useful, not kernel or mini.
– Ryan Ries
Jun 30 '16 at 12:48
We've upgraded all our VMs to VMware tools 9359, but some of them still freeze. So looks like that wasn't the issue.
– EM0
Sep 19 '16 at 12:02
We've upgraded all our VMs to VMware tools 9359, but some of them still freeze. So looks like that wasn't the issue.
– EM0
Sep 19 '16 at 12:02
add a comment |
1 Answer
1
active
oldest
votes
I ended up doing this by taking a VMware snapshot of the machine while frozen and then converting the .VMSN file to a .DMP file using the vmss2core tool. I had to use the -W8 option to get it to read my .VMSN file (-W and -W9600 didn't work).
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f786962%2fwindows-server-2012-r2-sometimes-fails-to-boot-or-shut-down-stuck-at-spinne%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I ended up doing this by taking a VMware snapshot of the machine while frozen and then converting the .VMSN file to a .DMP file using the vmss2core tool. I had to use the -W8 option to get it to read my .VMSN file (-W and -W9600 didn't work).
add a comment |
I ended up doing this by taking a VMware snapshot of the machine while frozen and then converting the .VMSN file to a .DMP file using the vmss2core tool. I had to use the -W8 option to get it to read my .VMSN file (-W and -W9600 didn't work).
add a comment |
I ended up doing this by taking a VMware snapshot of the machine while frozen and then converting the .VMSN file to a .DMP file using the vmss2core tool. I had to use the -W8 option to get it to read my .VMSN file (-W and -W9600 didn't work).
I ended up doing this by taking a VMware snapshot of the machine while frozen and then converting the .VMSN file to a .DMP file using the vmss2core tool. I had to use the -W8 option to get it to read my .VMSN file (-W and -W9600 didn't work).
answered Jul 19 '16 at 9:40
EM0EM0
234314
234314
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f786962%2fwindows-server-2012-r2-sometimes-fails-to-boot-or-shut-down-stuck-at-spinne%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I have also observed this behavior in VMWare hosted Windows 8.1 and Server 2012 guests. The frequency of these hangs may have decreased after I updated the guests to VMWare Tools 9355. I stress "may" because our vCenter admin may have also applied patches to the ESXi hosts at the same time.
– JasonAzze
Jun 29 '16 at 17:44
Yeah honestly the easiest thing to do in these situations is make sure all your drivers and integration tools are 100% up to date. The only other thing you can really do is get an NMI crash dump and find the deadlocked or hung threads. (Or call MSFT and have them do it for you.)
– Ryan Ries
Jun 29 '16 at 18:00
@RyanRies, how do I get an NMI crash dump in VMware?
– EM0
Jun 30 '16 at 11:04
1
kb.vmware.com/selfservice/… - and use DumpConfigurator (winplattools.codeplex.com/releases/view/119856) to configure the guest for full dumps first. Only full dumps are useful, not kernel or mini.
– Ryan Ries
Jun 30 '16 at 12:48
We've upgraded all our VMs to VMware tools 9359, but some of them still freeze. So looks like that wasn't the issue.
– EM0
Sep 19 '16 at 12:02