From 21548ed1303a8d7a61a0c681a9eb53ddfe5cc0f9 Mon Sep 17 00:00:00 2001 From: Elston LEWIS Date: Wed, 16 Oct 2024 15:38:02 +0200 Subject: [PATCH] Added update to PC and sysprep.xml to correct stuck packer during shutdown --- files/windows/sysprep/sysprep.xml | 115 ++++++++++++++++-------------- 1 file changed, 62 insertions(+), 53 deletions(-) diff --git a/files/windows/sysprep/sysprep.xml b/files/windows/sysprep/sysprep.xml index fa148cb..c5689fa 100755 --- a/files/windows/sysprep/sysprep.xml +++ b/files/windows/sysprep/sysprep.xml @@ -1,53 +1,62 @@ - - - - - - en-US - en-US - en-US - en-US - - - - true - true - true - true - Other - 3 - - false - UTC - Outscale.com - Outscale - - - - QQB4AGUAJgAzAGIANABnACEAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA - false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Password> - <Value>QQB4AGUAJgAzAGIANABnACEAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </Password> - <LogonCount>1</LogonCount> - <Enabled>true</Enabled> - <Username>Administrator</Username> - </AutoLogon> - </component> -</settings> - -<settings pass="specialize"> - <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> - <RegisteredOrganization>Outscale</RegisteredOrganization> - <TimeZone>UTC</TimeZone> - </component> - <component name="Microsoft-Windows-ServerManager-SvrMgrNc" 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"> - <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon> - </component> -</settings> -</unattend> \ No newline at end of file +<?xml version="1.0" encoding="utf-8"?> +<unattend xmlns="urn:schemas-microsoft-com:unattend"> + +<settings pass="oobeSystem"> + <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>en-US</InputLocale> + <SystemLocale>en-US</SystemLocale> + <UILanguage>en-US</UILanguage> + <UserLocale>en-US</UserLocale> + </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> + <SkipMachineOOBE>true</SkipMachineOOBE> + <SkipUserOOBE>true</SkipUserOOBE> + <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> + <NetworkLocation>Other</NetworkLocation> + <ProtectYourPC>3</ProtectYourPC> + </OOBE> + <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled> + <TimeZone>UTC</TimeZone> + <RegisteredOrganization>Outscale.com</RegisteredOrganization> + <RegisteredOwner>Outscale</RegisteredOwner> + + <UserAccounts> + <AdministratorPassword> + <Value>QQB4AGUAJgAzAGIANABnACEAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value> + <PlainText>false</PlainText> + </AdministratorPassword> + </UserAccounts> + <AutoLogon> + <Password> + <Value>QQB4AGUAJgAzAGIANABnACEAUABhAHMAcwB3AG8AcgBkAA==</Value> + <PlainText>false</PlainText> + </Password> + <LogonCount>1</LogonCount> + <Enabled>true</Enabled> + <Username>Administrator</Username> + </AutoLogon> + </component> +</settings> + +<settings pass="specialize"> + <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> + <RegisteredOrganization>Outscale</RegisteredOrganization> + <TimeZone>UTC</TimeZone> + </component> + <component name="Microsoft-Windows-ServerManager-SvrMgrNc" 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"> + <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon> + </component> +</settings> +<settings pass="generalize"> + <component name="Microsoft-Windows-Security-SPP" 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"> + <SkipRearm>1</SkipRearm> + </component> + <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"> + <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> + <DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices> + </component> +</settings> +</unattend>