diff --git a/assets/win10x64-enterprise.cmd b/assets/win10x64-enterprise.cmd deleted file mode 100644 index a408ddcf..00000000 --- a/assets/win10x64-enterprise.cmd +++ /dev/null @@ -1,123 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -NonInteractive set-localuser -name "Docker" -passwordneverexpires 1 -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Hide Copilot button. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowCopilotButton" /t REG_DWORD /d 0 /f - -rem Remove Search from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f - -rem Remove Task View from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f - -rem Remove Widgets from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f - -rem Remove Chat from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win10x64-enterprise.xml b/assets/win10x64-enterprise.xml deleted file mode 100644 index afd6d4d8..00000000 --- a/assets/win10x64-enterprise.xml +++ /dev/null @@ -1,337 +0,0 @@ - - - - - - en-US - - 0409:00000409 - en-US - en-US - en-US - - - - - 1 - true - - - - 1 - EFI - 128 - - - - 2 - MSR - 128 - - - - 3 - Primary - true - - - - - - 1 - 1 - - FAT32 - - - - 2 - 2 - - - - 3 - 3 - - C - NTFS - - - - - - - - 1 - 3 - - false - - - - false - Never - - - false - Never - - - true - Docker - Windows for Docker - - NPPR9-FWDCX-D2C8J-H872K-2YT43 - - - false - - false - - - - - - false - - - - - true - - - 1 - - - - - true - - - * - - Dockur - Windows for Docker - 24/7 - - Dockur - https://github.com/dockur/windows/issues - - Windows for Docker - - - 1 - - - true - true - https://google.com - about:blank - - - true - true - https://google.com - about:blank - - - 0 - - - 1 - - - 0409:00000409 - en-US - en-US - en-US - - - - - 1 - reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f - - - 2 - reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT" - - - 3 - reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f - - - 4 - reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f - - - 5 - reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f - - - 6 - reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f - - - 7 - reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f - - - 8 - reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f - - - 9 - reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f - - - 10 - reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f - - - 11 - reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f - - - 12 - reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f - - - 13 - reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f - - - 14 - reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f - - - 15 - reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f - - - 16 - reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f - - - 17 - reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f - - - 18 - reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f - - - 19 - reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f - - - 20 - reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f - - - 21 - reg.exe unload "HKU\mount" - - - 22 - reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f - - - 23 - reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f - - - 24 - reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f - - - 25 - reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f - Set Network Location to Home - - - 26 - cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize - Run the specialize pass of the setup script - - - - - false - - - 0 - - - - - true - all - @FirewallAPI.dll,-28752 - - - - - - - - - true - - - 1 - - - - - - Docker - Administrators - - YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA= - false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win10x64-iot.cmd b/assets/win10x64-iot.cmd deleted file mode 100644 index a408ddcf..00000000 --- a/assets/win10x64-iot.cmd +++ /dev/null @@ -1,123 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -NonInteractive set-localuser -name "Docker" -passwordneverexpires 1 -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Hide Copilot button. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowCopilotButton" /t REG_DWORD /d 0 /f - -rem Remove Search from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f - -rem Remove Task View from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f - -rem Remove Widgets from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f - -rem Remove Chat from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win10x64-iot.xml b/assets/win10x64-iot.xml deleted file mode 100644 index 0dfcb479..00000000 --- a/assets/win10x64-iot.xml +++ /dev/null @@ -1,343 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Key>/image/index</Key> - <Value>2</Value> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>3</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key /> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - <SupportHours>24/7</SupportHours> - <SupportPhone /> - <SupportProvider>Dockur</SupportProvider> - <SupportURL>https://github.com/dockur/windows/issues</SupportURL> - </OEMInformation> - <OEMName>Windows for Docker</OEMName> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>3</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>4</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>5</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>6</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>7</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>8</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>9</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>10</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>11</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>12</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>13</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>14</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>15</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>16</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>17</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>18</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>19</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>20</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>21</Order> - <Path>reg.exe unload "HKU\mount"</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>22</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>23</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>24</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>25</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path> - <Description>Set Network Location to Home</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>26</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - </settings> - <settings pass="auditSystem" /> - <settings pass="auditUser" /> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PreventDeviceEncryption>true</PreventDeviceEncryption> - </component> - <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win10x64-ltsc.cmd b/assets/win10x64-ltsc.cmd deleted file mode 100644 index a408ddcf..00000000 --- a/assets/win10x64-ltsc.cmd +++ /dev/null @@ -1,123 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -NonInteractive set-localuser -name "Docker" -passwordneverexpires 1 -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Hide Copilot button. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowCopilotButton" /t REG_DWORD /d 0 /f - -rem Remove Search from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f - -rem Remove Task View from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f - -rem Remove Widgets from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f - -rem Remove Chat from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win10x64-ltsc.xml b/assets/win10x64-ltsc.xml deleted file mode 100644 index 0df13089..00000000 --- a/assets/win10x64-ltsc.xml +++ /dev/null @@ -1,340 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Key>/image/index</Key> - <Value>1</Value> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>3</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - <SupportHours>24/7</SupportHours> - <SupportPhone /> - <SupportProvider>Dockur</SupportProvider> - <SupportURL>https://github.com/dockur/windows/issues</SupportURL> - </OEMInformation> - <OEMName>Windows for Docker</OEMName> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>3</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>4</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>5</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>6</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>7</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>8</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>9</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>10</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>11</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>12</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>13</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>14</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>15</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>16</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>17</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>18</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>19</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>20</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>21</Order> - <Path>reg.exe unload "HKU\mount"</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>22</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>23</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>24</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>25</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path> - <Description>Set Network Location to Home</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>26</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - </settings> - <settings pass="auditSystem" /> - <settings pass="auditUser" /> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PreventDeviceEncryption>true</PreventDeviceEncryption> - </component> - <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win10x64.cmd b/assets/win10x64.cmd deleted file mode 100644 index 247e727d..00000000 --- a/assets/win10x64.cmd +++ /dev/null @@ -1,122 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -NonInteractive set-localuser -name "Docker" -passwordneverexpires 1 -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Hide Copilot button. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowCopilotButton" /t REG_DWORD /d 0 /f - -rem Remove Search from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f - -rem Remove Task View from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f - -rem Remove Widgets from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f - -rem Remove Chat from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win10x64.xml b/assets/win10x64.xml deleted file mode 100644 index 1a8a8b1c..00000000 --- a/assets/win10x64.xml +++ /dev/null @@ -1,337 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>3</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - <SupportHours>24/7</SupportHours> - <SupportPhone /> - <SupportProvider>Dockur</SupportProvider> - <SupportURL>https://github.com/dockur/windows/issues</SupportURL> - </OEMInformation> - <OEMName>Windows for Docker</OEMName> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>3</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>4</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>5</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>6</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>7</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>8</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>9</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>10</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>11</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>12</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>13</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>14</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>15</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>16</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>17</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>18</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>19</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>20</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>21</Order> - <Path>reg.exe unload "HKU\mount"</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>22</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>23</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>24</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>25</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path> - <Description>Set Network Location to Home</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>26</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - </settings> - <settings pass="auditSystem" /> - <settings pass="auditUser" /> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PreventDeviceEncryption>true</PreventDeviceEncryption> - </component> - <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win11x64-enterprise.cmd b/assets/win11x64-enterprise.cmd deleted file mode 100644 index be2508ac..00000000 --- a/assets/win11x64-enterprise.cmd +++ /dev/null @@ -1,134 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="pe" goto pe -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:pe - -exit /b 0 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Disable the SMB signing requirement. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "RequireSecuritySignature" /t REG_DWORD /d 0 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -NonInteractive set-localuser -name "Docker" -passwordneverexpires 1 -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteAPP to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Remove the empty Windows.old folder. -if exist "%SystemDrive%\Windows.old" rd /q "%SystemDrive%\Windows.old" - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Hide Copilot button. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowCopilotButton" /t REG_DWORD /d 0 /f - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Remove Task View from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f - -rem Remove Widgets from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f - -rem Remove Chat from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f - -rem Disable unsupported hardware notifications. -reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f - -rem Disable unsupported hardware notifications. -reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win11x64-enterprise.xml b/assets/win11x64-enterprise.xml deleted file mode 100644 index 5859b612..00000000 --- a/assets/win11x64-enterprise.xml +++ /dev/null @@ -1,360 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>3</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>NPPR9-FWDCX-D2C8J-H872K-2YT43</Key> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>3</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>4</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>5</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" pe</Path> - <Description>Run the PE pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - <SupportHours>24/7</SupportHours> - <SupportPhone /> - <SupportProvider>Dockur</SupportProvider> - <SupportURL>https://github.com/dockur/windows/issues</SupportURL> - </OEMInformation> - <OEMName>Windows for Docker</OEMName> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>3</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>4</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>5</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>6</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>7</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>8</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>9</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>10</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>11</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>12</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>13</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>14</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>15</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>16</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>17</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>18</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>19</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>20</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>21</Order> - <Path>reg.exe unload "HKU\mount"</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>22</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>23</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>24</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>25</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path> - <Description>Set Network Location to Home</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>26</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - </settings> - <settings pass="auditSystem" /> - <settings pass="auditUser" /> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PreventDeviceEncryption>true</PreventDeviceEncryption> - </component> - <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win11x64-iot.cmd b/assets/win11x64-iot.cmd deleted file mode 100644 index be2508ac..00000000 --- a/assets/win11x64-iot.cmd +++ /dev/null @@ -1,134 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="pe" goto pe -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:pe - -exit /b 0 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Disable the SMB signing requirement. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "RequireSecuritySignature" /t REG_DWORD /d 0 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -NonInteractive set-localuser -name "Docker" -passwordneverexpires 1 -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteAPP to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Remove the empty Windows.old folder. -if exist "%SystemDrive%\Windows.old" rd /q "%SystemDrive%\Windows.old" - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Hide Copilot button. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowCopilotButton" /t REG_DWORD /d 0 /f - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Remove Task View from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f - -rem Remove Widgets from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f - -rem Remove Chat from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f - -rem Disable unsupported hardware notifications. -reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f - -rem Disable unsupported hardware notifications. -reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win11x64-iot.xml b/assets/win11x64-iot.xml deleted file mode 100644 index 3137f840..00000000 --- a/assets/win11x64-iot.xml +++ /dev/null @@ -1,360 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>3</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>CGK42-GYN6Y-VD22B-BX98W-J8JXD</Key> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>3</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>4</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>5</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" pe</Path> - <Description>Run the PE pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - <SupportHours>24/7</SupportHours> - <SupportPhone /> - <SupportProvider>Dockur</SupportProvider> - <SupportURL>https://github.com/dockur/windows/issues</SupportURL> - </OEMInformation> - <OEMName>Windows for Docker</OEMName> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>3</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>4</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>5</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>6</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>7</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>8</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>9</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>10</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>11</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>12</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>13</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>14</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>15</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>16</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>17</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>18</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>19</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>20</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>21</Order> - <Path>reg.exe unload "HKU\mount"</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>22</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>23</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>24</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>25</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path> - <Description>Set Network Location to Home</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>26</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - </settings> - <settings pass="auditSystem" /> - <settings pass="auditUser" /> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PreventDeviceEncryption>true</PreventDeviceEncryption> - </component> - <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win11x64-ltsc.cmd b/assets/win11x64-ltsc.cmd deleted file mode 100644 index be2508ac..00000000 --- a/assets/win11x64-ltsc.cmd +++ /dev/null @@ -1,134 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="pe" goto pe -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:pe - -exit /b 0 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Disable the SMB signing requirement. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "RequireSecuritySignature" /t REG_DWORD /d 0 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -NonInteractive set-localuser -name "Docker" -passwordneverexpires 1 -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteAPP to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Remove the empty Windows.old folder. -if exist "%SystemDrive%\Windows.old" rd /q "%SystemDrive%\Windows.old" - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Hide Copilot button. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowCopilotButton" /t REG_DWORD /d 0 /f - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Remove Task View from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f - -rem Remove Widgets from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f - -rem Remove Chat from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f - -rem Disable unsupported hardware notifications. -reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f - -rem Disable unsupported hardware notifications. -reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win11x64-ltsc.xml b/assets/win11x64-ltsc.xml deleted file mode 100644 index f227ffd8..00000000 --- a/assets/win11x64-ltsc.xml +++ /dev/null @@ -1,360 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>3</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>M7XTQ-FN8P6-TTKYV-9D4CC-J462D</Key> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>3</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>4</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>5</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" pe</Path> - <Description>Run the PE pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - <SupportHours>24/7</SupportHours> - <SupportPhone /> - <SupportProvider>Dockur</SupportProvider> - <SupportURL>https://github.com/dockur/windows/issues</SupportURL> - </OEMInformation> - <OEMName>Windows for Docker</OEMName> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>3</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>4</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>5</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>6</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>7</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>8</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>9</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>10</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>11</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>12</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>13</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>14</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>15</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>16</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>17</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>18</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>19</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>20</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>21</Order> - <Path>reg.exe unload "HKU\mount"</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>22</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>23</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>24</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>25</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path> - <Description>Set Network Location to Home</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>26</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - </settings> - <settings pass="auditSystem" /> - <settings pass="auditUser" /> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PreventDeviceEncryption>true</PreventDeviceEncryption> - </component> - <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win11x64.cmd b/assets/win11x64.cmd deleted file mode 100644 index be2508ac..00000000 --- a/assets/win11x64.cmd +++ /dev/null @@ -1,134 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="pe" goto pe -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:pe - -exit /b 0 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Disable the SMB signing requirement. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "RequireSecuritySignature" /t REG_DWORD /d 0 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -NonInteractive set-localuser -name "Docker" -passwordneverexpires 1 -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteAPP to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Remove the empty Windows.old folder. -if exist "%SystemDrive%\Windows.old" rd /q "%SystemDrive%\Windows.old" - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Hide Copilot button. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowCopilotButton" /t REG_DWORD /d 0 /f - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Remove Task View from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f - -rem Remove Widgets from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f - -rem Remove Chat from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f - -rem Disable unsupported hardware notifications. -reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f - -rem Disable unsupported hardware notifications. -reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win11x64.xml b/assets/win11x64.xml deleted file mode 100644 index 50384369..00000000 --- a/assets/win11x64.xml +++ /dev/null @@ -1,360 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>3</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>3</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>4</Order> - <Path>reg.exe add "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>5</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" pe</Path> - <Description>Run the PE pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - <SupportHours>24/7</SupportHours> - <SupportPhone /> - <SupportProvider>Dockur</SupportProvider> - <SupportURL>https://github.com/dockur/windows/issues</SupportURL> - </OEMInformation> - <OEMName>Windows for Docker</OEMName> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>3</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>4</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>5</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>6</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>7</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>8</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>9</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>10</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>11</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>12</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>13</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>14</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>15</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>16</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>17</Order> - <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>18</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>19</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>20</Order> - <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>21</Order> - <Path>reg.exe unload "HKU\mount"</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>22</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>23</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>24</Order> - <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>25</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path> - <Description>Set Network Location to Home</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>26</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - </settings> - <settings pass="auditSystem" /> - <settings pass="auditUser" /> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PreventDeviceEncryption>true</PreventDeviceEncryption> - </component> - <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win2008r2.cmd b/assets/win2008r2.cmd deleted file mode 100644 index 1d682578..00000000 --- a/assets/win2008r2.cmd +++ /dev/null @@ -1,117 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Disable Shutdown Event Tracker. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 0 /f - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f - -rem Disable AutoPlay for all drives. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutoRun" /t REG_DWORD /d 255 /f - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win2008r2.xml b/assets/win2008r2.xml deleted file mode 100644 index c158449b..00000000 --- a/assets/win2008r2.xml +++ /dev/null @@ -1,221 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <WillShowUI>OnError</WillShowUI> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>Primary</Type> - <Size>100</Size> - </CreatePartition> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <ModifyPartition wcm:action="add"> - <Format>NTFS</Format> - <Label>System Reserved</Label> - <Order>1</Order> - <Active>true</Active> - <PartitionID>1</PartitionID> - <TypeID>0x27</TypeID> - </ModifyPartition> - <ModifyPartition wcm:action="add"> - <Active>true</Active> - <Format>NTFS</Format> - <Label>Windows</Label> - <Letter>C</Letter> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Value>1</Value> - <Key>/IMAGE/INDEX</Key> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>2</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>YC6KT-GKW9T-YTKYR-T4X34-R7VHC</Key> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon> - </component> - <component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win2012r2.cmd b/assets/win2012r2.cmd deleted file mode 100644 index d6f53c0b..00000000 --- a/assets/win2012r2.cmd +++ /dev/null @@ -1,111 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Disable Shutdown Event Tracker. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 0 /f - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win2012r2.xml b/assets/win2012r2.xml deleted file mode 100644 index d277ab41..00000000 --- a/assets/win2012r2.xml +++ /dev/null @@ -1,250 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UILanguageFallback>en-US</UILanguageFallback> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Key>/image/index</Key> - <Value>2</Value> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>3</PartitionID> - </InstallTo> - <WillShowUI>OnError</WillShowUI> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>D2N9P-3P6X9-2R39C-7RTCD-MDVJX</Key> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - <OEMName>Windows for Docker</OEMName> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UILanguageFallback>en-US</UILanguageFallback> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path> - <Description>Set Network Location to Home</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon> - </component> - <component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PreventDeviceEncryption>true</PreventDeviceEncryption> - </component> - <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win2016.cmd b/assets/win2016.cmd deleted file mode 100644 index 8692fc28..00000000 --- a/assets/win2016.cmd +++ /dev/null @@ -1,123 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Disable Shutdown Event Tracker. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 0 /f - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -NonInteractive set-localuser -name "Docker" -passwordneverexpires 1 -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Remove Search from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f - -rem Remove Task View from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f - -rem Remove Widgets from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f - -rem Remove Chat from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win2016.xml b/assets/win2016.xml deleted file mode 100644 index 9f1c64c6..00000000 --- a/assets/win2016.xml +++ /dev/null @@ -1,250 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UILanguageFallback>en-US</UILanguageFallback> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Key>/IMAGE/NAME</Key> - <Value>Windows Server 2016 SERVERSTANDARD</Value> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>3</PartitionID> - </InstallTo> - <WillShowUI>OnError</WillShowUI> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY</Key> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - <OEMName>Windows for Docker</OEMName> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UILanguageFallback>en-US</UILanguageFallback> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path> - <Description>Set Network Location to Home</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon> - </component> - <component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PreventDeviceEncryption>true</PreventDeviceEncryption> - </component> - <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win2019-hv.cmd b/assets/win2019-hv.cmd deleted file mode 100644 index 8692fc28..00000000 --- a/assets/win2019-hv.cmd +++ /dev/null @@ -1,123 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Disable Shutdown Event Tracker. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 0 /f - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -NonInteractive set-localuser -name "Docker" -passwordneverexpires 1 -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Remove Search from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f - -rem Remove Task View from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f - -rem Remove Widgets from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f - -rem Remove Chat from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win2019-hv.xml b/assets/win2019-hv.xml deleted file mode 100644 index 467479dc..00000000 --- a/assets/win2019-hv.xml +++ /dev/null @@ -1,256 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UILanguageFallback>en-US</UILanguageFallback> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Key>/IMAGE/NAME</Key> - <Value>Hyper-V Server 2019 SERVERHYPERCORE</Value> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>3</PartitionID> - </InstallTo> - <WillShowUI>OnError</WillShowUI> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - <SupportHours>24/7</SupportHours> - <SupportPhone /> - <SupportProvider>Dockur</SupportProvider> - <SupportURL>https://github.com/dockur/windows/issues</SupportURL> - </OEMInformation> - <OEMName>Windows for Docker</OEMName> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UILanguageFallback>en-US</UILanguageFallback> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path> - <Description>Set Network Location to Home</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>dism.exe /online /Disable-Feature /FeatureName:Microsoft-Hyper-V /NoRestart</Path> - <Description>Disable Hyper-V role</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>3</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon> - </component> - <component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PreventDeviceEncryption>true</PreventDeviceEncryption> - </component> - <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win2019.cmd b/assets/win2019.cmd deleted file mode 100644 index 8692fc28..00000000 --- a/assets/win2019.cmd +++ /dev/null @@ -1,123 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Disable Shutdown Event Tracker. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 0 /f - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -NonInteractive set-localuser -name "Docker" -passwordneverexpires 1 -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Remove Search from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f - -rem Remove Task View from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f - -rem Remove Widgets from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f - -rem Remove Chat from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win2019.xml b/assets/win2019.xml deleted file mode 100644 index 683906a0..00000000 --- a/assets/win2019.xml +++ /dev/null @@ -1,254 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UILanguageFallback>en-US</UILanguageFallback> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Key>/IMAGE/NAME</Key> - <Value>Windows Server 2019 SERVERSTANDARD</Value> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>3</PartitionID> - </InstallTo> - <WillShowUI>OnError</WillShowUI> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>N69G4-B89J2-4G8F4-WWYCC-J464C</Key> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - <SupportHours>24/7</SupportHours> - <SupportPhone /> - <SupportProvider>Dockur</SupportProvider> - <SupportURL>https://github.com/dockur/windows/issues</SupportURL> - </OEMInformation> - <OEMName>Windows for Docker</OEMName> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UILanguageFallback>en-US</UILanguageFallback> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path> - <Description>Set Network Location to Home</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon> - </component> - <component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PreventDeviceEncryption>true</PreventDeviceEncryption> - </component> - <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win2022.cmd b/assets/win2022.cmd deleted file mode 100644 index 8692fc28..00000000 --- a/assets/win2022.cmd +++ /dev/null @@ -1,123 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Disable Shutdown Event Tracker. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 0 /f - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -NonInteractive set-localuser -name "Docker" -passwordneverexpires 1 -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Remove Search from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f - -rem Remove Task View from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f - -rem Remove Widgets from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f - -rem Remove Chat from the Taskbar. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win2022.xml b/assets/win2022.xml deleted file mode 100644 index 879218a1..00000000 --- a/assets/win2022.xml +++ /dev/null @@ -1,254 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UILanguageFallback>en-US</UILanguageFallback> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Key>/IMAGE/NAME</Key> - <Value>Windows Server 2022 SERVERSTANDARD</Value> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>3</PartitionID> - </InstallTo> - <WillShowUI>OnError</WillShowUI> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>VDYBN-27WPP-V4HQT-9VMD4-VMK7H</Key> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - <SupportHours>24/7</SupportHours> - <SupportPhone /> - <SupportProvider>Dockur</SupportProvider> - <SupportURL>https://github.com/dockur/windows/issues</SupportURL> - </OEMInformation> - <OEMName>Windows for Docker</OEMName> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UILanguageFallback>en-US</UILanguageFallback> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path> - <Description>Set Network Location to Home</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon> - </component> - <component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PreventDeviceEncryption>true</PreventDeviceEncryption> - </component> - <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win2025.cmd b/assets/win2025.cmd deleted file mode 100644 index 8ec76847..00000000 --- a/assets/win2025.cmd +++ /dev/null @@ -1,110 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Disable Shutdown Event Tracker. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 0 /f - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Disable the SMB signing requirement. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "RequireSecuritySignature" /t REG_DWORD /d 0 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -NonInteractive set-localuser -name "Docker" -passwordneverexpires 1 -rem END LOCAL_ACCOUNT - -rem Disable hibernation and monitor blanking. -POWERCFG -H OFF -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable the first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Allow RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery and File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Remove the empty Windows.old folder. -if exist "%SystemDrive%\Windows.old" rd /q "%SystemDrive%\Windows.old" - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Set initial Explorer and taskbar preferences for the logged-in user. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowCopilotButton" /t REG_DWORD /d 0 /f -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win2025.xml b/assets/win2025.xml deleted file mode 100644 index 0f3325d0..00000000 --- a/assets/win2025.xml +++ /dev/null @@ -1,254 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UILanguageFallback>en-US</UILanguageFallback> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Key>/IMAGE/NAME</Key> - <Value>Windows Server 2025 SERVERSTANDARD</Value> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>3</PartitionID> - </InstallTo> - <WillShowUI>OnError</WillShowUI> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>TVRH6-WHNXV-R9WG3-9XRFY-MY832</Key> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - <SupportHours>24/7</SupportHours> - <SupportPhone /> - <SupportProvider>Dockur</SupportProvider> - <SupportURL>https://github.com/dockur/windows/issues</SupportURL> - </OEMInformation> - <OEMName>Windows for Docker</OEMName> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UILanguageFallback>en-US</UILanguageFallback> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path> - <Description>Set Network Location to Home</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon> - </component> - <component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PreventDeviceEncryption>true</PreventDeviceEncryption> - </component> - <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win7x64-enterprise.cmd b/assets/win7x64-enterprise.cmd deleted file mode 100644 index a45c14b8..00000000 --- a/assets/win7x64-enterprise.cmd +++ /dev/null @@ -1,105 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f - -rem Disable AutoPlay for all drives. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutoRun" /t REG_DWORD /d 255 /f - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteAPP to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win7x64-enterprise.xml b/assets/win7x64-enterprise.xml deleted file mode 100644 index 1e712960..00000000 --- a/assets/win7x64-enterprise.xml +++ /dev/null @@ -1,216 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <WillShowUI>OnError</WillShowUI> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>Primary</Type> - <Size>100</Size> - </CreatePartition> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <ModifyPartition wcm:action="add"> - <Format>NTFS</Format> - <Label>System Reserved</Label> - <Order>1</Order> - <Active>true</Active> - <PartitionID>1</PartitionID> - <TypeID>0x27</TypeID> - </ModifyPartition> - <ModifyPartition wcm:action="add"> - <Active>true</Active> - <Format>NTFS</Format> - <Label>Windows</Label> - <Letter>C</Letter> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Value>Windows 7 Enterprise</Value> - <Key>/IMAGE/NAME</Key> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>2</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>H7X92-3VPBB-Q799D-Y6JJ3-86WC6</Key> - <WillShowUI>OnError</WillShowUI> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win7x64-ultimate.cmd b/assets/win7x64-ultimate.cmd deleted file mode 100644 index a45c14b8..00000000 --- a/assets/win7x64-ultimate.cmd +++ /dev/null @@ -1,105 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f - -rem Disable AutoPlay for all drives. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutoRun" /t REG_DWORD /d 255 /f - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteAPP to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win7x64-ultimate.xml b/assets/win7x64-ultimate.xml deleted file mode 100644 index e8c01e3e..00000000 --- a/assets/win7x64-ultimate.xml +++ /dev/null @@ -1,216 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <WillShowUI>OnError</WillShowUI> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>Primary</Type> - <Size>100</Size> - </CreatePartition> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <ModifyPartition wcm:action="add"> - <Format>NTFS</Format> - <Label>System Reserved</Label> - <Order>1</Order> - <Active>true</Active> - <PartitionID>1</PartitionID> - <TypeID>0x27</TypeID> - </ModifyPartition> - <ModifyPartition wcm:action="add"> - <Active>true</Active> - <Format>NTFS</Format> - <Label>Windows</Label> - <Letter>C</Letter> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Value>Windows 7 Ultimate</Value> - <Key>/IMAGE/NAME</Key> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>2</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV</Key> - <WillShowUI>OnError</WillShowUI> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win7x64.cmd b/assets/win7x64.cmd deleted file mode 100644 index a45c14b8..00000000 --- a/assets/win7x64.cmd +++ /dev/null @@ -1,105 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f - -rem Disable AutoPlay for all drives. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutoRun" /t REG_DWORD /d 255 /f - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteAPP to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win7x64.xml b/assets/win7x64.xml deleted file mode 100644 index 972b34b9..00000000 --- a/assets/win7x64.xml +++ /dev/null @@ -1,216 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <WillShowUI>OnError</WillShowUI> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>Primary</Type> - <Size>100</Size> - </CreatePartition> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <ModifyPartition wcm:action="add"> - <Format>NTFS</Format> - <Label>System Reserved</Label> - <Order>1</Order> - <Active>true</Active> - <PartitionID>1</PartitionID> - <TypeID>0x27</TypeID> - </ModifyPartition> - <ModifyPartition wcm:action="add"> - <Active>true</Active> - <Format>NTFS</Format> - <Label>Windows</Label> - <Letter>C</Letter> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Value>Windows 7 PROFESSIONAL</Value> - <Key>/IMAGE/NAME</Key> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>2</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>HYF8J-CVRMY-CM74G-RPHKF-PW487</Key> - <WillShowUI>OnError</WillShowUI> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win7x86-enterprise.cmd b/assets/win7x86-enterprise.cmd deleted file mode 100644 index a45c14b8..00000000 --- a/assets/win7x86-enterprise.cmd +++ /dev/null @@ -1,105 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f - -rem Disable AutoPlay for all drives. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutoRun" /t REG_DWORD /d 255 /f - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteAPP to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win7x86-enterprise.xml b/assets/win7x86-enterprise.xml deleted file mode 100644 index 60c05a09..00000000 --- a/assets/win7x86-enterprise.xml +++ /dev/null @@ -1,216 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <WillShowUI>OnError</WillShowUI> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>Primary</Type> - <Size>100</Size> - </CreatePartition> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <ModifyPartition wcm:action="add"> - <Format>NTFS</Format> - <Label>System Reserved</Label> - <Order>1</Order> - <Active>true</Active> - <PartitionID>1</PartitionID> - <TypeID>0x27</TypeID> - </ModifyPartition> - <ModifyPartition wcm:action="add"> - <Active>true</Active> - <Format>NTFS</Format> - <Label>Windows</Label> - <Letter>C</Letter> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Value>Windows 7 Enterprise</Value> - <Key>/IMAGE/NAME</Key> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>2</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>H7X92-3VPBB-Q799D-Y6JJ3-86WC6</Key> - <WillShowUI>OnError</WillShowUI> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win7x86-ultimate.cmd b/assets/win7x86-ultimate.cmd deleted file mode 100644 index a45c14b8..00000000 --- a/assets/win7x86-ultimate.cmd +++ /dev/null @@ -1,105 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f - -rem Disable AutoPlay for all drives. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutoRun" /t REG_DWORD /d 255 /f - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteAPP to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win7x86-ultimate.xml b/assets/win7x86-ultimate.xml deleted file mode 100644 index 46bf8497..00000000 --- a/assets/win7x86-ultimate.xml +++ /dev/null @@ -1,216 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <WillShowUI>OnError</WillShowUI> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>Primary</Type> - <Size>100</Size> - </CreatePartition> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <ModifyPartition wcm:action="add"> - <Format>NTFS</Format> - <Label>System Reserved</Label> - <Order>1</Order> - <Active>true</Active> - <PartitionID>1</PartitionID> - <TypeID>0x27</TypeID> - </ModifyPartition> - <ModifyPartition wcm:action="add"> - <Active>true</Active> - <Format>NTFS</Format> - <Label>Windows</Label> - <Letter>C</Letter> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Value>Windows 7 Ultimate</Value> - <Key>/IMAGE/NAME</Key> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>2</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV</Key> - <WillShowUI>OnError</WillShowUI> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win7x86.cmd b/assets/win7x86.cmd deleted file mode 100644 index a45c14b8..00000000 --- a/assets/win7x86.cmd +++ /dev/null @@ -1,105 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f - -rem Disable AutoPlay for all drives. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutoRun" /t REG_DWORD /d 255 /f - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteAPP to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win7x86.xml b/assets/win7x86.xml deleted file mode 100644 index 488a68ba..00000000 --- a/assets/win7x86.xml +++ /dev/null @@ -1,216 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <WillShowUI>OnError</WillShowUI> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>Primary</Type> - <Size>100</Size> - </CreatePartition> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <ModifyPartition wcm:action="add"> - <Format>NTFS</Format> - <Label>System Reserved</Label> - <Order>1</Order> - <Active>true</Active> - <PartitionID>1</PartitionID> - <TypeID>0x27</TypeID> - </ModifyPartition> - <ModifyPartition wcm:action="add"> - <Active>true</Active> - <Format>NTFS</Format> - <Label>Windows</Label> - <Letter>C</Letter> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Value>Windows 7 PROFESSIONAL</Value> - <Key>/IMAGE/NAME</Key> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>2</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>HYF8J-CVRMY-CM74G-RPHKF-PW487</Key> - <WillShowUI>OnError</WillShowUI> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win81x64-enterprise.cmd b/assets/win81x64-enterprise.cmd deleted file mode 100644 index 67b2c04e..00000000 --- a/assets/win81x64-enterprise.cmd +++ /dev/null @@ -1,120 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Trust the VirtIO display driver publisher to avoid an interactive prompt. -powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "$catalog = Get-ChildItem -Path (Join-Path $env:SystemRoot 'Drivers\viogpudo') -Filter '*.cat' | Select-Object -First 1; if ($null -eq $catalog) { exit 1 }; $certificate = (Get-AuthenticodeSignature -LiteralPath $catalog.FullName).SignerCertificate; if ($null -eq $certificate) { exit 1 }; [IO.File]::WriteAllBytes((Join-Path $env:TEMP 'viogpudo.cer'), $certificate.Export([Security.Cryptography.X509Certificates.X509ContentType]::Cert))" - -if not errorlevel 1 ( - certutil.exe -addstore -f TrustedPublisher "%TEMP%\viogpudo.cer" - if not errorlevel 1 ( - pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - ) -) - -del /q "%TEMP%\viogpudo.cer" >nul 2>&1 - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win81x64-enterprise.xml b/assets/win81x64-enterprise.xml deleted file mode 100644 index 4115a088..00000000 --- a/assets/win81x64-enterprise.xml +++ /dev/null @@ -1,235 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>3</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>FHQNR-XYXYC-8PMHT-TV4PH-DRQ3H</Key> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - <OEMName>Windows for Docker</OEMName> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path> - <Description>Set Network Location to Home</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PreventDeviceEncryption>true</PreventDeviceEncryption> - </component> - <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/win81x64.cmd b/assets/win81x64.cmd deleted file mode 100644 index 67b2c04e..00000000 --- a/assets/win81x64.cmd +++ /dev/null @@ -1,120 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem Enable the option for passwordless sign-in. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Turn off automatic Windows Update downloads. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -rem Trust the VirtIO display driver publisher to avoid an interactive prompt. -powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "$catalog = Get-ChildItem -Path (Join-Path $env:SystemRoot 'Drivers\viogpudo') -Filter '*.cat' | Select-Object -First 1; if ($null -eq $catalog) { exit 1 }; $certificate = (Get-AuthenticodeSignature -LiteralPath $catalog.FullName).SignerCertificate; if ($null -eq $certificate) { exit 1 }; [IO.File]::WriteAllBytes((Join-Path $env:TEMP 'viogpudo.cer'), $certificate.Export([Security.Cryptography.X509Certificates.X509ContentType]::Cert))" - -if not errorlevel 1 ( - certutil.exe -addstore -f TrustedPublisher "%TEMP%\viogpudo.cer" - if not errorlevel 1 ( - pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - ) -) - -del /q "%TEMP%\viogpudo.cer" >nul 2>&1 - -rem Install the VirtIO display driver last to avoid disrupting earlier setup work. -pnputil.exe -i -a "%SystemRoot%\Drivers\viogpudo\viogpudo.inf" - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/win81x64.xml b/assets/win81x64.xml deleted file mode 100644 index ca928cbc..00000000 --- a/assets/win81x64.xml +++ /dev/null @@ -1,242 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Value>Windows 8.1 Pro</Value> - <Key>/IMAGE/NAME</Key> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>3</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <DynamicUpdate> - <Enable>false</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>GCRJD-8NW9H-F2CDX-CCM8D-9D6T9</Key> - <WillShowUI>OnError</WillShowUI> - </ProductKey> - </UserData> - <EnableFirewall>false</EnableFirewall> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - </component> - </settings> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <EnableLUA>false</EnableLUA> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - <OEMName>Windows for Docker</OEMName> - </component> - <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableWER>1</DisableWER> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableAccelerators>true</DisableAccelerators> - <DisableFirstRunWizard>true</DisableFirstRunWizard> - <Home_Page>https://google.com</Home_Page> - <Help_Page>about:blank</Help_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path> - <Description>Set Network Location to Home</Description> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAuthentication>0</UserAuthentication> - </component> - <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <FirewallGroups> - <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> - <Active>true</Active> - <Profile>all</Profile> - <Group>@FirewallAPI.dll,-28752</Group> - </FirewallGroup> - </FirewallGroups> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PreventDeviceEncryption>true</PreventDeviceEncryption> - </component> - <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/winvistax64-enterprise.cmd b/assets/winvistax64-enterprise.cmd deleted file mode 100644 index 3978dab3..00000000 --- a/assets/winvistax64-enterprise.cmd +++ /dev/null @@ -1,123 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f - -rem Disable AutoPlay for all drives. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutoRun" /t REG_DWORD /d 255 /f - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Add RDP in firewall. -netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes - -rem Enable RDP. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f - -rem Turn off sidebar. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Disable screensaver. -reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f - -rem Disable screensaver. -reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/winvistax64-enterprise.xml b/assets/winvistax64-enterprise.xml deleted file mode 100644 index e46001ff..00000000 --- a/assets/winvistax64-enterprise.xml +++ /dev/null @@ -1,165 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <WillShowUI>OnError</WillShowUI> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <ModifyPartition wcm:action="add"> - <Active>true</Active> - <Format>NTFS</Format> - <Label>Windows</Label> - <Letter>C</Letter> - <Order>1</Order> - <PartitionID>1</PartitionID> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Value>Windows Vista Enterprise</Value> - <Key>/IMAGE/NAME</Key> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>1</PartitionID> - </InstallTo> - <WillShowUI>OnError</WillShowUI> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>VKK3X-68KWM-X2YGT-QR4M6-4BWMV</Key> - </ProductKey> - </UserData> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <ProductKey>VKK3X-68KWM-X2YGT-QR4M6-4BWMV</ProductKey> - <TimeZone>Pacific Standard Time</TimeZone> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <Home_Page>about:blank</Home_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>false</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/winvistax64-ultimate.cmd b/assets/winvistax64-ultimate.cmd deleted file mode 100644 index 3978dab3..00000000 --- a/assets/winvistax64-ultimate.cmd +++ /dev/null @@ -1,123 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f - -rem Disable AutoPlay for all drives. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutoRun" /t REG_DWORD /d 255 /f - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Add RDP in firewall. -netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes - -rem Enable RDP. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f - -rem Turn off sidebar. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Disable screensaver. -reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f - -rem Disable screensaver. -reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/winvistax64-ultimate.xml b/assets/winvistax64-ultimate.xml deleted file mode 100644 index c3dc65f2..00000000 --- a/assets/winvistax64-ultimate.xml +++ /dev/null @@ -1,165 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <WillShowUI>OnError</WillShowUI> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <ModifyPartition wcm:action="add"> - <Active>true</Active> - <Format>NTFS</Format> - <Label>Windows</Label> - <Letter>C</Letter> - <Order>1</Order> - <PartitionID>1</PartitionID> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Value>Windows Vista Ultimate</Value> - <Key>/IMAGE/NAME</Key> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>1</PartitionID> - </InstallTo> - <WillShowUI>OnError</WillShowUI> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>VMCB9-FDRV6-6CDQM-RV23K-RP8F7</Key> - </ProductKey> - </UserData> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <ProductKey>VMCB9-FDRV6-6CDQM-RV23K-RP8F7</ProductKey> - <TimeZone>Pacific Standard Time</TimeZone> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <Home_Page>about:blank</Home_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>false</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/winvistax64.cmd b/assets/winvistax64.cmd deleted file mode 100644 index 3978dab3..00000000 --- a/assets/winvistax64.cmd +++ /dev/null @@ -1,123 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f - -rem Disable AutoPlay for all drives. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutoRun" /t REG_DWORD /d 255 /f - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Add RDP in firewall. -netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes - -rem Enable RDP. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f - -rem Turn off sidebar. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Disable screensaver. -reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f - -rem Disable screensaver. -reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/winvistax64.xml b/assets/winvistax64.xml deleted file mode 100644 index 5e9c5b61..00000000 --- a/assets/winvistax64.xml +++ /dev/null @@ -1,165 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <WillShowUI>OnError</WillShowUI> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <ModifyPartition wcm:action="add"> - <Active>true</Active> - <Format>NTFS</Format> - <Label>Windows</Label> - <Letter>C</Letter> - <Order>1</Order> - <PartitionID>1</PartitionID> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Value>Windows Vista BUSINESS</Value> - <Key>/IMAGE/NAME</Key> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>1</PartitionID> - </InstallTo> - <WillShowUI>OnError</WillShowUI> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>4D2XH-PRBMM-8Q22B-K8BM3-MRW4W</Key> - </ProductKey> - </UserData> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <ProductKey>4D2XH-PRBMM-8Q22B-K8BM3-MRW4W</ProductKey> - <TimeZone>Pacific Standard Time</TimeZone> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <Home_Page>about:blank</Home_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>false</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/winvistax86-enterprise.cmd b/assets/winvistax86-enterprise.cmd deleted file mode 100644 index 3978dab3..00000000 --- a/assets/winvistax86-enterprise.cmd +++ /dev/null @@ -1,123 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f - -rem Disable AutoPlay for all drives. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutoRun" /t REG_DWORD /d 255 /f - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Add RDP in firewall. -netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes - -rem Enable RDP. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f - -rem Turn off sidebar. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Disable screensaver. -reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f - -rem Disable screensaver. -reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/winvistax86-enterprise.xml b/assets/winvistax86-enterprise.xml deleted file mode 100644 index c77cbc0b..00000000 --- a/assets/winvistax86-enterprise.xml +++ /dev/null @@ -1,165 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <WillShowUI>OnError</WillShowUI> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <ModifyPartition wcm:action="add"> - <Active>true</Active> - <Format>NTFS</Format> - <Label>Windows</Label> - <Letter>C</Letter> - <Order>1</Order> - <PartitionID>1</PartitionID> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Value>Windows Vista Enterprise</Value> - <Key>/IMAGE/NAME</Key> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>1</PartitionID> - </InstallTo> - <WillShowUI>OnError</WillShowUI> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>VKK3X-68KWM-X2YGT-QR4M6-4BWMV</Key> - </ProductKey> - </UserData> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <ProductKey>VKK3X-68KWM-X2YGT-QR4M6-4BWMV</ProductKey> - <TimeZone>Pacific Standard Time</TimeZone> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <Home_Page>about:blank</Home_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>false</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/winvistax86-ultimate.cmd b/assets/winvistax86-ultimate.cmd deleted file mode 100644 index 3978dab3..00000000 --- a/assets/winvistax86-ultimate.cmd +++ /dev/null @@ -1,123 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f - -rem Disable AutoPlay for all drives. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutoRun" /t REG_DWORD /d 255 /f - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Add RDP in firewall. -netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes - -rem Enable RDP. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f - -rem Turn off sidebar. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Disable screensaver. -reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f - -rem Disable screensaver. -reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/winvistax86-ultimate.xml b/assets/winvistax86-ultimate.xml deleted file mode 100644 index 4f2e06cb..00000000 --- a/assets/winvistax86-ultimate.xml +++ /dev/null @@ -1,165 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <WillShowUI>OnError</WillShowUI> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <ModifyPartition wcm:action="add"> - <Active>true</Active> - <Format>NTFS</Format> - <Label>Windows</Label> - <Letter>C</Letter> - <Order>1</Order> - <PartitionID>1</PartitionID> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Value>Windows Vista Ultimate</Value> - <Key>/IMAGE/NAME</Key> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>1</PartitionID> - </InstallTo> - <WillShowUI>OnError</WillShowUI> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>VMCB9-FDRV6-6CDQM-RV23K-RP8F7</Key> - </ProductKey> - </UserData> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <ProductKey>VMCB9-FDRV6-6CDQM-RV23K-RP8F7</ProductKey> - <TimeZone>Pacific Standard Time</TimeZone> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <Home_Page>about:blank</Home_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>false</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> diff --git a/assets/winvistax86.cmd b/assets/winvistax86.cmd deleted file mode 100644 index 3978dab3..00000000 --- a/assets/winvistax86.cmd +++ /dev/null @@ -1,123 +0,0 @@ -@echo off -setlocal - -set "SCRIPT_DIR=%~dp0" -set "SETUP_STARTED=%SCRIPT_DIR%setup.started" -set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" - -if "%~1"=="" goto setup -if /i "%~1"=="setup" goto setup -if /i "%~1"=="logon" goto logon -if /i "%~1"=="specialize" goto specialize -exit /b 2 - -:specialize - -rem Install the VMWare display driver before Windows Setup's final reboot. -certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1 -start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1 - -exit /b 0 - -:setup -if exist "%SETUP_COMPLETE%" exit /b 0 - -type nul > "%SETUP_STARTED%" - -rem Allow guest access to network shares. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f - -rem BEGIN LOCAL_ACCOUNT -rem Prevent the local user password from expiring. -wmic useraccount where name="Docker" set PasswordExpires=false -rem END LOCAL_ACCOUNT - -rem Disable hibernation. -POWERCFG -H OFF - -rem Disable monitor blanking. -POWERCFG -X -monitor-timeout-ac 0 - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f - -rem Disable Network Discovery popup. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f - -rem Disable AutoPlay for all drives. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutoRun" /t REG_DWORD /d 255 /f - -rem Disable first-run experience in Edge. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f - -rem Disable hibernation in the registry. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f - -rem Disable hibernation. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f - -rem Disable sleep. -POWERCFG -X -standby-timeout-ac 0 - -rem Add RDP in firewall. -netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes - -rem Enable RDP. -reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f - -rem Turn off sidebar. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f - -rem Enable RemoteApp to launch unlisted programs. -reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f - -rem Disable RemoteApp allowlist. -reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f - -rem Enable Network Discovery. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes - -rem Enable File Sharing. -netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes - -rem Install the VirtIO Balloon service once. -sc.exe query BalloonService >nul 2>&1 -if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i - -rem BEGIN PRODUCT_KEY -rem Install the product key without activating Windows immediately. -cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" -rem END PRODUCT_KEY - -type nul > "%SETUP_COMPLETE%" -exit /b 0 - -:logon -rem Run the machine setup here when SetupComplete.cmd was skipped. -if not exist "%SETUP_COMPLETE%" call "%~f0" setup - -rem Show file extensions in Explorer. -reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f - -rem Disable screensaver. -reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f - -rem Disable screensaver. -reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f - -rem BEGIN SHARED_FOLDER -rem Add the shared folder to the desktop and map it to drive Z:. -if not exist "%USERPROFILE%\Desktop\Shared" mklink /d "%USERPROFILE%\Desktop\Shared" \\host.lan\Data -net.exe use Z: \\host.lan\Data /persistent:yes -rem END SHARED_FOLDER - -rem BEGIN OEM_SCRIPT -rem Launch the custom script asynchronously in a separate visible window. -if exist "C:\OEM\install.bat" start "Install" cmd.exe /d /c ""C:\OEM\install.bat"" -rem END OEM_SCRIPT - -exit /b 0 diff --git a/assets/winvistax86.xml b/assets/winvistax86.xml deleted file mode 100644 index 1c8d7bca..00000000 --- a/assets/winvistax86.xml +++ /dev/null @@ -1,165 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SetupUILanguage> - <UILanguage>en-US</UILanguage> - </SetupUILanguage> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DiskConfiguration> - <WillShowUI>OnError</WillShowUI> - <Disk wcm:action="add"> - <DiskID>1</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <ModifyPartition wcm:action="add"> - <Active>true</Active> - <Format>NTFS</Format> - <Label>Windows</Label> - <Letter>C</Letter> - <Order>1</Order> - <PartitionID>1</PartitionID> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <ImageInstall> - <OSImage> - <InstallFrom> - <MetaData wcm:action="add"> - <Value>Windows Vista BUSINESS</Value> - <Key>/IMAGE/NAME</Key> - </MetaData> - </InstallFrom> - <InstallTo> - <DiskID>1</DiskID> - <PartitionID>1</PartitionID> - </InstallTo> - <WillShowUI>OnError</WillShowUI> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Docker</FullName> - <Organization>Windows for Docker</Organization> - <ProductKey> - <Key>4D2XH-PRBMM-8Q22B-K8BM3-MRW4W</Key> - </ProductKey> - </UserData> - </component> - </settings> - <settings pass="generalize"> - <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <ComputerName>*</ComputerName> - <ProductKey>4D2XH-PRBMM-8Q22B-K8BM3-MRW4W</ProductKey> - <TimeZone>Pacific Standard Time</TimeZone> - <OEMInformation> - <Manufacturer>Dockur</Manufacturer> - <Model>Windows for Docker</Model> - </OEMInformation> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - </component> - <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <DisableSR>1</DisableSR> - </component> - <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <fDenyTSConnections>false</fDenyTSConnections> - </component> - <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" specialize</Path> - <Description>Run the specialize pass of the setup script</Description> - </RunSynchronousCommand> - </RunSynchronous> - </component> - </settings> - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <InputLocale>0409:00000409</InputLocale> - <SystemLocale>en-US</SystemLocale> - <UILanguage>en-US</UILanguage> - <UserLocale>en-US</UserLocale> - </component> - <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <Home_Page>about:blank</Home_Page> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <CEIPEnabled>0</CEIPEnabled> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Name>Docker</Name> - <Group>Administrators</Group> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - <AdministratorPassword> - <Value>YQBkAG0AaQBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> - <PlainText>false</PlainText> - </AdministratorPassword> - </UserAccounts> - <AutoLogon> - <Username>Docker</Username> - <Enabled>true</Enabled> - <LogonCount>65432</LogonCount> - <Password> - <Value>YQBkAG0AaQBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> - <PlainText>false</PlainText> - </Password> - </AutoLogon> - <Display> - <ColorDepth>32</ColorDepth> - <HorizontalResolution>1280</HorizontalResolution> - <VerticalResolution>720</VerticalResolution> - </Display> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>false</SkipMachineOOBE> - </OOBE> - <RegisteredOrganization>Dockur</RegisteredOrganization> - <RegisteredOwner>Windows for Docker</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <Order>1</Order> - <CommandLine>cmd.exe /d /c call "%WINDIR%\Setup\Scripts\SetupComplete.cmd" logon</CommandLine> - <Description>Configure Windows after logon</Description> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend>