SOLVED

Windows 10 slow logon preparing windows

%3CLINGO-SUB%20id%3D%22lingo-sub-2457788%22%20slang%3D%22en-US%22%3EWindows%2010%20slow%20logon%20preparing%20windows%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2457788%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20posted%20this%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fanswers%2Fquestions%2F434889%2Fwindows-10-slow-logon-preparing-windows.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EHere%3C%2FA%3E%26nbsp%3Bbut%20the%20answer%20I%20got%20didn't%20point%20me%20anywhere%20so%20I'm%20trying%20my%20luck%20here%20as%20well.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20know%20this%20issue%20is%20around%20for%20quite%20some%20time.%20But%2C%20from%20what%20I%20experienced%20in%20my%20testing%2C%20whatever%20I%20tried%20didn't%20exactly%20help.%3CBR%20%2F%3EHere%20is%20the%20problem%3A%20A%20domain%20user%20logs%20into%20a%20domain%20computer.%20policy%20applies%20within%2010-15%20seconds%20which%20is%20good%20because%20we%20deploy%20preferences%20like%20drive%20maps%2C%20printers%2C%20file%20and%20folder%20options%20and%20internet%20settings.%20after%20applying%20the%20policies%20the%20display%20shows%20%22Please%20wait%20for%20the%20local%20session%20manager%22%20for%20a%20second%20or%20two%20and%20than%20we%20get%20the%20%22Preparing%20Windows%22%20message%20for%2030%20seconds.%3CBR%20%2F%3EI%20tried%20configuring%20the%20following%3A%3C%2FP%3E%3COL%3E%3CLI%3E%3CP%3EDisabled%20logon%20script%20delay%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EDisabled%20run%20logon%20script%20synchronously%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EAdded%20the%20DelayedDesktopSwitchTimeout%20DWORD%20registry%20and%20set%20the%20value%20to%200%3C%2FP%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3EAlthough%20the%20logon%20time%20got%20shortened%20I%20still%20get%20a%20black%20screen%20for%2010%20seconds%20or%20more%20which%20could%20alert%20the%20users.%3C%2FP%3E%3CP%3EOur%20active%20directory%20is%202016%20but%20our%20domain%20functional%20level%20is%202008%20r2%20because%20of%20historic%20reasons.%3CBR%20%2F%3Eour%20windows%2010%20are%201909%20and%20above.%3C%2FP%3E%3CP%3EDon't%20know%20where%20else%20to%20turn%20to%20for%20help.%3C%2FP%3E%3CP%3ERahamim.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2457788%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EActive%20Directory%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELog%20in%20issues%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%2010%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2457874%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2010%20slow%20logon%20preparing%20windows%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2457874%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fsecurity-compliance-and-identity%2Fct-p%2FMicrosoftSecurityandCompliance%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fsecurity-compliance-and-identity%2Fct-p%2FMicrosoftSecurityandCompliance%3C%2FA%3E%3CBR%20%2F%3EHello%3CBR%20%2F%3EI%20suggest%20you%20start%20a%20discussion%20in%20this%20community%20there%20sooner%20you%20will%20get%20help!%3CBR%20%2F%3EAndrzej%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2458099%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2010%20slow%20logon%20preparing%20windows%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2458099%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20posted%20the%20question%20in%20the%20correct%20forum%20(Microsoft%20Q%26amp%3BA)%20and%20it%20is%20to%20help%20you%20to%20solve%20the%20problem.%3CBR%20%2F%3EPlease%20continue%20discussion%20there.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2460792%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2010%20slow%20logon%20preparing%20windows%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2460792%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F255442%22%20target%3D%22_blank%22%3E%40RahamimL%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHello%20RahamimL%3C%2FP%3E%0A%3CP%3ENo%20easy%20answers%20to%20this%20type%20of%20issues%2C%3C%2FP%3E%0A%3CP%3EYou%20probably%20need%20to%20use%20WPA(%20Windows%20Performance%20Analyzer)%20to%20troubleshoot%20your%20issue.%3C%2FP%3E%0A%3CP%3Ethere%20were%20a%20number%20of%20blogs%20written%20on%20this%2C%3C%2FP%3E%0A%3CP%3EUse%20this%20query%20to%20find%20those%20blogs.%3C%2FP%3E%0A%3CP%3Ebecoming%20a%20WPA%20expert%20site%3A%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2F%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20also%20use%20SBSL%20(%20Slow%20boot%20Slow%20Logon)%20to%20query%20on%2C%20that%20was%20the%20tag%20used%20to%20identify%20content%20around%20scenario%20where%20machines%20had%20delays%20with%20slow%20boots%20or%20Slow%20Logons%20(%20inclusing%20slow%20to%20the%20desktop%20availability.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%3C%2FP%3E%0A%3CP%3EDarrell%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2541845%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2010%20slow%20logon%20preparing%20windows%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2541845%22%20slang%3D%22en-US%22%3ESo%20after%20a%20long%20research%2C%20I%20found%20out%20the%20reason%20for%20the%20slow%20login%20is%20because%20I'm%20deploying%20mapped%20drives%20and%20printers%20from%20the%20GPO%20which%20creates%20the%20delay.%3CBR%20%2F%3ERahamim%3C%2FLINGO-BODY%3E
Frequent Contributor

Hi everyone,

 

I posted this Here but the answer I got didn't point me anywhere so I'm trying my luck here as well.

 

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

5 Replies
https://techcommunity.microsoft.com/t5/security-compliance-and-identity/ct-p/MicrosoftSecurityandCom...
Hello
I suggest you start a discussion in this community there sooner you will get help!
Andrzej

You posted the question in the correct forum (Microsoft Q&A) and it is to help you to solve the problem.
Please continue discussion there.

@RahamimL 

Hello RahamimL

No easy answers to this type of issues,

You probably need to use WPA( Windows Performance Analyzer) to troubleshoot your issue.

there were a number of blogs written on this,

Use this query to find those blogs.

becoming a WPA expert site:https://techcommunity.microsoft.com/

 

You can also use SBSL ( Slow boot Slow Logon) to query on, that was the tag used to identify content around scenario where machines had delays with slow boots or Slow Logons ( inclusing slow to the desktop availability.

 

Thanks

Darrell

best response confirmed by RahamimL (Frequent Contributor)
Solution
So after a long research, I found out the reason for the slow login is because I'm deploying mapped drives and printers from the GPO which creates the delay.
Rahamim
Windows booting slowness can be caused due to multiple reasons.
One major thing to consider is the policy update that happens during the startup.
The ideal solution would be to disable the wifi/remove the LAN cable while startup. This helps the system to boot up earlier. For more issues related to performance please check the below link
https://tecnologiaactualizar.co.in/index.php/2021/08/26/computer-slowness-issues-2/