1.    06 Feb 2017 #1
    Join Date : Feb 2017
    Posts : 5
    Windows 10

    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:

    Diskpart
    Select disk 0
    Clean
    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
    Exit

    In the script i then apply the images to the correct partitions using dism, and then run these commands based on this resource:
    https://technet.microsoft.com/en-us/library/cc765951(v=ws.10).aspx


    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

    Regards,
    Rab

    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
    Join Date : Feb 2017
    Posts : 5
    Windows 10
    Thread Starter

    anyone?
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Office issue after sysprep
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: ...
Software and Apps
Issue with Surface Pro 4 waking up. Please help!
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...
General Support
Surface Pro 4 problems after sysprep and latest upgrade
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...
Installation and Upgrade
Issue with "CopyProfile" option in Unattended Install
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...
General Support
Surface pro 3 issue
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...
General Support
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 11:44.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums