Windows 10: Windows 10 Image - Customize in Audit Mode with Sysprep
I'll give that a go, thank you.
I've noticed the powershell commands: Get-AppxProvisionedPackage and Remove-AppxProvisionedPackage are no longer valid commands on version 1607 build 14393. I'm sure changes were made to prevent deprovisioning apps so they can come back. Has anyone found a workaround that wont cause sysprep to fail?
I'm still able to remove the apps with the Remove-AppxPackage command. I also disabled the "Microsoft consumer experience" from GP I hope that's enough to stop the bloatware...
I just made an amateur mistake. For anyone else getting errors when removing apps in Powershell be sure that you are using Powershell 64bit NOT the 32bit command prompt. I've gone this whole time not knowing that you must use 64bit for the AppXProvisionedPackage commands.
Starting with Windows version 1511 you can pin AppUserModelID and Desktop Apps on taskbar via sysprep example
<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <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"> <TaskbarLinks> <Link0>%allusersprofile%\Microsoft\Windows\Start Menu\Programs\Accessories\Windows Media Player.lnk</Link0> <Link1>%userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools\Control Panel.lnk</Link1> <Link2>%allusersprofile%\Microsoft\Windows\Start Menu\Programs\Excel 2016.lnk</Link2> <Link3>%allusersprofile%\Microsoft\Windows\Start Menu\Programs\Google Chrome.lnk</Link3> </TaskbarLinks> </component> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TaskbarLinks> <Link0>%allusersprofile%\Microsoft\Windows\Start Menu\Programs\Accessories\Windows Media Player.lnk</Link0> <Link1>%userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools\Control Panel.lnk</Link1> <Link2>%allusersprofile%\Microsoft\Windows\Start Menu\Programs\Excel 2016.lnk</Link2> <Link3>%allusersprofile%\Microsoft\Windows\Start Menu\Programs\Google Chrome.lnk</Link3> </TaskbarLinks> </component> </settings></unattend>
I know this has been covered on several occasions, but it would seem the reason behind it is unique for every scenario, so I am hoping someone can help with my particular case.
I am working on getting a reference image ready for Windows 10 Pro - 64 Bit - Build 14393. I am using Hyper-V to set up the image.
I have lots of checkpoints saved so I have been going back and trying many different things, and have no issue trying over and over based on suggestions offered here...
Now on to the issue:
I am pretty much complete with my reference image with the exception of one program. The program is GeoVision GV-VMS *OR* GeoVision GV-NVR. Both of these are surveillance camera video recording software packages, and regardless of which one I install, they both have the same effect on my sysprep process. My goal is to have one reference image for each of these software packages.
The behavior I am observing is:
During initial boot following sysprep, the system operates normally up to the "Get going fast" screen where you select "Use Express settings."
At this screen, I select "Use Express settings" and the system continues to the "Just a moment..." screen for several minutes, then restarts the machine where I am presented with the OOBE sequence again, and will loop like this forever.
I can install everything but this and run sysprep and it runs fine with no issues, so at least I have isolated the problem to these particular software packages.
A couple of things I have observed with these pieces of software:
1) They both install several VC redistributable packages
2) Both disable UAC as part of the install process
I believe there is something common that both of these packages are either installing or altering in Windows that is causing this behavior. It only effects Windows 10, BTW... Windows 7 has no issues completing OOBE after sysprep with these software packages installed.
Is there anywhere I can look to try and find what is causing the system to loop the OOBE process over and over? Is there any hope that I can get this working?
My workaround in the meantime has been to place the installers in a folder on the C drive along with my VPN Client and LogMeIn Remote Desktop software and just install them manually after the image has been deployed on the computer. Of course, I would prefer to not have to install this software manually.
Any assistance getting this resolved will be greatly appreciated!
Quick update - It would appear that leaving UAC on during the install process allows the OOBE process to complete normally. Running more testing now to see if that corrects the issue for both variants of the reference image I'm wanting to make.
Is it normal for disabled UAC settings to interfere with the completion of OOBE?
Everything worked out great when I left UAC enabled...
I wanted to add a small note which you may want to add to the original tutorial (Heck, it may already be there?)
With Macrium Reflect, the ISO is based on Windows PE, so it can load fine with Secure Boot enabled. For me, using Acronis True Image 2017, I had to disable Secure Boot in order to boot the ISO in Hyper-V.
I guess since this tutorial doesn't necessarily bind itself to being accomplished in a virtual environment this may not apply to a majority of the intended audience; however, for those of us that are using Hyper-V to create the images, it's worth a small mention.
Anyway, Kari, thanks for making this tutorial! It certainly was a big help in getting my images ready for deployment!
Windows 10 Stock Apps
I like your videos and it helped me many time in creating image.
I need some help in creating windows 10 Enterprise (1607 version) image for an organization with in under domain control.
I created the image using many online sources but one thing is giving me hard time, which is stock apps in image.
I get all the Store apps after sysprep and each time new user login.
I would like get rid of those applications so that it do not take longer time to login for new user.
Please let me know if you need more information.
Thank you for your help in advance.
Windows 10 Pro - 1607/14393.693
I use DISM for capture image, before capture image I use sysprep and unattend xml set copy profile.
but after I capture the image and re-deploy to my machine the desktop setting and start menu setting is gone.
how to keep the desktop setting and start menu layout when sysprep? I'm using copy profile, but didn't work for me.
I want desktop and start menu setting can be capture and set as default user profile.
Syprep Activation not working
Hi first of all thanks for a great tutorial on Sysprep I have used it to install 22 machines and it saved me hours of tedious installs.
I work at a school and the pesky students keep messing with things so I decided it was time for a fresh install with a locked down system I downloaded the latest windows 10 iso from MS site "Win10_1607_English_x64" I then decided to remove most of the apps using the wim app remover script. I left the windows store app, calculator, photos and movie player
I installed a fresh copy of windows on a previously activated windows 10 machine as I had before - went through sysprep - installed the software as I did before (no antivirus ) I removed IE 11 installed Notepad ++ Adobe creative, Office 2016, PrintScrnr, WinRar, Firefox, NetSupport Manager (Student)
After rebooting and setting up the Admin account I went to check activation and got an error saying it was unable to activate please try again?
Does removing the apps prior to install cause a problem or removing IE 11
any help appreciated
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