Automate just OOBE setup pass of Windows 10 with Autounattend.xml Solved

Page 2 of 2 FirstFirst 12
  1. Kari's Avatar
    Posts : 15,630
    Windows 10 Pro
       #11

    Thanks. I have an idea, but I need to go it through first. I'll be back later.

    Kari
      My ComputerSystem Spec

  2. Kari's Avatar
    Posts : 15,630
    Windows 10 Pro
       #12

    This is a tricky one. Manufacturer has pre-installed Windows, meaning that when devices are booted first time, they go straight to OOBE.

    I have a solution for you, but I am afraid you are not going to like it. It will only take a few minutes per device, but sheer number of devices means you would need a full working day (or two!) to do this.

    I tested this now a few times, works perfectly.

    Boot a machine with pre-installed OEM Windows until it stops in OOBE region selection screen. Connect a USB containing your unattend.xml answer file. Press SHIFT + F10 to open Command Prompt. Notice that on some laptops you need to press SHIFT + FN + F10.

    Run Sysprep with following command:

    %windir%\System32\Sysprep\sysprep.exe /oobe /shutdown /unattend:E:\unattend.xml

    The /unattend switch with path to your answer file forces system to use and apply it. Notice that E:\ in said switch in above sample refers to the drive letter of the USB flash drive. If you are unsure what drive letter it has, use DISKPART command LIST DISK to find it out, then exit DISKPART before running the Sysprep command.

    In my tests now, on one physical mid-level laptop and couple of virtual machines, I needed less than three minutes a machine. Sysprep runs applying your answer file and shuts down the machine, which when booted next time will completely bypass OOBE.

    Kari
      My ComputerSystem Spec

  3.    #13

    Hi Kari

    Thank you so much for proposing this valuable solution.

    I was able to further enhance the automation by executing the proposed Sysprep command from within a provisioning package. To be more specific, I created a CMD script containing the command and added it as a ProvisioningCommand in Windows Configuration Designer.

    The provisioning package is automaticallly consumend from the external usb drive on the first OOBE screen. The system then restarts and successfully applies the unattend.xml as defined in the Sysprep command.

    Thanks again!

    Manuel
      My ComputerSystem Spec

  4. Kari's Avatar
    Posts : 15,630
    Windows 10 Pro
       #14

    Good to know it works!, Manuel!
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

Related Threads
Hello, I have build about 20 laptop images for a Lenovo Yoga S1 thinkpad. I use sysprep and a simple answer file with the license key embedded. I select generalize, oobe as sysprep options. Half way through the OOBE immediately after selecting...
Sample Scenario: Fresh AD account (first time login to a computer), skype and thunderbird not configured yet. What I have in mind: Once the user successfully login to PC using the NT login given, he will just click/run a program that will...
If anyone has a favorite "package" i am trying to recreate the ones i used to use for Windows 7, 8 etc. Windows 10 does not have all the same registry keys or in some cases they are in different places, need different values, or do not even exist....
Ok so i am furious with Micro$oft now! the other day i was FORCED to change my microsoft account after much nagging i did so and i dont like changing logins too much. (this was a week ago) now for some random reason on earth without my permission...
Hi everyone! I'm trying to use this Autounattend.xml: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="specialize"> <component name="Microsoft-Windows-Shell-Setup"...

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 21:13.
Find Us