Netflex
asked on
Windows 7 sysprep answer file
Ik probeer middels het commando sysprep /shutdown /generalize / oobe /unattend:unattend.xml een windows 7 64 bits machine te syspreppen. Dit functioneerd prima met de volgende answer file:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microso ft-com:una ttend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-In ternationa l-Core-Win PE" processorArchitecture="amd 64" publicKeyToken="31bf3856ad 364e35" language="neutral" versionScope="nonSxS">
<SetupUILanguage>
<UILanguage>nl-US</UILangu age>
</SetupUILanguage>
<InputLocale>0409:00000413 </InputLoc ale>
<UserLocale>nl-US</UserLoc ale>
<UILanguage>nl-US</UILangu age>
<SystemLocale>nl-US</Syste mLocale>
</component>
<component name="Microsoft-Windows-Se tup" processorArchitecture="x86 " publicKeyToken="31bf3856ad 364e35" language="neutral" versionScope="nonSxS">
<UserData>
<AcceptEula>true</AcceptEu la>
<FullName>************</Fu llName>
<Organization>************ </Organiza tion>
</UserData>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Sh ell-Setup" processorArchitecture="amd 64" publicKeyToken="31bf3856ad 364e35" language="neutral" versionScope="nonSxS">
<OOBE>
<HideEULAPage>true</HideEU LAPage>
<NetworkLocation>Work</Net workLocati on>
<ProtectYourPC>1</ProtectY ourPC>
<SkipMachineOOBE>true</Ski pMachineOO BE>
<SkipUserOOBE>true</SkipUs erOOBE>
</OOBE>
<TimeZone>W. Europe Standard Time</TimeZone>
<UserAccounts>
<AdministratorPassword>
<Value>************</Value >
<PlainText>true</PlainText >
</AdministratorPassword>
<LocalAccounts>
<LocalAccount>
<Password>
<Value></Value>
<PlainText>true</PlainText >
</Password>
<Description>************< /Descripti on>
<DisplayName>************< /DisplayNa me>
<Group>Users;</Group>
<Name>>************</</Nam e>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
<component name="Microsoft-Windows-In ternationa l-Core" processorArchitecture="amd 64" publicKeyToken="31bf3856ad 364e35" language="neutral" versionScope="nonSxS">
<InputLocale>nl-US</InputL ocale>
<UserLocale>nl-US</UserLoc ale>
<UILanguage>nl-US</UILangu age>
<SystemLocale>nl-US</Syste mLocale>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Sh ell-Setup" processorArchitecture="amd 64" publicKeyToken="31bf3856ad 364e35" language="neutral" versionScope="nonSxS">
<ComputerName>*</ComputerN ame>
<CopyProfile>false</CopyPr ofile>
<RegisteredOrganization>** ********** </Register edOrganiza tion>
<RegisteredOwner>********* ***</Regis teredOwner >
<Display>
<ColorDepth>32</ColorDepth >
<HorizontalResolution>1024 </Horizont alResoluti on>
<RefreshRate>60</RefreshRa te>
<VerticalResolution>768</V erticalRes olution>
</Display>
</component>
</settings>
</unattend>
Nu heb ik de answer file aangepast zoals hieronder (dikgedrukt) zodat er tijdens de /generalize geen drivers worden weggegooid. Het image is namelijk voor hetzelfde type hardware.
Na deze aanpassing krijg ik de volgende foutmelding waardoor de sysprep niet voltooid (helaas in het nederlands):
"Kan het antwoordbestand voor installatie zonder toezicht niet parseren of verwerken voor fase [generalize]. Een onderdeel of instelling in het antwoordbestand bestaat niet".
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microso ft-com:una ttend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-In ternationa l-Core-Win PE" processorArchitecture="amd 64" publicKeyToken="31bf3856ad 364e35" language="neutral" versionScope="nonSxS">
<SetupUILanguage>
<UILanguage>nl-US</UILangu age>
</SetupUILanguage>
<InputLocale>0409:00000413 </InputLoc ale>
<UserLocale>nl-US</UserLoc ale>
<UILanguage>nl-US</UILangu age>
<SystemLocale>nl-US</Syste mLocale>
</component>
<component name="Microsoft-Windows-Se tup" processorArchitecture="x86 " publicKeyToken="31bf3856ad 364e35" language="neutral" versionScope="nonSxS">
<UserData>
<AcceptEula>true</AcceptEu la>
<FullName>************</Fu llName>
<Organization>************ </Organiza tion>
</UserData>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Sh ell-Setup" processorArchitecture="amd 64" publicKeyToken="31bf3856ad 364e35" language="neutral" versionScope="nonSxS">
<OOBE>
<HideEULAPage>true</HideEU LAPage>
<NetworkLocation>Work</Net workLocati on>
<ProtectYourPC>1</ProtectY ourPC>
<SkipMachineOOBE>true</Ski pMachineOO BE>
<SkipUserOOBE>true</SkipUs erOOBE>
</OOBE>
<TimeZone>W. Europe Standard Time</TimeZone>
<UserAccounts>
<AdministratorPassword>
<Value>************</Value >
<PlainText>true</PlainText >
</AdministratorPassword>
<LocalAccounts>
<LocalAccount>
<Password>
<Value></Value>
<PlainText>true</PlainText >
</Password>
<Description>************< /Descripti on>
<DisplayName>************< /DisplayNa me>
<Group>Users;</Group>
<Name>>************</</Nam e>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
<component name="Microsoft-Windows-In ternationa l-Core" processorArchitecture="amd 64" publicKeyToken="31bf3856ad 364e35" language="neutral" versionScope="nonSxS">
<InputLocale>nl-US</InputL ocale>
<UserLocale>nl-US</UserLoc ale>
<UILanguage>nl-US</UILangu age>
<SystemLocale>nl-US</Syste mLocale>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Sh ell-Setup" processorArchitecture="amd 64" publicKeyToken="31bf3856ad 364e35" language="neutral" versionScope="nonSxS">
<ComputerName>*</ComputerN ame>
<CopyProfile>false</CopyPr ofile>
<RegisteredOrganization>** ********** </Register edOrganiza tion>
<RegisteredOwner>********* ***</Regis teredOwner >
<Display>
<ColorDepth>32</ColorDepth >
<HorizontalResolution>1024 </Horizont alResoluti on>
<RefreshRate>60</RefreshRa te>
<VerticalResolution>768</V erticalRes olution>
</Display>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Pn pSysprep" processorArchitecture="amd 64" publicKeyToken="31bf3856ad 364e35" language="neutral" versionScope="nonSxS">
<PersistAllDeviceInstalls> true</Pers istAllDevi ceInstalls >
<DoNotCleanUpNotPresentDev ices>true< /DoNotClea nUpNotPres entDevices >
</component>
</settings>
</unattend>
Waar zit de fout?
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microso
<settings pass="windowsPE">
<component name="Microsoft-Windows-In
<SetupUILanguage>
<UILanguage>nl-US</UILangu
</SetupUILanguage>
<InputLocale>0409:00000413
<UserLocale>nl-US</UserLoc
<UILanguage>nl-US</UILangu
<SystemLocale>nl-US</Syste
</component>
<component name="Microsoft-Windows-Se
<UserData>
<AcceptEula>true</AcceptEu
<FullName>************</Fu
<Organization>************
</UserData>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Sh
<OOBE>
<HideEULAPage>true</HideEU
<NetworkLocation>Work</Net
<ProtectYourPC>1</ProtectY
<SkipMachineOOBE>true</Ski
<SkipUserOOBE>true</SkipUs
</OOBE>
<TimeZone>W. Europe Standard Time</TimeZone>
<UserAccounts>
<AdministratorPassword>
<Value>************</Value
<PlainText>true</PlainText
</AdministratorPassword>
<LocalAccounts>
<LocalAccount>
<Password>
<Value></Value>
<PlainText>true</PlainText
</Password>
<Description>************<
<DisplayName>************<
<Group>Users;</Group>
<Name>>************</</Nam
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
<component name="Microsoft-Windows-In
<InputLocale>nl-US</InputL
<UserLocale>nl-US</UserLoc
<UILanguage>nl-US</UILangu
<SystemLocale>nl-US</Syste
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Sh
<ComputerName>*</ComputerN
<CopyProfile>false</CopyPr
<RegisteredOrganization>**
<RegisteredOwner>*********
<Display>
<ColorDepth>32</ColorDepth
<HorizontalResolution>1024
<RefreshRate>60</RefreshRa
<VerticalResolution>768</V
</Display>
</component>
</settings>
</unattend>
Nu heb ik de answer file aangepast zoals hieronder (dikgedrukt) zodat er tijdens de /generalize geen drivers worden weggegooid. Het image is namelijk voor hetzelfde type hardware.
Na deze aanpassing krijg ik de volgende foutmelding waardoor de sysprep niet voltooid (helaas in het nederlands):
"Kan het antwoordbestand voor installatie zonder toezicht niet parseren of verwerken voor fase [generalize]. Een onderdeel of instelling in het antwoordbestand bestaat niet".
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microso
<settings pass="windowsPE">
<component name="Microsoft-Windows-In
<SetupUILanguage>
<UILanguage>nl-US</UILangu
</SetupUILanguage>
<InputLocale>0409:00000413
<UserLocale>nl-US</UserLoc
<UILanguage>nl-US</UILangu
<SystemLocale>nl-US</Syste
</component>
<component name="Microsoft-Windows-Se
<UserData>
<AcceptEula>true</AcceptEu
<FullName>************</Fu
<Organization>************
</UserData>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Sh
<OOBE>
<HideEULAPage>true</HideEU
<NetworkLocation>Work</Net
<ProtectYourPC>1</ProtectY
<SkipMachineOOBE>true</Ski
<SkipUserOOBE>true</SkipUs
</OOBE>
<TimeZone>W. Europe Standard Time</TimeZone>
<UserAccounts>
<AdministratorPassword>
<Value>************</Value
<PlainText>true</PlainText
</AdministratorPassword>
<LocalAccounts>
<LocalAccount>
<Password>
<Value></Value>
<PlainText>true</PlainText
</Password>
<Description>************<
<DisplayName>************<
<Group>Users;</Group>
<Name>>************</</Nam
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
<component name="Microsoft-Windows-In
<InputLocale>nl-US</InputL
<UserLocale>nl-US</UserLoc
<UILanguage>nl-US</UILangu
<SystemLocale>nl-US</Syste
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Sh
<ComputerName>*</ComputerN
<CopyProfile>false</CopyPr
<RegisteredOrganization>**
<RegisteredOwner>*********
<Display>
<ColorDepth>32</ColorDepth
<HorizontalResolution>1024
<RefreshRate>60</RefreshRa
<VerticalResolution>768</V
</Display>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Pn
<PersistAllDeviceInstalls>
<DoNotCleanUpNotPresentDev
</component>
</settings>
</unattend>
Waar zit de fout?
I wish i could speak german, its such a nice language
Und so kann ich!!!
ASKER
Sorry :-)
Im trying to syspre a windows 7 64 bits machine with the answer file provided. The upper answer file works fine. When i change the answer file to not remove device drivers with the section:
<settings pass="generalize">
<component name="Microsoft-Windows-Pn pSysprep" processorArchitecture="amd 64" publicKeyToken="31bf3856ad 364e35" language="neutral" versionScope="nonSxS">
<PersistAllDeviceInstalls> true</Pers istAllDevi ceInstalls >
<DoNotCleanUpNotPresentDev ices>true< /DoNotClea nUpNotPres entDevices >
</component>
</settings>
i get an error in dutch stating:
Cant
"Could the answer file for unattended installation does not parse or process for Phase [generalize]. A component or institution in the answer file does not exist". (google translate)
What is wrong with teh answer file?
Im trying to syspre a windows 7 64 bits machine with the answer file provided. The upper answer file works fine. When i change the answer file to not remove device drivers with the section:
<settings pass="generalize">
<component name="Microsoft-Windows-Pn
<PersistAllDeviceInstalls>
<DoNotCleanUpNotPresentDev
</component>
</settings>
i get an error in dutch stating:
Cant
"Could the answer file for unattended installation does not parse or process for Phase [generalize]. A component or institution in the answer file does not exist". (google translate)
What is wrong with teh answer file?
Hallo,
Voor zover ik kan zien is
<DoNotCleanUpNotPresentDev ices>true< /DoNotClea nUpNotPres entDevices >
geen bekent component...
Waar heb je deze info gevonden?
Voor zover ik kan zien is
<DoNotCleanUpNotPresentDev
geen bekent component...
Waar heb je deze info gevonden?
ASKER
when i remove <DoNotCleanUpNotPresentDev ices>true< /DoNotClea nUpNotPres entDevices > from the answer file sysprep finishes with no errors..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
arghh <DoNotCleanUpNotPresentDevices>true</DoNot CleanUpNotPresentDevices>
it should be <DoNotCleanUpNonPresentDevices>true</DoNot CleanUpNonPresentDevices>
it should be <DoNotCleanUpNonPresentDevices>true</DoNot