HELP!!! Trying to SysPrep Windows 7 Pro

Hi, I am trying finalize our deployment process for Windows 7 Pro in our environment, which will be replacing Windows XP Pro PCs.

The issue we are having is when we sysprep the Win 7 PC, it wipes out our domain accounts that we use.  And why we are at it, I am wondering if there is a way to copy the domain account over the default user account, like we did for Windows XP Pro deployments.

Our environment:
Forest/Domain Level: Windows Server 2003
Servers (DCs): Windows Server 2003 x64, Windows Server 2003 x32, Server 2008 R2
Clients PCs: Windows XP Pro, Windows 7 Pro

Thanks in advance.
rsnellmanIT ManagerAsked:
Who is Participating?
Ernie BeekExpertCommented:
Did you use the oobe and generalize switches?
rsnellmanIT ManagerAuthor Commented:
The problem lies with when Sysprep is used with Windows 7, it wipes out the domain accounts.  I would like to keep them on the PC, so when I clone them with Ghost, those accounts carry over to the ghosted PC, like we use to with Windows XP Pro.

This would give my IT Dept. an admin account that they could use to install individual software down the road for individuals on the user's PC.  Also, this would give the way to setup a default user account that reflects the setup/configuration of the PC, so if a user's PC fails for hardware reasons, they could move over to another PC in the office and just log in with their credentials and everything would be setup, ready to go.

Yes, we have used Sysprep oobe.

Is there sysprep options that will allow this?

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Ernie BeekConnect With a Mentor ExpertCommented:
Remembered something:

So there are options to rejoin the domain and add an account, but you'll have to do that using unattend.xml or AIK.

I've seen some good sites about that I'll try to find them for you.
rsnellmanIT ManagerAuthor Commented:
OK, let me ask this...I know sysprep removes the PC from the domain, that is fine, but is there a way to copy say a domain account settings/configurations to the default user account in Windows 7 Pro?

That would fix all my issues, I think for now.

Thanks again.
Ernie BeekExpertCommented:
Ehr, what do you mean with default user account? A domain computer always asks for a username/password. So there is no real default account.
Have you thought about using "Folder Redirection" and "Roaming Profiles" so that user profiles and data are stored on the server? This will allow a user to log into a replacement PC and have their profile settings and data accessible.
rsnellmanIT ManagerAuthor Commented:
With Windows XP Pro there was a Default User folder within Documents and Settings that we used to copy over with a domain account.  That way, anyone that logged into the system from there on, makiing any applicatoin registration or application setup unneccessary for future users.

I have considered roaming profiles, but just seems to use too much network bandwidth for us at this time.  Currently, we use mapped drives instead of folder redirection, but I am consider folder redirection in the future.

I was just wondering if Windows 7 Pro had a similar folder like Windows XP Pro did for copying profile settings for whomever log onto the PC will have the same settings due to the default user account copied over.

RootsManConnect With a Mentor Commented:
The process of creating a custom default user profile has changed from Windows XP.

You can customize the default user profile by using the following Copy Profile parameter in the Unattend.xml answer file that is passed to the Sysprep.exe tool:


Open in new window

See: How to customize default user profiles in Windows 7 and in Windows Server 2008 R2
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.