Windows 10 slow logon preparing windows

Rahamim Levi 156 Reputation points
2021-06-14T12:31:51.793+00:00

Hi everyone,

I know this issue is around for quite some time. But, from what I experienced in my testing, whatever I tried didn't exactly help.
Here is what my problem: A domain user logs into a domain computer. policy applies within 10-15 seconds which is good because we deploy preferences like drive maps, printers, file and folder options and internet settings. after applying the policies the display shows "Please wait for the local session manager" for a second or two and than we get the "Preparing Windows" message for 30 seconds.
I tried configuring the following:

  1. Disabled logon script delay
  2. Disabled run logon script synchronously
  3. Added the DelayedDesktopSwitchTimeout DWORD registry and set the value to 0

Although the logon time got shortened I still get a black screen for 10 seconds or more which could alert the users.

Our active directory is 2016 but our domain functional level is 2008 r2 because of historic reasons.
our windows 10 are 1909 and above.

Don't know where else to turn to for help.

Rahamim.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,597 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,838 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,270 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,899 questions
0 comments No comments
{count} votes

Accepted answer
  1. Rahamim Levi 156 Reputation points
    2021-07-05T11:10:43.323+00:00

    I think I found out what happens and I just need confirmation:

    During the login stage, since I deployed both mapped drives and printers with the update option via GPO and, to have everything deployed according to the GPO, the "Please wait" window shows up to have the map drives and the printers deployed and configured correctly.

    I found that out because when I tried to search for a way to optimize the login I found the policy "Change Group Policy processing to run asynchronously". I know this is for slow networks but I think that a delay will apply regardless in order to make sure that the CSE of drive maps and printers does the work properly.

    Rahamim.

    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2021-06-14T12:43:26.627+00:00

    Please run;

    Dcdiag /v /c /d /e /s:%computername% >C:\dcdiag.log
    repadmin /showrepl >C:\repl.txt
    ipconfig /all > C:\dc1.txt
    ipconfig /all > C:\dc2.txt
    ipconfig /all > C:\problemworkstation.txt

    then put unzipped text files up on OneDrive and share a link.


  2. Dave Patrick 426.1K Reputation points MVP
    2021-06-14T17:54:17.453+00:00

    Looks like there may be some replication and KCC problems. You'll need to check the event logs for more details. Also if the 192.168.x.x addresses are not domain controllers then remove them from DNS.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  3. Vicky Wang 2,646 Reputation points
    2021-06-21T08:17:22.03+00:00

    Hi,
    Just checking in to see if the information provided was helpful.
    Please let us know if you would like further assistance.
    Best Regards,
    Vicky


  4. Dave Patrick 426.1K Reputation points MVP
    2021-06-29T10:58:04.763+00:00

    I have already sent you the files and you told me there was an issue with KCC and replication.

    Sorry, yes you did (buried in the threading)

    The event logs should have more details.

    --please don't forget to upvote and Accept as answer if the reply is helpful--