Skip to content

Instantly share code, notes, and snippets.

@ponsfrilus
Created September 22, 2016 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ponsfrilus/1d1c3ee5632ce6f05210c754c4d27830 to your computer and use it in GitHub Desktop.
Save ponsfrilus/1d1c3ee5632ce6f05210c754c4d27830 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<!-- Uncomment the following section to set display settings
<Display>
<ColorDepth>32</ColorDepth>
<DPI>120</DPI>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
-->
<RegisteredOwner>STI-IT</RegisteredOwner>
<RegisteredOrganization>EPFL</RegisteredOrganization>
<TimeZone>W. Europe Standard Time</TimeZone>
<CopyProfile>true</CopyProfile>
</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>fr-CH</InputLocale>
<SystemLocale>fr-CH</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>fr-CH</UserLocale>
</component>
</settings>
<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">
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
</component>
<component name="Microsoft-Windows-Security-Licensing-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-Security-Licensing-SLC" 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>
</settings>
<settings pass="specialize">
<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>
</settings>
<cpi:offlineImage cpi:source="wim:c:/vista/x64/image.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
@ponsfrilus
Copy link
Author

... check the users for whom the package is showing up as Installed. Delete these user accounts from the reference computer ...

PS C:\Windows\System32\Sysprep> Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation


PackageFullName        : Microsoft.MicrosoftEdge_38.14393.0.0_neutral__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1004 [admin2]: Installed, S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed, S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.3DBuilder_11.1.9.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-18 [S-1-5-18]: Staged}

PackageFullName        : Microsoft.Advertising.Xaml_10.0.1606.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed}

PackageFullName        : Microsoft.Advertising.Xaml_10.0.1606.0_x86__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed}

PackageFullName        : Microsoft.BingWeather_4.13.47.0_x86__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.DesktopAppInstaller_1.0.2181.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.Getstarted_4.0.12.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.Messaging_3.19.1001.0_x86__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed}

PackageFullName        : Microsoft.MicrosoftOfficeHub_17.7319.23511.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed}

PackageFullName        : Microsoft.MicrosoftSolitaireCollection_3.12.8312.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed}

PackageFullName        : Microsoft.MicrosoftStickyNotes_1.1.30.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-18 [S-1-5-18]: Staged}

PackageFullName        : Microsoft.NET.Native.Framework.1.3_1.3.24201.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1004 [admin2]: Installed, S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed, S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.NET.Native.Framework.1.3_1.3.24201.0_x86__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1004 [admin2]: Installed, S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed, S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.NET.Native.Runtime.1.3_1.3.23901.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1004 [admin2]: Installed, S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed, S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.NET.Native.Runtime.1.3_1.3.23901.0_x86__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1004 [admin2]: Installed, S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed, S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-18 [S-1-5-18]: Staged}

PackageFullName        : Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_x86__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-18 [S-1-5-18]: Staged}

PackageFullName        : Microsoft.Office.OneNote_17.7341.57791.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed}

PackageFullName        : Microsoft.OneConnect_1.1607.6.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed}

PackageFullName        : Microsoft.People_10.0.11902.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed}

PackageFullName        : Microsoft.StorePurchaseApp_1.0.45.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed}

PackageFullName        : Microsoft.VCLibs.140.00_14.0.24123.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1004 [admin2]: Installed, S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed, S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.VCLibs.140.00_14.0.24123.0_x86__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1004 [admin2]: Installed, S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed, S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.Windows.Photos_16.722.10060.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1004 [admin2]: Installed, S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed, S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.WindowsAlarms_10.1608.2312.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed}

PackageFullName        : Microsoft.WindowsCalculator_10.1608.2213.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-18 [S-1-5-18]: Staged}

PackageFullName        : Microsoft.WindowsCamera_2016.816.20.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1004 [admin2]: Installed, S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed, S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : microsoft.windowscommunicationsapps_17.7167.40727.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1004 [admin2]: Installed, S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed, S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.WindowsFeedbackHub_1.6.2221.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1004 [admin2]: Installed, S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed, S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.WindowsMaps_5.1608.2311.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed}

PackageFullName        : Microsoft.WindowsSoundRecorder_10.1608.2211.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed}

PackageFullName        : Microsoft.WindowsStore_11608.1001.41.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1004 [admin2]: Installed, S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed, S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.XboxApp_19.21.9012.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1004 [admin2]: Installed, S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed, S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.XboxIdentityProvider_11.19.19003.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.ZuneMusic_3.6.23981.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1004 [admin2]: Installed, S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed, S-1-5-21-541768095-3738600148-3601236611-500 [Administrator]: Installed}

PackageFullName        : Microsoft.ZuneVideo_3.6.23941.0_x64__8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-541768095-3738600148-3601236611-1001 [admin]: Installed}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment