本帖最后由 viciong 于 2021-1-12 18:27 编辑
系统版本:20H2 19042.685 优启通3.6.2020.1208和ES5.19.802.282
初始环境桌面设置为默认C盘,然后在第二阶段封装 ,变更用户为D:\USERS盘就会报错,提示C:\WINDOWS\PANTHER\UNATTEND文件 pass[oobeSystem]中[microsoft-windows-shell-setop]出错。]
麻烦各位大佬看下是什么问题,不甚感激,好人一生平安
系统为20H2版本。优启通和ES都是刚下的最新版本的。不变更用户目录能正常进入系统。
unattend.xml文件内容如下:
<?xml version='1.0' encoding='utf-8'?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="generalize">
<component name="Microsoft-Windows-PnpSysprep" 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">
<DoNotCleanUpNonPresentDevices>false</DoNotCleanUpNonPresentDevices>
<PersistAllDeviceInstalls>false</PersistAllDeviceInstalls>
</component>
</settings>
<settings pass="specialize" wasPassProcessed="true">
<component name="Microsoft-Windows-Deployment" 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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>%SystemDrive%\Sysprep\ES5\EsDeploy.exe /InDeploy</Path>
<Description>InDeploy</Description>
</RunSynchronousCommand>
</RunSynchronous>
</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">
<CopyProfile>true</CopyProfile>
<RegisteredOwner>Owner</RegisteredOwner>
<RegisteredOrganization>Organization</RegisteredOrganization>
<TimeZone>China Standard Time</TimeZone>
<ComputerName>SK-20210112GCIW</ComputerName>
</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>
<JoinWorkgroup>WorkGroup</JoinWorkgroup>
</Identification>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" 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">
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<Home_Page>https://www.2345.com/?751</Home_Page>
</component>
</settings>
<settings pass="oobeSystem">
<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">
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<CommandLine>%SystemDrive%\Sysprep\ES5\EsDeploy.exe /Logon</CommandLine>
<Description>FirstLogon</Description>
</SynchronousCommand>
</FirstLogonCommands>
<LogonCommands>
<AsynchronousCommand wcm:action="add">
<Order>1</Order>
<CommandLine>%SystemDrive%\Sysprep\ES5\EsDeploy.exe /Desktop</CommandLine>
<Description>Desktop</Description>
</AsynchronousCommand>
</LogonCommands>
<OOBE>
<NetworkLocation>Other</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<RegisteredOwner>Owner</RegisteredOwner>
<RegisteredOrganization>Organization</RegisteredOrganization>
<TimeZone>China Standard Time</TimeZone>
<FolderLocations>
<ProfilesDirectory>D:\Users</ProfilesDirectory>
</FolderLocations>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Name>test</Name>
<Group>Administrators</Group>
<Password>
<Value>test</Value>
<PlainText>true</PlainText>
</Password>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>
</unattend>
报错日志如下UnattendGC\setuperr.log:
2021-01-11 14:18:29, Error [msoobe.exe] COMMIT: failed for plugin LocalUser Plugin with hr=0x80070490
2021-01-11 15:38:26, Error [audit.exe] ScreenSaver:Was unable to disable screen saver
2021-01-11 15:51:24, Error [audit.exe] ScreenSaver:Was unable to disable screen saver
2021-01-11 18:31:31, Error [audit.exe] ScreenSaver:Was unable to disable screen saver
2021-01-12 11:30:17, Error [Shell Unattend] FolderLocations: Failed to move 'C:\Users' to 'D:\Users' (0x80004005)
2021-01-12 11:30:18, Error [oobeldr.exe] [Action Queue] : Unattend action failed with exit code 4
2021-01-12 11:30:18, Error [oobeldr.exe] Execution of unattend GCs failed; hr = 0x0; pResults->hrResult = 0x8030000b
2021-01-12 11:30:18, Error [oobeldr.exe] User input error was detected in unattend file. Error: [0x0]
2021-01-12 11:30:54, Error [WinDeploy.exe] Command [%windir%\system32\oobe\oobeldr.exe /system] failed with exit code [0x8030000b]
2021-01-12 11:30:54, Error [WinDeploy.exe] Failure occured during online installation; cannot complete at this time [0x8030000B]
|