Windows 10: Customize Windows 10 Image in Audit Mode with Sysprep
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:
<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">
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
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.
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
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
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
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.
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.
Audit Mode and SCCM
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!
How to Customize Default User Profile for New Accounts in Windows 10
Default User Profile is stored in a hidden folder in main profile folder Users. When a new user is created, either when installing Windows or any time later, Windows uses this...
how Customize the Windows 10 Log-On and Log-Off Screen in Build 10240? i like a black color! :confused:
I'm trying to sysprep a Windows 10 Enterprise build 10162 so that i can capture, but i'm getting some errors and hope you guys have some sort of solution.
I've tried removing The upgrade key in HKLM system, but that didn't help.
I've tried to go into AUDIT mode to change the User profiles over to a different HDD on 10122. I get a fatal sysprep error. All i've used is an answer file with User profiles set to I:\Users
Program Data is not moved, copyprofile not set. Only...
Read more: NCC Group to audit OpenSSL for security holes | ZDNet