Event ID - 12517

Event Id12517
SourceWinHttpAutoProxySvc
DescriptionFailed to create a desktop due to desktop heap exhaustion.
Event InformationThis information from some newsgroups may help you:
------------------------------------------------------------------------------
It happens every time WinHTTP Web Proxy Auto-Discovery Service is sent the start control. Implements the Web Proxy Auto-Discovery (WPAD) protocol for Windows HTTP Services (WinHTTP). WPAD is a protocol to enable an HTTP client to automatically discover a proxy configuration. If this service is stopped or disabled, the WPAD protocol will be executed within the HTTP clients process instead of an external service process; there would be no loss of functionality as a result. You can also add the shutdown command to the end of your script to automate the whole shutdown and restart process. Another approach is to change the amount of time Windows 2003 waits before killing a service thats not responding. To adjust this timeout period, perform the following steps:
1. Start a registry editor (e.g., regedit.exe).
2. Navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control registry subkey.
3. Double-click WaitToKillServiceTimeout.
4. Change the value from the default of 600000 (10 minutes) to something else (e.g., 20000 for 20 seconds), then click OK.
5. Close the registry editor.
Be aware that changing this registry value will change the wait period for all services to stop, so setting this value too low might cause problems with services if the OS is killing them before they can cleanly finish.
Reference Links

Catch threats immediately

We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.