Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Sysprep - Windows 7 - unable to sysprep image that joins domain


12 Sep 2012   #1

Windows 7 Home Premium 64bit
 
 
Sysprep - Windows 7 - unable to sysprep image that joins domain

Good morning all:

Below is my unattend.xml. I am using the sysprep + Windows 7 for creating virtual machines in Red Hat Enterprise Virtualization 3.0 but having difficulty getting them to auto-join the domain. My sysprep progression proceeds normally and completes. The initial boot of the image pauses for a computername, then after completion will allow login. The newly created Windows 7 machine/image will not allow either administrator login or domain login. I suspect my order of operations may be incorrect in the unattend.xml file.

Thanks for any help you guys can provide. I'll be happy to quickly answer any questions you have.





Code:
 
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" 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">
<InputLocale>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>en-US</UserLocale>
</component>
<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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password> <Value>aABlAGwAcAB1ADgAMQAyAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Description>First Admin User</Description>
<DisplayName>administrator</DisplayName>
<Group>administrators</Group>
<Name>administrator</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<TimeZone>Eastern Standard Time</TimeZone>
</component>
</settings>
<settings pass="specialize">
<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">
<ProductKey>XXXXX-XXXX-XXXXX-XXXXX-XXXXX</ProductKey>
</component>
<component name="Microsoft-Windows-UnattendedJoin" 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">
<Identification>
<Credentials>
<Domain>OurDomain</Domain>
<Password>password</Password>
<Username>user</Username>
</Credentials>
<JoinDomain>OurDomain</JoinDomain>
<MachineObjectOU>ou=pcs,dc=ourdomain,dc=org</MachineObjectOU>
</Identification>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>


My System SpecsSystem Spec
.

12 Sep 2012   #2

Win 7pro32 & 64bit
 
 

the solution may lay in your sysprep rather than your unattend.xml file (which looks correct to me)

I think in sysprep you may have the generalize flag set which means its creating a generic image rather than a specific image.

I would suggest manually running sysprep after the install rather than from a script. ensuring the generalize checkbox is not ticked.
My System SpecsSystem Spec
12 Sep 2012   #3

Windows 7 Home Premium 64bit
 
 

Thanks for the reply Brynster. I'll investigate the Generalize flag by doing a new installation, Ctrl+Shift+f3 at the username prompt, then ensuring the checkbox for Generalize is not checked.
My System SpecsSystem Spec
.


12 Sep 2012   #4

Windows 7 Home Premium 64bit
 
 

actually since I started to run through the installation process and got to the Generalize part, I recall that I cancel that Sys Prep Tool window bc I'm following this guide:

Sysprep a Windows 7 Machine

The guide will tell you to cancel it and move your configured unattend.xml file in place and run a command to kick off sysprep.
My System SpecsSystem Spec
12 Sep 2012   #5

Windows 7 Home Premium 64bit
 
 

Still faced with the original issue.
My System SpecsSystem Spec
13 Sep 2012   #6

Windows 7 Home Premium 64bit
 
 

I tried removing the OU line and then running sysprep. Same result. Our windows xp sysprep looks like the following:

;SetupMgrTag
[Unattended]
OemSkipEula=Yes
InstallFilesPath=C:\sysprep\i386
TargetPath=\WINDOWS

[GuiUnattended]
AdminPassword="********"
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=35
OemSkipWelcome=1

[UserData]
ProductKey=*****-*****-*****-*****-*****
FullName="Information Technology"
OrgName="Our Company Name"
ComputerName=$ComputerName$

[Display]
BitsPerPel=32
Xresolution=1024
YResolution=768

[TapiLocation]
CountryCode=1
Dialing=Tone
AreaCode=302
LongDistanceAccess="1"

[Identification]
JoinDomain=OurDomain
DomainAdmin=OurDomain\domainaccount
DomainAdminPassword=********

[Networking]
InstallDefaultComponents=Yes

[Branding]
BrandIEUsingUnattended=Yes

[Proxy]
Proxy_Enable=0
Use_Same_Proxy=0
My System SpecsSystem Spec
13 Sep 2012   #7

Win 7pro32 & 64bit
 
 

Very odd,
Let me whip up a test image and see what comes of it. Win 7 or Win XP you mention both?
My System SpecsSystem Spec
13 Sep 2012   #8

Windows 7 Home Premium 64bit
 
 

thanks so much for trying. windows 7 is the answer. maybe we can see if the unattend.xml even works...
My System SpecsSystem Spec
13 Sep 2012   #9

Windows 7 Home Premium 64bit
 
 

I did notice that in the article I was using it did include generalize....

sysprep /generalize /oobe /shutdown /unattend:unattend.xml
My System SpecsSystem Spec
04 Nov 2012   #10

Windows 7 Ultimate x64
 
 

irishredbloke I know it is off topic, but there is no way to PM in this forum, so I am leaving information here. I have some compatibility settings issue with my XFX 750i and q9550. You have somewhat similar system is I do. I kindly ask you to have a look at my thread XFX MB-750I + q9550 Quad Core = absolute instability ,Lockups. HELP! and advise me if it is not hard for you. First of all, how ,on earth, did you make it work XFX 750i with "q" Quad Core series CPU?
My System SpecsSystem Spec
Reply

 Sysprep - Windows 7 - unable to sysprep image that joins domain




Thread Tools



Similar help and support threads for2: Sysprep - Windows 7 - unable to sysprep image that joins domain
Thread Forum
Sysprep hell: sysprep windows setup could not configure windows to run Installation & Setup
Sysprep fails in audit mode after joining domain General Discussion
Joining a DNS Domain through sysprep unattend Network & Sharing
Basic SYSPREP and Join Domain Installation & Setup
Failed to reboot after sysprep (deploying windows 7 x32 image) Installation & Setup
Cannot delete domain account after using Sysprep General Discussion
Sysprep: Audit Mode and Cached Domain Accounts Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:54 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33