Questions tagged [sysprep]

Sysprep is the name of Microsoft's System Preparation Utility for Microsoft Windows operating system deployment.

History

Sysprep was originally introduced for use with Windows NT 4.0. Later versions introduced for Windows 2000 and Windows XP are available for download from Microsoft and included in the Windows CD. Windows Vista marks the first version of Microsoft's NT operating system to include a hardware abstraction layer (HAL) independent version of Sysprep in the "out of box" installation.

Purpose

Desktop deployment is typically performed via disk cloning applications. Sysprep can be used to prepare an operating system for disk cloning and restoration via a disk image.

Windows operating system installations include many unique elements per installation that need to be "generalized" before capturing and deploying a disk image to multiple computers. Some of these elements include:

  • Computer name
  • Security Identifier (SID)
  • Driver Cache

Sysprep seeks to solve these issues by allowing for the generation of new computer names, unique SIDs, and custom driver cache databases during the Sysprep process.

Administrators can use tools such as SetupMgr.exe (Windows XP) or the Windows Automated Installation Kit (Windows Vista/7/Server 2008) to generate answer files that Sysprep will process on new computer deployments.

Screenshot

enter image description here

187 questions
0
votes
1 answer

Unattend.xml getting overwritten during first boot

I'm building images for OpenStack with KVM using these tools: It works beautifully in generating a Win2KR2 image, and I get a qcow2 image that boots nicely using Horizon and a KVM compute node, except that during Windows boot it disregards the…
0
votes
1 answer

xen server windows template sysprep Autounattend

Got a Xen Server Template Windows 2008 R2, thats had alot of things already set (disk size, server manager disabled etc, etc) We spin up, windows patch host and re-run sysprep My question is, can you re-run sysrep with autounattend.xml ?? to disable…
stravze
  • 13
  • 3
0
votes
1 answer

When using the Windows Automated Installation Kit do I need install.wim?

I've prepared an unattended install answer file using the Windows Automated Installation Kit (WAIK) so I can sysprep a Windows 2008 image. This obviously required install.wim from the Windows source DVD for the purposes of creating a catalogue. Do I…
Kev
  • 7,877
  • 18
  • 81
  • 108
0
votes
2 answers

Lost RDP access to Azure VM after Sysprep

I made a stupid mistake. While looking for an easy way to make a backup of my Azure VM I followed directions to make a snapshot of the VM machine. In AWS (*which I am used to) a snapshot is a quick way to make an easily restorable backup. I guess MS…
0
votes
0 answers

Recovering a badly sysprepped Windows Server 2012 R2 image

I have a Windows Server 2012 R2 image in Azure. It has been curated by a number of people in my org. A lot of software installed and configured etc. The VM it was created from was then sysprepped without the /generalize parameter. Now if we create…
Doug
  • 283
  • 2
  • 10
0
votes
1 answer

use sysprep for windows custom deployment, but leave settings like keyboard, start menu the same

I am trying to create a "base/reference" installation of Windows 8.1 which I can use to deploy to other computers with different hardware. After a lot of research, I was pointed to sysprep and ImageX and managed to get a Windows installation up and…
Karl Cassar
  • 191
  • 2
  • 8
0
votes
1 answer

Display add user screen in Windows Server OOBE

I am currently making system images for deployment to our production hardware. I am creating both 32-bit Windows Standard 8 Embedded and 64-bit Windows Server 2012 images. What I am trying to do is make the OOBE process as consistent as possible…
takesides
  • 101
  • 1
  • 10
0
votes
0 answers

Server 2012 SysPrepped Image Prompts to Approve Eula after Domain Join

I am trying to upgrade our base web server image from Server 2008 R2 to Server 2012. Our cloud vendor allows us to SysPrep an IAAS instance, image it and then restore it. I have this part all working to a point. After I restore my sysprepped image,…
0
votes
2 answers

Date/time format not preserved during Windows 7 sysprep

I've been following the instructions from Mark Minasi's newsletter article to sysprep a Windows 7 image. However, during a test deployment I discovered that my time and date format changes were not preserved when creating a new user on the newly…
hpy
  • 845
  • 3
  • 18
  • 28
0
votes
1 answer

Will Windows 7 sysprep keep group policy settings?

As part of my organisation's Windows 7 rollout process, we would deploy a Windows 7 image onto a target machine, then manually install LocalGPO on it followed by applying a set of group policies via the following script (right now we have to…
hpy
  • 845
  • 3
  • 18
  • 28
0
votes
1 answer

How can I pass parameters to a sysprepped Windows 2012 image at first boot using an unattend.xml file?

I'm trying to create a Windows 2012 sysprepped image that I can boot from script, for creating automated test environments, and finding myself a little confused. My understanding was that I could sysprep the box using this syntax: C:\>sysprep…
0
votes
2 answers

Injecting Drivers with WDS win 7 image

HI I am creating a Windows 7 Image to be deployed out through WDS. THe problem I am having is so new that when I run sysprep to install the drivers it crashes. So my question is where should I install my drivers so it can continue and go through…
BigCAT41
  • 27
  • 5
0
votes
1 answer

OS Deployment via PXE - Preparing and Using Images in Many Small Environments (MSP)

I've got a project going on which I'm running into a bit of a roadblock on. I'm interested in learning if there is a better alternative to what my MSP does for OS deployment, currently. Most of our clients are small (10-20) seat environments - we…
Daniel
  • 39
  • 1
  • 5
0
votes
2 answers

Why is OOBE running on every boot of a sysprep`d virtual machine?

In an attempt to minimize the disk space used by a bunch of Windows VMs I'm about to work with, I've tried to create a base image in the hope of using differencing disks. I'm nearly there but OOBE keeps running every time I boot a VM and I have to…
Greg B
  • 1,598
  • 5
  • 17
  • 32
0
votes
4 answers

Are there any known issues with NewSID and Windows 2008 server?

We have a scenario where it's not possible for us to use Sysprep with Windows 2008. Has anyone had any issues using NewSID to generate new SID's on cloned Windows 2008 images? Update: According to Mark Russinovich, the author of NewSID, it doesn't…
Kev
  • 7,877
  • 18
  • 81
  • 108