Questions tagged [sysprep]
Sysprep is the name of Microsoft's System Preparation Utility for Microsoft Windows operating system deployment.
189
questions
0
votes
1
answer
59
views
Using autounattend.xml to automate a Windows installation with Ventoy bootloader
In the company I work for, we occasionally need to build out servers which we sell to clients. Part of this process includes installing an OS, and in the past, we have used Windows 10 Ent. IoT and ...
1
vote
1
answer
37
views
What is the correct way to set credentials for a directory when using EC2Launch sysprep?
I created a startup script like this:
$FolderPath = "C:\Path\To\Your\Directory"
$UserAccount = "Domain\User" # Replace with the appropriate user or group
$Acl = Get-Acl $FolderPath
...
0
votes
1
answer
52
views
Azure compute gallery sysprep issues
I am trying to update an Azure Compute Gallery version but it's not working properly.
The process I am following is as follows:
Deploy the old version from the Compute Gallery to a new VM and start.
...
0
votes
2
answers
702
views
How to run sysprep without creating admin account?
I have installed Windows 10 Home version and updated it to Enterprise and added the KMS server. If I now run the sysprep everything else is ok but sysprep adds an account admin. How can I prevent this ...
0
votes
0
answers
350
views
Windows 11 Packer image fails to boot after sysprep, what logs can I check?
SUMMARY:
I'm having problems with a Windows 11 Enterprose image that I have prepared with Packer, and sysprep'd using AWS's Ec2Launch v2 for preparation of importing the exported OVA into AWS as an ...
0
votes
0
answers
169
views
Sysprep vm keeps asking to accept licence terms with unattend.xml
I have a server 2019 VM running on hyper-v, it was installed manually from the ISO, configured and sysprep'd.
Now I am adding an unattend.xml file to C:\Windows\Panther as I want to automate the ...
1
vote
0
answers
138
views
Change Windows Store Apps language using poweshell or unattend.xml?
I am trying to create a golden image and I can't find any way to set Store Apps language.
These are the settings I want:
Windows Display: English (US)
Apps & Websites: English (US)
Regional Format:...
0
votes
1
answer
556
views
OOBE not run after sysprep, only a login screen is displayed
I try to prepare a Windows 10 21H1 installation with sysprep for imaging. I activated OOBE and generalize. Sysprep says that it was successful, but it ran to quick and the log file (setupact.log) ends ...
1
vote
1
answer
796
views
Assign a specific machine SID to a new Windows system
Windows Setup assigns a unique machine SID to a Windows system at install time. The machine SID is not exposed over the network, and as such it usually does not matter what it is, but local users' ...
1
vote
0
answers
59
views
Azure: "Disallowed by policy" error trying to capture a VM
I'm working through some guided labs studying for the AZ-900 Azure Fundamentals certification test.
The labs instructed me to:
Create an ARM VM with Visual Studio (OK)
Run SysPrep on the VM
"...
0
votes
0
answers
2k
views
Correct way to run scripts in automated, unattended Windows installation
I have some custom scripts that I have written to customise Windows 10 such as removing bloatware and setting file explorer options via Registry Editor that I use to apply to all users and/or the ...
2
votes
0
answers
155
views
why windows sysprep is failing
I am seeing that windows sysprep process is failing for windows 10 1909 VMs. The VMs are cloned from a parent VM using Vmware cloning technology and then sysprep is invoked on these clones. I can see ...
1
vote
1
answer
486
views
Answer file for clonable windows installation
I would like to create a windows image that can be cloned to multiple different computers, with different (known) hardware. And I would like Windows to resize the partitions after cloning. I read that ...
1
vote
1
answer
724
views
Sysprep: Does it remove Windows Credentials from an user account?
I have an automated process that's supposed to build out an image and have that image deployed with a user that is setup to run a service. The user needs access to an azure network file share. In ...
0
votes
1
answer
1k
views
Unattended machine join to domain
My company would like to use a Syprep image and an autounattend.xml file to deploy new machines or rebuild old ones with a USB stick. We do not want to use SCCM. I will push us to use WDS in the ...
3
votes
0
answers
1k
views
HTTP proxy settings in unattend.xml only take effect after a user has logged on
I am creating a Windows "golden image" that will be rolled out to a network which does not have direct Internet access. Instead, HTTP/HTTPS traffic must be carried over a proxy server.
When running ...
2
votes
2
answers
2k
views
Windows 10: Provisioned app not installed properly, correct version but 0 bytes app and data
I'm trying to provision an application as part of an image prepared in audit mode and then syspreped and then captured. The app is sideloaded since it is a Line Of Business app and the version of ...
2
votes
0
answers
3k
views
Sysprep - Win 10 1903 - language packs
Microsoft in their infinite wisdom appear to have changed their approach to multi-lingual support in Windows 10. Whereas a normal user can install language packs via the language settings, this breaks ...
2
votes
2
answers
3k
views
Unable to connect to an Azure VM (sysprepped image)
I created a Server 2008R2 VM in Hyper V, ran Sysprep on it, then uploaded the VHD to Azure via Azcopy.
Then I converted the VHD file into a managed disk, and created a VM from the managed disk.
Now ...
2
votes
0
answers
161
views
Install windows updates along with PXE install
Here is the problem. I do testing.. I need windows, not by choice, for testing purposes. I need physical hardware to do my testing. To do this, I install windows from PXE. The problem with this is,...
0
votes
0
answers
295
views
Windows Answer file is not activating the product key
I'M trying to enable the product key of our Windows Server with an answer file. The answer file is created with Windows System Image Manager.Is finishing the Answer file without errors but when i ...
3
votes
2
answers
2k
views
Cannot SysPrep Windows 10 Enterprise (spring creators update): "A fatal error occurred..."
I have been creating our Windows 10 "golden image" from a VM, but since I installed the "Spring Creators update" I now cannot SysPrep it. Typically, this is the process I would follow, using ...
2
votes
2
answers
5k
views
What steps are needed after cloning from a image Ubuntu to new system? (sysprep, unconfig)
I have an imaged (clonezilla) system image of a Ubuntu setup with a bunch of settings.
Now I am wondering, what needs to be changed if I use the clonezilla image to create always new systems from this ...
0
votes
1
answer
5k
views
Windows 10 broken after running newsid
I know newsid was retired by its creator Russinovik almost 10 year ago and so it is definitely a bad idea to run in on windows 10 machine. Anyway I received two new computers which probably were ...
2
votes
0
answers
990
views
Win10 SysPrep ERROR: Failed DeleteInstance AntiSpywareProduct.instanceGuid
After tons of AppX and "Tile Data Model Server" service headaches, I've now found this in our Windows 10 (Enterprise) SysPrep logs:
ERROR: Failed DeleteInstance AntiSpywareProduct.instanceGuid{GUID}
...
1
vote
1
answer
667
views
Windows 10 app provisioned to non-existent user
I created an image of Windows 10 1709 and now I want to run sysprep so I can upload to WDS. Sysprep fails:
Package Microsoft.BingNews_4.21.2212.0_x64__8wekyb3d8bbwe was installed for a user, but ...
0
votes
1
answer
748
views
How can I migrate my windows 10 to new hardware using sysprep?
So, my mainboard of my office pc is now dead (finally) and I have been given a new pc with better spec. I am trying to move my windows & all my applications along with it(which is still intact in ...
0
votes
1
answer
5k
views
Sysprep didn't change the SID
I'm trying to join a 2012 R2 server to a domain controlled by another 2012 R2 server. The domain is a test domain, but it works. I joined a different server to this domain.
But I've been trying to ...
0
votes
1
answer
1k
views
Applying OOBE to captured WIM
Im trying to deploy an OOBE image using MDT Sysprep Task sequence. I have no problem capturing the "golden" image (with all necessary programs and what-not) but the main point of the confusion is how ...
1
vote
1
answer
876
views
DPI settings never survive Sysprep Windows 10
I need to set 200% scaling for our Win 10 customers on 5k 27" but every way i've tried to do it has reset to 100% after sysprep to OOBE causing them to have tiny text on first boot.
I've tried: copy ...
2
votes
1
answer
742
views
how do I disable "Allow your PC to be discoverable by other PCs and devices" blade
This posters issue is a good description of the issue I want to address.
I'm building an image based on Windows 10 Enterprise IOT. When the devices with this image are built in the factory they show ...
0
votes
1
answer
3k
views
Sysprep: Deploy image created in VirtualBox - Workflow?
I would like to deploy a reference installation of Windows 10 Pro with software and user settings to my physical clients.
I have a couple of questions concerning this process:
Can I start the ...
0
votes
0
answers
206
views
Capture/Sysprep Image or Modify it with MDT?
I hope serverfault is the right place for this question. If it's not, please let me know where the right place is!
Anyway, I have a WDS server which I am using to push Windows 10 images. However, ...
0
votes
2
answers
111
views
Putting this installation of Win10 Pro on multiple machines
I have 6 machines which all run Windows 10. They are networked up to 2 servers running Server 2012. They were all hardened to meet CIS Guidelines by an engineer who didn't take into account what they ...
0
votes
0
answers
461
views
Windows PXE Boot freezes in KVM
I have a Windows Server 2012 R2 running WDS/DHCP Service and an Ubuntu Server 16.04.4 as a qemu/kvm host where is running a Windows 7 vm as an image to capture for WDS (syspreped).
Now when i want to ...
4
votes
1
answer
1k
views
KMS Activation for Windows and Office Fails
I have cloned and deployed several PCs with similar hardware as they are of the same model.
The steps are as follows:
Computer A:
Install Windows
Install applications/drivers/updates
Capture Image ...
3
votes
4
answers
8k
views
Accept License terms with sysprep and unattend.xml Windows Server 2016
I am trying to create a Windows Server 2016 Datacentre template for cloud deployment using sysprep and unattend.xml. After syspreping, on first logon I am still getting License terms screen where I ...
1
vote
1
answer
4k
views
Generate sysprep unattend.xml After Run
Is there a way to generate the unattend.xml file after running sysprep manually?
I would like the just automate the processes of running sysprep oobe non-generalized restart without having to accept ...
3
votes
2
answers
3k
views
Packer - AWS Windows 2016 SysPrep returns exit code 1
When attempting to SysPrep an AWS Windows Server 2016 instance using Packer the following error is thrown:
Build 'amazon-ebs' errored: Script exited with non-zero exit status: 1. Allowed exit codes ...
2
votes
1
answer
2k
views
Recover from accidental Sysprep on only AD DC
Being total "genius" on newly deployed environment I ran:
sysprep /oobe /generalize /mode:vm /shutdown
on the wrong VM during creation of a new AD environment.
To make matters worse it was run on ...
0
votes
1
answer
222
views
Error during sysprep
I have a recurring problem using sysprep on our Windows 10 machines. I use sysprep with an answer file. When I send our windows image on machines with almost the same hardware, everything works ...
1
vote
1
answer
162
views
sysprep Windows 2008 not enabling service
I have following unattend.xml file for Windows Server 2008 R2 Enterprise.
<?xml version="1.0" encoding="UTF-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:ms="urn:schemas-...
1
vote
0
answers
1k
views
Capturing WIM process hangs in MDT Litetouch
I'm trying to capture a WIM of my reference machine. I setup a Sysprep and Capture task in MDT, ran it and used the default UNC path which is in the captures directory of my deployment share. The ...
-1
votes
1
answer
656
views
Capture Linux OS image using in-built application?
I have an issue.
I want to know if I can capture any Linux OS custom image using an in-built app?
Example - I can use SysPrep to capture Windows image, but how do I go about capturing Linux image?
...
1
vote
1
answer
1k
views
Windows 10 - Sysprep keeps adding language and keyboard layout
I have a very frustrating problem with my sysprep image. Everytime, I choose fr-CA as keyboard layout in my sysprep answerfile, I always end up with canadian french (Multilangual standard), english US ...
1
vote
1
answer
2k
views
Sysprep'd VHD uploaded to Azure stuck on language selection in boot diagnostics.
I am attempting to upload a VHD to Azure (resource manager) from our internal WDS in order to maintain continuity with an internal platform between Azure and out local VMs.
I've been able to ...
1
vote
0
answers
325
views
Windows 10 Deployment: Sysprep failed to validate
I am attempting to capture a reference image of a Windows 10 machine. It is Windows 10 Education x64. I did a clean install and then added the apps I needed.
Now when I try to run sysprep
sysprep....
1
vote
1
answer
855
views
SysPrep windows 2012 r2 for VM cloning
I'm trying to SysPrep a 2012 r2 std edition VM that I built which has IIS already configured for my website as well as some additional applications already installed and configured the way I need them....
1
vote
1
answer
4k
views
Deploying a windows machine with ansible and sysprep
I was wondering if you could help me? I'm trying to deploy a windows server 2012R2 base image using the vsphere ansible module.
I have created a Vsphere template where the guest machine has WinRM ...
1
vote
1
answer
2k
views
Sysprep for EC2 instances
AWS' documents on creating a custom image reference using sysprep as one of the steps in the creation process. They don't actually specify if it's a required step or if it is run automatically as ...