Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You cannot log on to a Windows Server 2012 server through the console or RDP


View products that this article applies to.

Symptoms

You can no longer remotely manage or log on to a Windows Server 2012 server by using the console or Remote Desktop Protocol (RDP). Otherwise, the server still functions correctly in other tasks. The problem is indicated by the following symptoms:

  • A large number of threads exist in svchost hosting netsvcs (~500 when the problems starts occurring).
  • The WinHTTP Web Proxy Auto-Discovery (WPAD) Service is in a disabled state.

↑ Back to the top


Cause

This problem occurs if a large number of threads in netsvcs are waiting for the WPAD Service because the service is disabled. The resulting depletion of the thread pool prevents netsvcs from being able to serve other requests.

↑ Back to the top


Resolution

To resolve this problem, enable the WPAD Service.

↑ Back to the top


More Information

The following is an example stack of a blocked netsvcs worker thread:
fffff8027fd1d606 nt!KiSwapContext+0x76
(Inline)         nt!KiSwapThread+0xf4
fffff8027fd20c6c nt!KiSwapThread+0xf4
fffff8027fd1cf0f nt!KeWaitForSingleObject+0x1cf
fffff802800c29b6 nt!NtWaitForSingleObject+0xb6
fffff8027fcf6053 nt!KiSystemServiceCopyEnd+0x13
000007fa9e612c2a ntdll!NtWaitForSingleObject+0xa
000007fa9b9810ea KERNELBASE!WaitForSingleObjectEx+0x92
000007fa966fd39c WINHTTP!InternalDetectAutoProxyUrl+0x5e47c
000007fa9669cc9b WINHTTP!WpadDetection+0x116
000007fa966eb8b1 WINHTTP!AutoProxyResolver::DoBackgroundDetection+0x159
000007fa966eb9be WINHTTP!AutoProxyResolver::BackgroundWpadDetection+0x5a
000007fa966eb4e1 WINHTTP!FailFastThreadpoolTimerCallback<&AutoProxyResolver::BackgroundWpadDetection>+0x9
000007fa9e61a50a ntdll!TppTimerpExecuteCallback+0xea
000007fa9e618842 ntdll!TppWorkerThread+0x604
000007fa9bb3167e KERNEL32!BaseThreadInitThunk+0x1a
000007fa9e633501 ntdll!RtlUserThreadStart+0x1d

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2870551
Revision : 9
Created on : 4/4/2017
Published on : 4/4/2017
Exists online : False
Views : 747