Logon scripts being hidden behind "Preparing Windows" screen

Kiki Shi 541 Reputation points
2020-02-25T01:39:21.303+00:00

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
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,903 questions
0 comments No comments
{count} votes

Accepted answer
  1. Teemo Tang 821 Reputation points
    2020-02-25T06:35:57.49+00:00

    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/


0 additional answers

Sort by: Most helpful