Questions tagged [sysprep]
48 questions
0
votes
2 answers
sysprep on Win10 exits with error RunExternalDlls:Not running DLLs
I try to use sysprep on Win 10 Pro. I use these options:
Generalize
OOBE
Shutdown
Log file setuperr.log shows:
[0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state,…

JRr
- 1,552
- 1
- 19
- 23
0
votes
1 answer
Sysprep fatal error Could not load DLL DscCore.dll[gle=0x0000007e]
Azure VM, Win Server 2012 was created from snapshot of image copied from another region. Installed asp.net apps, all is working except sysprep, need to create a new image. setupact.log has:
Error [0x0f0085] SYSPRP LaunchDll:Could not load DLL…

Gary S
- 46
- 6
0
votes
0 answers
Azure Image fails to deploy to VMSS or VM
I have an image, which has been sysprep'd with no unattend.xml file.
When I try to deploy it to a VMSS, it fails with:
New-AzVmss : Long running operation failed with status 'Failed'.
Additional Info:'OS provisioning for VM 'Lancelot-vmss_0'…

Jeffrey
- 2,095
- 3
- 20
- 36
0
votes
1 answer
Using terraform and sysprep/unattend to provision windows vm
I'm trying to deploy virtual machines in vsphere using terraform and running into issues with sysprep/unattend files. I am supplying an unattend.xml file using
customize {
windows_sysprep_text =…

Mike Davis
- 1
- 2
0
votes
1 answer
Sysprep fails when generalizing VM during sysprep cleanup
I'm trying to generalize an Azure VM image. When running sysprep, the following errors get logged error log
SYSPRP WinMain:Processing 'cleanup' external provider request. 2019-01-29 10:32:52, Info [0x0f006c]
SYSPRP RunExternalDlls:Running…

Geekn
- 2,650
- 5
- 40
- 80
0
votes
1 answer
Sysprep is getting failed
I tried to run sysprep in one windows vm hosted in azure, it failed. below error I can see in setuperr log. Could you please check what is the problem here?
2018-08-20 12:53:10, Error [0x0f0060] SYSPRP ParseCommands:Found unsupported command…

Suman Ghosh
- 1,317
- 3
- 12
- 18
0
votes
3 answers
Launch SYSPREP in C#
I have found this via stack-overflow search but no one has given a solution that works. I am writing a simple program and the first part of it is to launch sysprep.exe with some arguments. For some reason sysprep does not launch when code is run. It…

Costa
- 39
- 6
0
votes
1 answer
How to specify administrator password on Windows 2012 when Run Sysprep with the EC2Config Service
I am creating AMI based on hardened Window2012, this is the steps I did:
change some local group policies
run some scripts to install/uninstall some applications
enable some windows features
run ec2config.exe –sysprep to create ami
The problem I…

Emma
- 3
- 4
0
votes
1 answer
I used sysprep on a VM (new portal) and lost connectivity to the machine
In the new portal, there's an icon that says 'Capture'. I assume this was for capturing an image of a VM (snapshot), but it was greyed out. Doing a little reading, several posts suggested running sysprep to prepare the machine for a capture.
I ran…

Quark Soup
- 4,272
- 3
- 42
- 74
0
votes
1 answer
Recreate SID on Google Cloud VM
I have two virtual machines running in google cloud. They both run MS Server 2012.
It appears that the person who created them used a clone as the machine SID's are the same. This is now causing a problem for things such as WebRoot AV which identify…

Mr_M_Cox
- 23
- 4
0
votes
1 answer
Windows Server 2016TP5 Sysprep setupdigetclassdevs failed with error 0
I do Windows Server 2016TP5 build with Packer.
ISO is downloaded from MSDN, and hash is fine.
Packer on my machine is working fine with Linux and Windows Server 2012R2.
Autounattend and scripts are almost the same as for 2012R2, all scripts can run…

kagarlickij
- 7,327
- 10
- 36
- 71
0
votes
1 answer
Ovirt Python SDK and Sysprep
I understand how to set an OS hostname in CloudInit for a Linux VM using the Python SDK like below, but how would I do the same thing for setting an OS hostname in a Windows VM using Sysprep? I can’t find any examples of this anywhere.
…

perdurabo93
- 463
- 1
- 6
- 13
0
votes
1 answer
Scripting Sysprep
I'm trying to create a script that will automate the sysprep process but I'm running into issues with the reg add command. I keep getting Invalid Syntax even though everything looks correct according to the reg add /? command.
Here's the script:
reg…

monoXcide
- 1
- 1
0
votes
2 answers
Something's missing from my Unattended XML
I'm using this brief unattended.xml file ive written to be used with sysprep, and although the basics are quite obvious, i think there's an issue with either the layout, headings, or maybe even the settings pass, anyone have any ideas?

Rowan Lea
- 1
- 1
0
votes
1 answer
Provide password to SSOCONFIG.EXE as parameter?
How can you provide the password to ssoconfig.exe -restoresecret as parameter?
I'm trying to use the sysprep scripts from Colin Meade on TechNet
Checked on MSDN and ssoconfig -restoresecret only has as a parameter ... no reference to…

SteveC
- 15,808
- 23
- 102
- 173