Windows7 mit Sysprep und unattend.xml Problem
Hallo. Mein problem betrifft die versiegelung von Windows7 mit sysprerp.
Hab Win7 inst und befinde mich im "Audit Mode", hab da alle meine einstellungen gamacht und möchte di installation jetzt mit sysprep versiegeln und den "Administrator" Account in den "Default" user kopieren. bei Vista war das noch einfach über "systemeigenschaften->Benutzerprofile" möglich.
Bei Win7 wurde diese option nun leider deaktiviert und man soll dies mithilfe einer "unattend.XML" und dem "<CopyProfile>true</CopyProfile>" Eintrag machen.
Mein Problem liegt jetzt bei der unattend.XML die ich nicht hin bekomme. Ich möchte nur den "CopyProfile" ausführen. Bekomme beim ausführen von sysprerp einen schwerwiegenden fehler, leider ohne genauere infos wie Error code usw.
hoffe mir kann wer weiter helfen.
PS: meine unattend.XML
[QUOTE]<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CopyProfile>true</CopyProfile>
<RegisteredOrganization />
<RegisteredOwner />
</component>
</settings>
<cpifflineImage cpi:source="wim:d:/sources/install.wim#Windows 7 HOMEPREMIUM" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend> [/QUOTE]
Hab Win7 inst und befinde mich im "Audit Mode", hab da alle meine einstellungen gamacht und möchte di installation jetzt mit sysprep versiegeln und den "Administrator" Account in den "Default" user kopieren. bei Vista war das noch einfach über "systemeigenschaften->Benutzerprofile" möglich.
Bei Win7 wurde diese option nun leider deaktiviert und man soll dies mithilfe einer "unattend.XML" und dem "<CopyProfile>true</CopyProfile>" Eintrag machen.
Mein Problem liegt jetzt bei der unattend.XML die ich nicht hin bekomme. Ich möchte nur den "CopyProfile" ausführen. Bekomme beim ausführen von sysprerp einen schwerwiegenden fehler, leider ohne genauere infos wie Error code usw.
hoffe mir kann wer weiter helfen.
PS: meine unattend.XML
[QUOTE]<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CopyProfile>true</CopyProfile>
<RegisteredOrganization />
<RegisteredOwner />
</component>
</settings>
<cpifflineImage cpi:source="wim:d:/sources/install.wim#Windows 7 HOMEPREMIUM" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend> [/QUOTE]
Bitte markiere auch die Kommentare, die zur Lösung des Beitrags beigetragen haben
Content-ID: 127312
Url: https://administrator.de/contentid/127312
Ausgedruckt am: 08.11.2024 um 09:11 Uhr
5 Kommentare
Neuester Kommentar
also bei mir kommt leider immer noch der schwerwiegende fehler, obwohl ich den netzwerk dienst beendet habe.
in der setupact.log steht folgendes:
Beginning of a new sysprep run ===
2009-10-19 13:10:39, Info SYSPRP ========================================================
2009-10-19 13:10:39, Info [0x0f004d] SYSPRP The time is now 2009-10-19 13:10:39
2009-10-19 13:10:39, Info [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\sysprep\Panther
2009-10-19 13:10:39, Info [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
2009-10-19 13:10:39, Info [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
2009-10-19 13:10:40, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
2009-10-19 13:10:40, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
2009-10-19 13:10:40, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
2009-10-19 13:10:40, Info [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread
2009-10-19 13:10:40, Info [sysprep.exe] UnattendFindAnswerFile: Looking at explicitly provided unattend file [C:\Windows\Panther\Unattend.xml]...
2009-10-19 13:10:40, Info [sysprep.exe] UnattendFindAnswerFile: [C:\Windows\Panther\Unattend.xml] meets criteria for an explicitly provided unattend file.
2009-10-19 13:10:40, Info SYSPRP SysprepSearchForUnattend: Using unattend file at [C:\Windows\Panther\Unattend.xml].
2009-10-19 13:10:40, Info SYSPRP SysprepSearchForUnattend: [generalize] pass in unattend file [C:\Windows\Panther\Unattend.xml] either doesn't exist or passed validation
2009-10-19 13:10:40, Info SYSPRP WinMain:Found unattend file at [C:\Windows\Panther\Unattend.xml]; caching...
2009-10-19 13:10:40, Info SYSPRP WinMain:Processing unattend file's 'generalize' pass...
2009-10-19 13:10:40, Info SYSPRP Sysprep is running a generalize pass with the following unattend file: [%windir%\panther\unattend.xml]
2009-10-19 13:10:40, Info SYSPRP RunUnattendGeneralizePass: Sysprep unattend generalize pass exits; hr = 0x0, hrResult = 0x0, bRebootRequired = 0x0
2009-10-19 13:10:40, Info [0x0f00ac] SYSPRP WinMain:Processing 'cleanup' external provider request.
2009-10-19 13:10:40, Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 31
2009-10-19 13:10:40, Error [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f
2009-10-19 13:10:43, Info [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
2009-10-19 13:10:43, Info [0x0f0052] SYSPRP Shutting down SysPrep log
2009-10-19 13:10:43, Info [0x0f004d] SYSPRP The time is now 2009-10-19 13:10:43
in der setupact.log steht folgendes:
Beginning of a new sysprep run ===
2009-10-19 13:10:39, Info SYSPRP ========================================================
2009-10-19 13:10:39, Info [0x0f004d] SYSPRP The time is now 2009-10-19 13:10:39
2009-10-19 13:10:39, Info [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\sysprep\Panther
2009-10-19 13:10:39, Info [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
2009-10-19 13:10:39, Info [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
2009-10-19 13:10:40, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
2009-10-19 13:10:40, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
2009-10-19 13:10:40, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
2009-10-19 13:10:40, Info [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread
2009-10-19 13:10:40, Info [sysprep.exe] UnattendFindAnswerFile: Looking at explicitly provided unattend file [C:\Windows\Panther\Unattend.xml]...
2009-10-19 13:10:40, Info [sysprep.exe] UnattendFindAnswerFile: [C:\Windows\Panther\Unattend.xml] meets criteria for an explicitly provided unattend file.
2009-10-19 13:10:40, Info SYSPRP SysprepSearchForUnattend: Using unattend file at [C:\Windows\Panther\Unattend.xml].
2009-10-19 13:10:40, Info SYSPRP SysprepSearchForUnattend: [generalize] pass in unattend file [C:\Windows\Panther\Unattend.xml] either doesn't exist or passed validation
2009-10-19 13:10:40, Info SYSPRP WinMain:Found unattend file at [C:\Windows\Panther\Unattend.xml]; caching...
2009-10-19 13:10:40, Info SYSPRP WinMain:Processing unattend file's 'generalize' pass...
2009-10-19 13:10:40, Info SYSPRP Sysprep is running a generalize pass with the following unattend file: [%windir%\panther\unattend.xml]
2009-10-19 13:10:40, Info SYSPRP RunUnattendGeneralizePass: Sysprep unattend generalize pass exits; hr = 0x0, hrResult = 0x0, bRebootRequired = 0x0
2009-10-19 13:10:40, Info [0x0f00ac] SYSPRP WinMain:Processing 'cleanup' external provider request.
2009-10-19 13:10:40, Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 31
2009-10-19 13:10:40, Error [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f
2009-10-19 13:10:43, Info [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
2009-10-19 13:10:43, Info [0x0f0052] SYSPRP Shutting down SysPrep log
2009-10-19 13:10:43, Info [0x0f004d] SYSPRP The time is now 2009-10-19 13:10:43