Surface Pro 4 Unattended Sysprep Issue

  1.    06 Feb 2017 #1

    Surface Pro 4 Unattended Sysprep Issue

    Hi Guys,

    Im attempting create an unattended sysprep windows 10 installation (1607) for the Surface Pro 4 using a USB and WinPE. I dont have the current script with me but the process is roughly the following;

    Install win 10 - audit mode
    Generate an unattend.xml using windows ADK and generating a catalog file
    sysprep.exe /generalize /oobe

    I then boot into WinPE and capture the ESP and the windows image (c:/)

    Now for the problem. Upon booting into WinPE on the target Surface Pro 4 i have a script running that basically preforms the following process:

    Select disk 0
    Convert gpt
    Create partition efi size=200
    Assign letter=s
    Format quick fs=FAT32
    Create partition msr size=128
    Create partition primary
    Assign letter=c
    Format quick fs=NTFS

    In the script i then apply the images to the correct partitions using dism, and then run these commands based on this resource:

    bcdedit /set {bootmgr} device partition=s:
    bcdedit /set {memdiag} device partition=s:

    bcdedit /set {default} device partition=c:
    bcdedit /set {default} osdevice partition=c:

    Bcdedit /set {FWbootmgr} displayorder {Bootmgr} /addfirst

    I have highlighed in blue where the script has a problem. Ignore the black rectangles in the screenshots but as you can
    see when the script reaches the point to create the drive letter c i recieve the error Virtual Disk Service Error: The specified drive
    letter is not free to be assigned. I believe what is occuring is that we used a faulty usb before this attempt and it has
    created hidden drives with an assigned C: letter which is why i can no longer change the drive letter.

    How would i wipe out these virtual partitions to free up the letter C?

    Edit: ive also noticed there are multiple boot managers in the bios


    Attached Thumbnails Attached Thumbnails 2.png   1.jpg  
    Last edited by rabwick; 06 Feb 2017 at 03:29.
      My ComputerSystem Spec

  2.    07 Feb 2017 #2

      My ComputerSystem Spec


Related Threads
Office issue after sysprep in Microsoft Office and 365
Hi everbody, I've deployed for my compagny Win10 with custom image on acer pcs. I've used sysprep for install programs and customize profil. Thanks Kari for this thread: ...
Hey everyone, I'm new to the formum and I was hoping to get some help regarding my new Surface Pro 4. The issue I'm, having is that whenever my Surface Pro sleeps or hibernates I am unable to wake it back up. When this happens I have to do a hard...
Okay here's the deal; I have seven of these to set up for users here at work, and we have several applications that need to be preconfigured and standardized for users. Thus the boot into Audit Mode for setup and Sysprepping with...
I have been creating generalized images for deployment in an enterprise scenario. In order to do so, I've installed Windows 10, booted into audit mode from the Welcome Screen, then customized Windows. After this, I can run sysprep with an unattend...
Surface pro 3 issue in General Support
Hello guys, I am runing windows 10 build 9926 on SP3 with all the updates. Beside the fact that the on screen keyboard is kinda buggy, i've noticed a big bug where you sometimes put the tablet to sleep and it wont come back up but is still...
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 18:04.
Find Us