locked
1703 turn off OOBE "Leave your device on, still updating, We're going as fast as we can?" RRS feed

  • Question

  • Is it necessary to have a deployed pc go through the setup with that voice telling you to leave your device on, still updating....all of that? If not, can it be disabled, and where?

    "Almost there....."

    Friday, September 1, 2017 1:41 PM

All replies

  • Add following bits to your unattend.xml (located in Control\%TaskSequenceID%) assuming you are also using hideshell=YES in your deployments:

            <RunSynchronousCommand wcm:action="add">
              <Description>disable async RunOnce</Description>
              <Order>4</Order>
              <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer /v AsyncRunOnce /t REG_DWORD /d 0 /f</Path>
            </RunSynchronousCommand>
    		<RunSynchronousCommand wcm:action="add">
    			<Description>disable animation</Description>
    			<Order>5</Order>
    			<Path>reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableFirstLogonAnimation /d 0 /t REG_DWORD /f</Path>
    		</RunSynchronousCommand>
    		<RunSynchronousCommand wcm:action="add">
    			<Description>disable animation</Description>
    			<Order>6</Order>
    			<Path>reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v DelayedDesktopSwitchTimeout /d 0 /t REG_DWORD /f</Path>
    		</RunSynchronousCommand>

    The resulting bit of your unattend.xml will look like this:

        <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <RunSynchronous>
            <RunSynchronousCommand wcm:action="add">
              <Description>EnableAdmin</Description>
              <Order>1</Order>
              <Path>cmd /c net user Administrator /active:yes</Path>
            </RunSynchronousCommand>
            <RunSynchronousCommand wcm:action="add">
              <Description>UnfilterAdministratorToken</Description>
              <Order>2</Order>
              <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
            </RunSynchronousCommand>
            <RunSynchronousCommand wcm:action="add">
              <Description>disable user account page</Description>
              <Order>3</Order>
              <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path>
            </RunSynchronousCommand>
            <RunSynchronousCommand wcm:action="add">
              <Description>disable async RunOnce</Description>
              <Order>4</Order>
              <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer /v AsyncRunOnce /t REG_DWORD /d 0 /f</Path>
            </RunSynchronousCommand>
    		<RunSynchronousCommand wcm:action="add">
    			<Description>disable animation</Description>
    			<Order>5</Order>
    			<Path>reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableFirstLogonAnimation /d 0 /t REG_DWORD /f</Path>
    		</RunSynchronousCommand>
    		<RunSynchronousCommand wcm:action="add">
    			<Description>disable animation</Description>
    			<Order>6</Order>
    			<Path>reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v DelayedDesktopSwitchTimeout /d 0 /t REG_DWORD /f</Path>
    		</RunSynchronousCommand>
          </RunSynchronous>
        </component>
    Note: you may need to adjust Order values.

    Blog - http://www.vacuumbreather.com / http://www.wcsaga.com

    • Proposed as answer by Anton Romanyuk Friday, September 1, 2017 2:03 PM
    Friday, September 1, 2017 2:03 PM
  • I will edit the unattend, but I'm not sure what hideshell is or if its set to YES.
    Friday, September 1, 2017 2:33 PM
  • This should set you up: https://blogs.technet.microsoft.com/deploymentguys/2011/12/01/mdt-2012-new-features-hide-shell/
    I would really appreciate it if you would take some time and rate helpful posts and / or mark them as answers. By doing this you would help other members of the community looking for helpful information. Thanks!.

    Blog - http://www.vacuumbreather.com / http://www.wcsaga.com

    Friday, September 1, 2017 3:05 PM
  • I just tested the xml changes. I get to where the OS is installed, and once it reaches 100%, I get a failure 5627: 1465 Run DISM.exe

    Failed to save environment Failed to run the action Install Operating System.

    Friday, September 1, 2017 3:20 PM
  • Rather than edit the xml itself, would it be best to change the unattend through the TS tab OS Info....and edit it that way?
    Friday, September 1, 2017 3:21 PM
  • At this stage unattend.xml isn‘t being evaluated. The error usually point to a disk write issue. You need to take a look at your BDD.log. Might even be an isolated issue that won‘t occur again.

    Blog - http://www.vacuumbreather.com / http://www.wcsaga.com


    Friday, September 1, 2017 3:22 PM
  • Rather than edit the xml itself, would it be best to change the unattend through the TS tab OS Info....and edit it that way?

    Doesn‘t matter. I use Notepad++. You just need to be careful when it comes to adding nodes to the XML file.

    Blog - http://www.vacuumbreather.com / http://www.wcsaga.com

    Friday, September 1, 2017 3:24 PM
  • Ok. I just recreated my test Deploy TS. Rather than edit the xml directly, I added the Run Sync lines in the unattend tab of my TS.
    When I did it the other way, the xml file was changed but opening it through the TS threw errors. Giving it a go now again.
    Friday, September 1, 2017 3:42 PM
  • No idea what I must be doing wrong. I copied that section into my XML and it still goes through that whole setup, Please wait, Almost done....for a good 10 minutes before completion.
    Friday, September 1, 2017 6:51 PM
  • Here is an example how your unattend.xml should look like. Also, read this post for additional guidance.


    Cheers,
    Anton

    Vacuum Breather Blog | Wing Commander Saga | Twitter

    Note: Posts are provided "AS IS" without warranty of any kind. If posts are helpful please don't forget to rate them as "Helpful" or as "Answer".

    Friday, September 1, 2017 7:12 PM
  • That's exactly what my XML looks like. I will continue to work it out and reply back once it's successful. Thanks
    Friday, September 1, 2017 7:33 PM
  • Finally. I am not blocked by the error of not finding the LTIBoostrap file and now not listening to that message endlessly saying Almost There...but I'm stuck at a blue screen with "Just a moment" swirling forever since the XML change.

    Now I need to modify something else?

    Friday, September 1, 2017 7:53 PM
  • Not sure. Have you added HideShell=YES to your CustomSettings.ini?

    Cheers,
    Anton

    Vacuum Breather Blog | Wing Commander Saga | Twitter

    Note: Posts are provided "AS IS" without warranty of any kind. If posts are helpful please don't forget to rate them as "Helpful" or as "Answer".

    Friday, September 1, 2017 7:54 PM
  • Yes. This has been running so long now that the screen shut off. Shook the mouse and it is still stuck running this.
    Friday, September 1, 2017 7:56 PM
  • Is it necessary to SkipMachineOOBE and SkipUserOOBE to TRUE in the unattend?
    Wondering if that makes any matter...giving it a try.
    Friday, September 1, 2017 8:04 PM
  • The pc went quickly past Just a moment....installed a few test apps and failed to auto logon as administrator. If I weren't paid to do this stuff.....

    I guess that's my next hurdle. Fix one thing, another breaks. I don't have any prior issues now, just being stumped with a sign on screen. From what I see, it is expecting a domain user to be signed on, rather than a local user on the pc.

    More reading...more reading.

    Friday, September 1, 2017 8:30 PM
  • You are not, by any chance, are renaming your local administrator during install?

    Look on the bright side: I am not being paid anything and yet here I am :)


    Cheers,
    Anton

    Vacuum Breather Blog | Wing Commander Saga | Twitter

    Note: Posts are provided "AS IS" without warranty of any kind. If posts are helpful please don't forget to rate them as "Helpful" or as "Answer".

    Friday, September 1, 2017 8:34 PM
  • Here is what I've been doing for at least the past 5 yrs...

    I create a Hyper-V VM signed on as a local admin user. In Win7, I do not enable the admin in the unattend. I have the PC sign on as this other user, and have a TS step which activates the admin account (the admin p/w is in the unattend). When you click FINISH, the pc reboots and then you can sign on as admin.

    For Win10 (1607), I have those VM's signed on with that local account, have the unattend enable the admin account, set the p/w and it does auto-login.

    These VM's were created in MDT 2013 U2. I updated each DS after upgrading MDT and ADK. I just can't get this to auto-login as it did last week.
    The pc wants someone to log in to the domain. Previously, my machines booted up on the domain but yet the admin auto-logged on.

    Friday, September 1, 2017 8:39 PM