question

KevinMorse-9683 avatar image
0 Votes"
KevinMorse-9683 asked KevinMorse-9683 commented

After using Powershell to change power plan to high performance my 2012 R2 VM is unresponsive for around 5 minutes after each reboot

I have a virtualized Exchange Server 2016 running in a Server 2012 R2 guest. The Hypervisor is Server 2019.

I ran the Exchange HealthChecker as I do every month after the latest round of windows updates and noted that the HealthChecker recommends changing power plan to High Performance. I have seen this hundreds of times but for some stupid reason I didn't ignore it this time and decided to try and fix it.

After changing the power plan to High Performance I rebooted the server, upon reboot there was no network and the server was almost completely unresponsive for close to 5 minutes. The power plan seems to have switched back to Balanced so the whole exercise was a complete waste of time.

Even worse, the server is now unresponsive for 5 minutes after each reboot. Before I could reboot and have Exchange up and running again in under 1 minute.

Event Viewer is full of a bunch of events saying can't connect to the logon server, that seems to prevent Exchange Server from launching properly which seems to hang the whole thing. Control Panel doesn't load until the server becomes responsive again but from Hyper-V Manager I can see that it takes the server around 5 minutes to get an IP address.

Any ideas what has gone wrong?

windows-server-hyper-vwindows-server-2012
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered

An unedited ipconfig /all during and after issues might help.




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KevinMorse-9683 avatar image
0 Votes"
KevinMorse-9683 answered KevinMorse-9683 edited

Here is the current configuration:

I can't take the server down right now but next time it is down I will try to see if Command Prompt will actually run. My guess is that it won't since I couldn't get Control Panel, Task Manager, or Event Viewer to run until it finished whatever it was doing.

    Windows IP Configuration

    Host Name . . . . . . . . . . . . : 12r2-exchange
    Primary Dns Suffix  . . . . . . . : xxxxx.local
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    DNS Suffix Search List. . . . . . : xxxxx.local
    
 Ethernet adapter Ethernet:
    
    Connection-specific DNS Suffix  . :
    Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter
    Physical Address. . . . . . . . . : 00-15-5D-3D-83-01
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::88c9:5f44:3d33:a038%12(Preferred)
    IPv4 Address. . . . . . . . . . . : 192.168.1.25(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.1.1
    DHCPv6 IAID . . . . . . . . . . . : 301995357
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-26-FF-4E-6A-00-15-5D-3D-83-01
    
    DNS Servers . . . . . . . . . . . : 192.168.1.20
    NetBIOS over Tcpip. . . . . . . . : Enabled
    
 Tunnel adapter isatap.{B5FB3DEB-8E0D-4AAA-A2A5-1B03649DD948}:
    
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix  . :
    Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered DSPatrick commented

You can create a Task to run at logon

143010-image.png



image.png (520.5 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

and add a second line to the batch like
ipconfig /all>C:\aaa\ipconfig.txt
tracert 192.168.1.20>C:\aaa\trace.txt


0 Votes 0 ·
KevinMorse-9683 avatar image
0 Votes"
KevinMorse-9683 answered DSPatrick commented

Good idea. I will try to reboot tonight with that task running.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Sounds good.


0 Votes 0 ·
KevinMorse-9683 avatar image
0 Votes"
KevinMorse-9683 answered

Doesn't appear to be any difference at all between the ipconfig immediately upon boot and the ipconfig 5 min later when the server is actually working

 Windows IP Configuration
    
    Host Name . . . . . . . . . . . . : 12r2-exchange
    Primary Dns Suffix  . . . . . . . : xxxxx.local
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    DNS Suffix Search List. . . . . . : xxxxx.local
    
 Ethernet adapter Ethernet:
    
    Connection-specific DNS Suffix  . : 
    Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter
    Physical Address. . . . . . . . . : 00-15-5D-3D-83-01
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::88c9:5f44:3d33:a038%12(Preferred) 
    IPv4 Address. . . . . . . . . . . : 192.168.1.25(Preferred) 
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.1.1
    DHCPv6 IAID . . . . . . . . . . . : 301995357
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-26-FF-4E-6A-00-15-5D-3D-83-01
    DNS Servers . . . . . . . . . . . : 192.168.1.20
    NetBIOS over Tcpip. . . . . . . . : Enabled
    
 Tunnel adapter isatap.{B5FB3DEB-8E0D-4AAA-A2A5-1B03649DD948}:
    
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix  . : 
    Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes


Tracert also shows nothing

 Tracing route to 12r2-dc.xxxxx.local [192.168.1.20]
 over a maximum of 30 hops:
    
   1    <1 ms    <1 ms    <1 ms  12r2-dc.xxxxx.local [192.168.1.20] 
    
 Trace complete.

There is definitely a problem with multiple services though:

  • Hyper-V Manager shows the system doesn't have an IP

  • RDP can't connect

  • Exchange can't connect

  • Control panel is unresponsive

Every reboot it takes about the same amount of time 4-5 minutes



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered KevinMorse-9683 commented

What's rebooting the host or guest?


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The guest is rebooting.

0 Votes 0 ·