A specified logon session does not exist. It may already have been terminated.

Hello,

I'm trying to setup WDS on Windows Server Standard 2012 R2 with Update after having used WDS on W2K3 for many years.

I can deploy images using the 2012 server just fine, but whenever I try to capture an image and select UPLOAD, I get the error message "A specified logon session does not exist. It may already have been terminated." I cannot upload the image simultaneously.

I tracked down the error using Event Viewer and it looks like 2012 is disconnecting me right after logging in because my Administrator login is somehow considered Anonymous. How do I enable uploads? Change in group policy?

Below are the events:

SUCCESSFUL LOGIN:
Log Name:      Security
Source:        Microsoft-Windows-Security-Auditing
Date:          8/30/2015 12:17:53 PM
Event ID:      4624
Task Category: Logon
Level:         Information
Keywords:      Audit Success
User:          N/A
Computer:      LIBTECH
Description:
An account was successfully logged on.

Subject:
    Security ID:        NULL SID
    Account Name:        -
    Account Domain:        -
    Logon ID:        0x0

Logon Type:            3

Impersonation Level:        Impersonation

New Logon:
    Security ID:        ANONYMOUS LOGON
    Account Name:        ANONYMOUS LOGON
    Account Domain:        NT AUTHORITY
    Logon ID:        0x9688D
    Logon GUID:        {00000000-0000-0000-0000-000000000000}

Process Information:
    Process ID:        0x0
    Process Name:        -

Network Information:
    Workstation Name:    MINWINPC
    Source Network Address:    10.1.240.50
    Source Port:        49412

Detailed Authentication Information:
    Logon Process:        NtLmSsp
    Authentication Package:    NTLM
    Transited Services:    -
    Package Name (NTLM only):    NTLM V1
    Key Length:        128

This event is generated when a logon session is created. It is generated on the computer that was accessed.

The subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.

The logon type field indicates the kind of logon that occurred. The most common types are 2 (interactive) and 3 (network).

The New Logon fields indicate the account for whom the new logon was created, i.e. the account that was logged on.

The network fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.

The impersonation level field indicates the extent to which a process in the logon session can impersonate.

The authentication information fields provide detailed information about this specific logon request.
    - Logon GUID is a unique identifier that can be used to correlate this event with a KDC event.
    - Transited services indicate which intermediate services have participated in this logon request.
    - Package name indicates which sub-protocol was used among the NTLM protocols.
    - Key length indicates the length of the generated session key. This will be 0 if no session key was requested.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
    <EventID>4624</EventID>
    <Version>1</Version>
    <Level>0</Level>
    <Task>12544</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8020000000000000</Keywords>
    <TimeCreated SystemTime="2015-08-30T19:17:53.768686800Z" />
    <EventRecordID>7797</EventRecordID>
    <Correlation />
    <Execution ProcessID="552" ThreadID="2040" />
    <Channel>Security</Channel>
    <Computer>LIBTECH</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="SubjectUserSid">S-1-0-0</Data>
    <Data Name="SubjectUserName">-</Data>
    <Data Name="SubjectDomainName">-</Data>
    <Data Name="SubjectLogonId">0x0</Data>
    <Data Name="TargetUserSid">S-1-5-7</Data>
    <Data Name="TargetUserName">ANONYMOUS LOGON</Data>
    <Data Name="TargetDomainName">NT AUTHORITY</Data>
    <Data Name="TargetLogonId">0x9688d</Data>
    <Data Name="LogonType">3</Data>
    <Data Name="LogonProcessName">NtLmSsp </Data>
    <Data Name="AuthenticationPackageName">NTLM</Data>
    <Data Name="WorkstationName">MINWINPC</Data>
    <Data Name="LogonGuid">{00000000-0000-0000-0000-000000000000}</Data>
    <Data Name="TransmittedServices">-</Data>
    <Data Name="LmPackageName">NTLM V1</Data>
    <Data Name="KeyLength">128</Data>
    <Data Name="ProcessId">0x0</Data>
    <Data Name="ProcessName">-</Data>
    <Data Name="IpAddress">10.1.240.50</Data>
    <Data Name="IpPort">49412</Data>
    <Data Name="ImpersonationLevel">%%1833</Data>
  </EventData>
</Event>

SESSION TERMINATED:

Log Name:      Security
Source:        Microsoft-Windows-Security-Auditing
Date:          8/30/2015 12:17:53 PM
Event ID:      4634
Task Category: Logoff
Level:         Information
Keywords:      Audit Success
User:          N/A
Computer:      LIBTECH
Description:
An account was logged off.

Subject:
    Security ID:        ANONYMOUS LOGON
    Account Name:        ANONYMOUS LOGON
    Account Domain:        NT AUTHORITY
    Logon ID:        0x9688D

Logon Type:            3

This event is generated when a logon session is destroyed. It may be positively correlated with a logon event using the Logon ID value. Logon IDs are only unique between reboots on the same computer.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
    <EventID>4634</EventID>
    <Version>0</Version>
    <Level>0</Level>
    <Task>12545</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8020000000000000</Keywords>
    <TimeCreated SystemTime="2015-08-30T19:17:53.769685700Z" />
    <EventRecordID>7798</EventRecordID>
    <Correlation />
    <Execution ProcessID="552" ThreadID="2040" />
    <Channel>Security</Channel>
    <Computer>LIBTECH</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="TargetUserSid">S-1-5-7</Data>
    <Data Name="TargetUserName">ANONYMOUS LOGON</Data>
    <Data Name="TargetDomainName">NT AUTHORITY</Data>
    <Data Name="TargetLogonId">0x9688d</Data>
    <Data Name="LogonType">3</Data>
  </EventData>
</Event>

August 30th, 2015 9:02pm

Hi eurotech,

Thanks for your post.

According to the description (my Administrator login is somehow considered Anonymous and the related error), it is more related to Credential problem. Please check whether the policy is enabled.

 If Network access: Do not allow storage of passwords and credentials for network authentication policy is enabled and applied, Credential Manager cannot store the credentials locally, thus this error message appears.

And also restart your WDS service to have a try.

In addition, please refer the following KB to enable the WDS logging then post the abnormal log.

The related KB:

How to enable logging in Windows Deployment Services (WDS) in Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, and in Windows Server 2012

https://support.microsoft.com/en-us/kb/936625

Best Regards,

Mary Dong

Free Windows Admin Tool Kit Click here and download it now
August 31st, 2015 8:50am

Thanks Mary, I tried the suggestion but it did not seem to work. Frustrated, I wiped out the system and built it up from scratch. It seems to work now so long as I log in as servername\administrator to begin the wds process and again to actually upload to the server. If I try to login without the server name then the above error message shows. Perhaps it was as easy an oversight as that! Thanks again!
  • Marked as answer by eurotech 1 hour 26 minutes ago
September 2nd, 2015 1:41am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics