question

KikiShi-9520 avatar image
0 Votes"
KikiShi-9520 asked ·

Logon scripts being hidden behind "Preparing Windows" screen

Hello,
I'm trying to install Windows 10 Pro 1909 18363 unattended by using an answer file. In this answer file I specified in systemOOBE pass to boot into audit mode and in auditUser pass I defined serveral RunSynchonousCommand blocks. Now when the system lis booting into audit mode and logging into the administrator account I see the ‘Windows preparing’ screen but would expect to see the scripts which I defined as RunSynchronousCommand instead it is covered by this ‘Windows preparing’ screen.
It's also really well explained here: logon-scripts-being-hidden-in-background-behind-preparing-windows-screen

I made serveral tests so I can say the ‘Windows preparing’ screen is showing as long as the scripts are processing. When the last script finishes the ‘Windows preparing’ screen disappears. I also noticed that when the scripts are processing for longer than 10 mins the ‘Windows preparing’ screen disappears too. I guess it has a timeout of 10 minutes.

Is it possible to hide the ‘Windows preparing’ screen. Maybe there is a registry entry or something?

Referring to question source:
https://social.technet.microsoft.com/Forums/windows/en-US/985460c5-f7f0-4f8d-a8ba-57c2aba516fc/logon-scripts-being-hidden-behind-quotpreparing-windowsquot-screen?forum=win10itprosetup


windows-10-setup
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

TeemoTang-2039 avatar image
0 Votes"
TeemoTang-2039 answered ·

Welcome to our new Microsoft Q&A Platform

Is it possible to hide the ‘Windows preparing’ screen

I am afraid not, I can’t find and never heard a way to make it.

But, for your situation, I find out an really old Microsoft article, even though it is aimed at Windows Vista we can still use this registry value.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

DelayedDesktopSwitchTimeout=0

https://support.microsoft.com/en-us/help/940452/the-welcome-screen-may-be-displayed-for-30-seconds-and-the-logon-scrip

Besides, some users here talking about similar phenomenon, maybe can give you a hint.

Displaying a message during a powershell login script on Windows 10

https://www.reddit.com/r/sysadmin/comments/7eqerr/displaying_a_message_during_a_powershell_login/

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks man, that worked for me!

0 Votes 0 ·