You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Sporadic boot error when "Auto Login as Administrator" is enabled #208
I found a sporadic boot issue when testing PhoenixPE 2026.10.25 with Windows 11 26H2.
When the option "Auto Login as Administrator" is selected, the boot process irregularly fails with the following error:
"The specified domain either does not exist or could not be contacted"
This behavior occurs unpredictably: Sometimes the boot process works perfectly on the very first try. In other cases, the error persists, requiring the computer to be restarted multiple times or completely powered off and turned back on before the login succeeds.
I tested this behavior on three different computers and was able to reproduce the error on all systems.
I did notice some new event logs related to searching for workgroups/domains when testing 26H2. I'm sure it's related to network stack changes made in 26H2. Thanks for the report. I'll keep looking into it.
I followed your suggestion and performed several tests on different computers.
After extracting a fresh PhoenixPE builder, mounting and selecting the Windows ISO, I monitored the creation of the Target directory.
As soon as taskschd.dll appeared in Target\Windows\System32, I deleted it while the build was still running.
After the build completed, taskschd.dll was not present in boot.wim\sources\Windows\System32.
Following this, I could no longer reproduce the automatic administrator logon issue, even after multiple tests on different computers.
As a cross-check, I manually added taskschd.dll back to boot.wim\sources\Windows\System32. The original issue occurred again.
Thank you for confirming. Looks like we are running into a race condition.
At boot, Windows reads the computer name from the registry (the default set at build time is PhoenixPE) and uses it as the domain name for local accounts. Windows only checks the computer name once per boot.
During startup, two things run at the same time without waiting for each other:
PENetwork renames the machine to a random PhoenixPE-xxxx.
The switch to the Administrator session logs on, and something in that logon triggers Task Scheduler. Without taskschd.dll present the call silently fails (confirmed by Event Log) and the race condition is never encountered.
Usually the logon finishes first. The computer name and the account domain are both still PHOENIXPE, so the lookup of PHOENIXPE\Administrator works.
About 1 boot in 5, the rename wins. The logon then looks up PHOENIXPE-xxxx\Administrator. Windows has no domain by that name, because it still knows the account as PHOENIXPE\Administrator, so the logon fails with "The specified domain either does not exist or could not be contacted" (error 1355).
Without taskschd.dll, the logon never does that name lookup, so the race doesn't show up. The names stay out of sync for the rest of the session either way. (Confirmed by running whoami verifying the domain name is phoenixpe vs PhoenixPE-xxxx.
Activity
homes32 commentedon Oct 31, 2026
I did notice some new event logs related to searching for workgroups/domains when testing 26H2. I'm sure it's related to network stack changes made in 26H2. Thanks for the report. I'll keep looking into it.
VanFlusen commentedon Oct 31, 2026
Just as an additional heads-up for debugging: This issue does not occur when using the PhoenixPE 2026.07.25 with the exact same 26H2 ISO.
homes32 commentedon Nov 17, 2026
@VanFlusen can you delete taskschd.dll from Target\Windows\System32 and see if the issue persists?
VanFlusen commentedon Nov 21, 2026
I followed your suggestion and performed several tests on different computers.
After extracting a fresh PhoenixPE builder, mounting and selecting the Windows ISO, I monitored the creation of the Target directory.
As soon as taskschd.dll appeared in Target\Windows\System32, I deleted it while the build was still running.
After the build completed, taskschd.dll was not present in boot.wim\sources\Windows\System32.
Following this, I could no longer reproduce the automatic administrator logon issue, even after multiple tests on different computers.
As a cross-check, I manually added taskschd.dll back to boot.wim\sources\Windows\System32. The original issue occurred again.
homes32 commentedon Nov 23, 2026
Thank you for confirming. Looks like we are running into a race condition.
At boot, Windows reads the computer name from the registry (the default set at build time is PhoenixPE) and uses it as the domain name for local accounts. Windows only checks the computer name once per boot.
During startup, two things run at the same time without waiting for each other:
Usually the logon finishes first. The computer name and the account domain are both still PHOENIXPE, so the lookup of PHOENIXPE\Administrator works.
About 1 boot in 5, the rename wins. The logon then looks up PHOENIXPE-xxxx\Administrator. Windows has no domain by that name, because it still knows the account as PHOENIXPE\Administrator, so the logon fails with "The specified domain either does not exist or could not be contacted" (error 1355).
Without taskschd.dll, the logon never does that name lookup, so the race doesn't show up. The names stay out of sync for the rest of the session either way. (Confirmed by running
whoamiverifying the domain name is phoenixpe vs PhoenixPE-xxxx.