berkut_174 |
18-10-2021 13:12 2969140 |
Вот живой пример, у меня в C:\Users пачка юзеров, запускаю генерализацию, получаю отлуп:
Код:
2021-10-18 14:33:08, Info SYSPRP ========================================================
2021-10-18 14:33:08, Info SYSPRP === Beginning of a new sysprep run ===
2021-10-18 14:33:08, Info SYSPRP ========================================================
2021-10-18 14:33:08, Info [0x0f004d] SYSPRP The time is now 2021-10-18 14:33:08
2021-10-18 14:33:08, Info [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
2021-10-18 14:33:08, Info [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine
2021-10-18 14:33:08, Info [0x0f007c] SYSPRP FCreateTagFile:Successfully deleted tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag
2021-10-18 14:33:08, Info [0x0f003d] SYSPRP WinMain:Displaying dialog box for user to choose sysprep mode...
2021-10-18 14:33:11, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
2021-10-18 14:33:11, Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
2021-10-18 14:33:11, Info SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
2021-10-18 14:33:12, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
2021-10-18 14:33:12, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
2021-10-18 14:33:12, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
2021-10-18 14:33:12, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll
2021-10-18 14:33:14, Info SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
2021-10-18 14:33:14, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
2021-10-18 14:33:14, Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
2021-10-18 14:33:14, Info SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
2021-10-18 14:33:14, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
2021-10-18 14:33:14, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
2021-10-18 14:33:14, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
2021-10-18 14:33:14, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll
2021-10-18 14:33:14, Info SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll without error
2021-10-18 14:33:14, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll
2021-10-18 14:33:14, Info SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.
2021-10-18 14:33:14, Error SYSPRP Package Microsoft.NetworkSpeedTest_1.0.0.23_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2021-10-18 14:33:14, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2021-10-18 14:33:14, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
2021-10-18 14:33:14, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
2021-10-18 14:33:14, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
2021-10-18 14:33:14, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
2021-10-18 14:33:14, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
2021-10-18 14:33:14, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
2021-10-18 14:33:18, Info [0x0f0052] SYSPRP Shutting down SysPrep log
2021-10-18 14:33:18, Info [0x0f004d] SYSPRP The time is now 2021-10-18 14:33:18
В результате вижу, что этот пакет принадлежит доменному юзеру. Чего делать ? Удалить я его не могу, а если у меня пачками такая история будет валиться с разными пользователя ?
Попробовал сделать конфиг, чтобы скипнуть OOBE:
Код:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
</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>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
</component>
<component name="Microsoft-Windows-International-Core" 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">
<InputLocale>ru-RU</InputLocale>
<SystemLocale>ru-RU</SystemLocale>
<UILanguage>ru-RU</UILanguage>
<UserLocale>ru-RU</UserLocale>
</component>
<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>ru-RU</InputLocale>
<SystemLocale>ru-RU</SystemLocale>
<UILanguage>ru-RU</UILanguage>
<UserLocale>ru-RU</UserLocale>
</component>
<component name="Microsoft-Windows-Security-SPP-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Microsoft-Windows-Security-SPP-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>
</unattend>
Эффекта ноль....
Я не пойму, зачем мне sysprep, после которого мне придётся фактически перенастроить машину заново!
|