Highlighted
Absent Member.
Absent Member.
4731 views

Windows 7 - sporadical sysprep error in specialize phase

Hey Everyone,

Currently I have some trouble with the unattended setup of Windows 7.

The Image was created like this...
Windows 7 Installation - Boot into Audit Mode - Software Installation & Configuration - sysprep - create Base Image

This Image is deployed with AddOn Images for Drivers, ZCM, AV, etc.
And a separate "Sysprep-AddOn" containing Stuff like dpinst.exe, the UNATTEND.XML etc.

When Deploying this, it works in 80% without any problems, but the other times the Setup fails in Specialize Phase (Windows-Shell-Setup).

The sysprep logs do not contain any information beyong the sysprep-run when building the image.
This happens on three different hardware types all the same.

This is the Windows Shell Setup part from my unattend file
        <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>
<RegisteredOwner>Mitarbeiter</RegisteredOwner>
<RegisteredOrganization>Customer Name XYZ</RegisteredOrganization>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>W. Europe Standard Time</TimeZone>
<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
</component>


"ComputerName" within unattend is deleted in order to have the setup ask for the workstation name - which works just great, if Setup does not crash

I found a few information on this problem, related to the copy Profile action, which were caused by deleting user profiles, which werent completely removed from the registry, but this isnt the case here, only the administrator is used during Configuration, no users added/deleted. I also checked the "pre-sysprep" state of the installation, no false profiles in registry

Once upon a time there was a guy named Ömse...
Labels (2)
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

Re: Windows 7 - sporadical sysprep error in specialize phase

Okay i just remembered I once again checked the wrong logs.

setuperr.log:
2011-05-16 10:17:27, Error [Shell Unattend] CopyProfileDirectory from C:\Users\Administrator failed (0x8007012b) [gle=0x0000012b]
2011-05-16 10:17:27, Error [Shell Unattend] _CopyToDefaultProfile failed (0x8007012b) [gle=0x0000012b]
2011-05-16 10:17:27, Error [Shell Unattend] CopyProfile failed (0x8007012b) [gle=0x0000012b]


setupact.log
2011-05-16 10:17:23, Info [Shell Unattend] Running 'specialize' pass
2011-05-16 10:17:23, Info [Shell Unattend] WindowsFeatures: Launched HideWindowsLive
2011-05-16 10:17:23, Info [Shell Unattend] TimeZone: Time zone set to 'W. Europe Standard Time'
2011-05-16 10:17:27, Error [Shell Unattend] CopyProfileDirectory from C:\Users\Administrator failed (0x8007012b) [gle=0x0000012b]
2011-05-16 10:17:27, Error [Shell Unattend] _CopyToDefaultProfile failed (0x8007012b) [gle=0x0000012b]
2011-05-16 10:17:27, Error [Shell Unattend] CopyProfile failed (0x8007012b) [gle=0x0000012b]
2011-05-16 10:17:27, Info [Shell Unattend] Exiting 'specialize' pass with status 0x8007012b

Once upon a time there was a guy named Ömse...
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Windows 7 - sporadical sysprep error in specialize phase

Okay i found the problem... Seems like I copied the "Administrative Tools" Folder into C:\USERS\ and this messed it up sometimes

Once upon a time there was a guy named Ömse...
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.