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,664 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,899 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,274 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,908 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: Newest
  1. Parvez Gadhia 1 Reputation point
    2021-07-02T06:21:10.2+00:00

    would you be able to turn off firewall for domain profile on one of the domain joined machines for testing purpose. So log on to machine and wait till the process is over, then go to controlpanel - system and security - windows defender firewall --left side turn windows firewall on or off - select domain profile -- turn off windows defender firewall option. Restart the machine and see if the problem persist.

    If the problem still there then check whether domain profile is turned on by some group policy. It that is the case then above option will not help. Try to disabled windows defender firewall services from services.msc and restart.


  2. 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--


  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-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--