Customize Windows 10 Image in Audit Mode with Sysprep  

Page 33 of 70 FirstFirst ... 23313233343543 ... LastLast

  1. Posts : 5
    Windows 10 Pro x64
       #320

    Kari said:
    I've just added these videos to the tutorial:

    Kari
    Works like a charm. I followed the exact same steps (plus added some of my own customizations) and haven't had any problems.

    Just curious about this scenario. I captured the image and after deploying it (I use Macrium Reflect), I get the Users folder on drive D. What if I change my mind and don't want to relocate the user profiles? Is it possible to change the answer file after the image has been deployed (but Windows hasn't started yet, so the specialize pass didn't run) and instruct it NOT to relocate the profiles? Would be useful if the end user's SSD is too small to have two separate partitions, for example.
      My Computer


  2. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #321

    sratakhin said:
    Works like a charm. I followed the exact same steps (plus added some of my own customizations) and haven't had any problems.

    Just curious about this scenario. I captured the image and after deploying it (I use Macrium Reflect), I get the Users folder on drive D. What if I change my mind and don't want to relocate the user profiles? Is it possible to change the answer file after the image has been deployed (but Windows hasn't started yet, so the specialize pass didn't run) and instruct it NOT to relocate the profiles? Would be useful if the end user's SSD is too small to have two separate partitions, for example.
    No, that is not possible. The Sysprep has prepared Windows and its state can only be changed on the reference machine by sysprepping the image again with an edited, changed Answer File.

    If you used Hyper-V vm as your reference machine as I did in the first video, and if you created a checkpoint as seen in that video at 23:58 when everything was done but Windows not yet sysprepped, you could simply apply / restore that checkpoint and remove the FolderLocations component from the Answer File, from the settings start tag (<settings pass="oobeSystem">) to next settings end tag (</settings>), everything shown in code box below:

    Code:
    <settings pass="oobeSystem"><component name="Microsoft-Windows-Shell-Setup" 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">
    <FolderLocations>
    <ProfilesDirectory>D:\Users</ProfilesDirectory>
    </FolderLocations>
    </component>
    </settings>

    Removing that part would leave the Users folder to C: drive. Now run sysprep again and capture the new image.

    On a production machine (the one you deployed the image to) this can be done only after Windows has been set up and the initial user signed in to desktop, at which point the Users folder already resides on the new location. To move it back to C: (or any other drive), see the part Upgrade, its Step 1 in this tutorial: Users Folder - Move Location in Windows 10 - Windows 10 Forums

    Kari
      My Computer


  3. Posts : 5
    Windows 10 Pro x64
       #322

    Kari said:
    No, that is not possible. The Sysprep has prepared Windows and its state can only be changed on the reference machine by sysprepping the image again with an edited, changed Answer File.

    Kari
    I wasn't satisfied with the answer so I decided to test it myself. If I "forget" to create the extra partition, Sysprep fails at the specialize pass with a blank error message. So, I restored the checkpoint created immediately after imaging with Macrium and before restarting the VM. I edited the unattend.xml file, removing the <specialize> part completely. Restarted, waited 5 minutes and the Users profiles folder was created on C:. Goal accomplished :)

    It actually makes sense. AFAIK, Specialize runs at the last stage of provisioning so it can be modified even after capturing the image.
      My Computer


  4. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #323

    It's not specialize pass causing the Sysprep to fail when target drive for Users folder is missing. Sysprep fails in the OobeSystem pass, last phase before entering Windows Welcome. Specialize pass is run just before OobeSystem.

    Yes, it makes sense you can still edit the Users location after running Sysprep. I have only bad experiences doing it, that's why I repeat my recommendation: it's better to do it before than after Sysprep.
      My Computer


  5. Posts : 5
    Windows 10 Pro x64
       #324

    Kari said:
    It's not specialize pass causing the Sysprep to fail when target drive for Users folder is missing. Sysprep fails in the OobeSystem pass, last phase before entering Windows Welcome. Specialize pass is run just before OobeSystem.

    Yes, it makes sense you can still edit the Users location after running Sysprep. I have only bad experiences doing it, that's why I repeat my recommendation: it's better to do it before than after Sysprep.
    Oops, you are right, it's the Oobe pass. I'll try to deploy the image to a few customers and report if there are any problems.
    Btw, do you have links for good information on Sysprep and Windows SIM? I never bothered with them in the past but looks like there are so many options that can be potentially used :)
      My Computer


  6. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #325

    sratakhin said:
    Btw, do you have links for good information on Sysprep and Windows SIM? I never bothered with them in the past but looks like there are so many options that can be potentially used :)



    sratakhin said:
    I'll try to deploy the image to a few customers and report if there are any problems.

    Please keep in mind that my Sysprep related tutorials here and on our sister sites Seven Forums and Eight Forums are written for normal private users with maybe only one or at max high single digit number of computers. My purpose is, has been and will be to show private users how to use professional tools and methods, how it can benefit even a normal user outside the corporate network environment. Short, I am doing my best to bring professional network admin methods to private users in a very simplified way, simplified being the key word.

    In "serious" deployment, for instance deploying over the network to tens or hundreds of computers, the deployment method using a third party imaging application I have told in this and other tutorials is out of the question. For deployment in corporate environment I suggest you start by reading this support article: Windows Deployment Services Getting Started Guide for Windows Server 2012

    Kari
      My Computer


  7. Posts : 2
    Windows 10
       #326

    Hi All,

    Im tring to disable and unistall/remove the OneDrive from the Setup. The curious thing is that the OneDrive is installed some seconds after the first logon.
    I already tried:
    - delete the file from the wim file but i receive the missing permission error
    - uninstall, remove, rename during the unattended setup but not happend, the same script works very well 1 minute after the first logon.

    Does anybody know how to setup the windows 10 without installing the OneDrive?

    Thanks in advance
      My Computer


  8. Posts : 13
    Windows 10 (10240)
       #327

    Hi softjad,

    I only know how to disable it. If your interested, it's gpedit.msc, then under computer configuration, Admin Templates>>Windows Components>> OneDrive. Select "Prevent the usage of OneDrive for file storage" and enable it. This of course, doesn't stop it from installing in the first place, but makes it not visible and prevents it's usage.
      My Computer


  9. Posts : 2
    Windows 10
       #328

    djolson said:
    Hi softjad,

    I only know how to disable it. If your interested, it's gpedit.msc, then under computer configuration, Admin Templates>>Windows Components>> OneDrive. Select "Prevent the usage of OneDrive for file storage" and enable it. This of course, doesn't stop it from installing in the first place, but makes it not visible and prevents it's usage.

    Thanks,

    Aftter the windows Setup I dont have any issue, I can unistall or disable. The main issue is during the windows setup because Im doing an automated one step setup.
      My Computer


  10. Posts : 2
    Windows 10
       #329

    Audit Mode and SCCM


    Hello,
    I've been trying to use audit mode to customize our Windows 10 image. (Enterprise, Build 10586). We use SCCM to deploy the image I build in VMWare Workstation, and I use the SCCM capture media which runs its own sysprep, reboots, then captures the WIM to my external hard drive. Copy profile (start menu and search) is still broken when I use audit mode and run my capture. We don't use MDT, so that's not an option. Since Kari's method has us running sysprep, is there any hope for me? Thanks!
      My Computer


 

Tutorial Categories

Customize Windows 10 Image in Audit Mode with Sysprep Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
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 09:50.
Find Us




Windows 10 Forums