From 288ee49128c99dde3e833ee733e78d56c46b78a4 Mon Sep 17 00:00:00 2001 From: memstechtips Date: Wed, 24 Jul 2024 22:42:23 +0200 Subject: [PATCH] Update 24/7/2024 (#72) See changelog for more details. --- CHANGELOG.md | 25 +++ IoT-LTSC-Like/arm64/autounattend.xml | 252 +------------------------- IoT-LTSC-Like/autounattend.xml | 252 +------------------------- README.md | 7 +- Standard/arm64/autounattend.xml | 254 +-------------------------- Standard/autounattend.xml | 254 +-------------------------- 6 files changed, 60 insertions(+), 984 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2361b93..88df725 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,29 @@ # Updates +## 24/7/2024 +*These Updates apply to ALL Versions* + +### Changed +README.md - Fixed wrong `ISO/Windows` folder creation in Method 3. (Can't create folders with "/") + +``` +reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v Wallpaper /t REG_SZ /d "C:\Windows\Web\Wallpaper\Windows\img19.jpg" /f +``` +Changed img0.jpg to img19.jpg to compliment the automatic enabling of dark mode. + +### Added +``` +:: Disables Wallpaper JPEG Quality Reduction in Windows 10 +reg.exe add "HKEY_CURRENT_USER\Control Panel\Desktop" /v JPEGImportQuality /t REG_DWORD /d 100 /f +``` + +``` +:: Set Desktop Background Dark Mode Wallpaper +reg.exe add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d "C:\Windows\Web\Wallpaper\Windows\img19.jpg" /f +``` + +### Removed +Completely Removed `defaultuser.cmd` - It doesn't work as intended, registry settings are applied to user accounts via the `currentuser.cmd` script. + ## 8/7/2024 *These Updates apply to the Standard and IoT-LTSC-Like Versions* diff --git a/IoT-LTSC-Like/arm64/autounattend.xml b/IoT-LTSC-Like/arm64/autounattend.xml index 4948932..fe763a6 100644 --- a/IoT-LTSC-Like/arm64/autounattend.xml +++ b/IoT-LTSC-Like/arm64/autounattend.xml @@ -84,16 +84,11 @@ 7 - Registry Entry to Execute the HKU\DefaultUser Registry Entries Script - cmd.exe /c "C:\Windows\Setup\Scripts\defaultuser.cmd >>"C:\Windows\Setup\Scripts\defaultuser.log" 2>&1" - - - 8 Registry Entry to Execute the HKCU Registry Entry Script the First Time a New User Logs In reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\Runonce" /v "currentuser" /t REG_SZ /d "C:\Windows\Setup\Scripts\currentuser.cmd" /f - 9 + 8 Unloads the Default User Registry Hive reg.exe unload "HKU\DefaultUser" @@ -608,7 +603,7 @@ reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent :: Disable Windows Spotlight on Settings reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsSpotlightActiveUser /t REG_DWORD /d 1 /f :: Set desktop background to a normal Windows picture -reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v Wallpaper /t REG_SZ /d "C:\Windows\Web\Wallpaper\Windows\img0.jpg" /f +reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v Wallpaper /t REG_SZ /d "C:\Windows\Web\Wallpaper\Windows\img19.jpg" /f :: Ensure the wallpaper style is set to fill (2 is for fill, 10 is for fit) reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v WallpaperStyle /t REG_SZ /d "2" /f @@ -821,243 +816,6 @@ reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "Product @="cmd.exe /c takeown /f \"%1\\\" /r /d y && icacls \"%1\\\" /grant *S-1-3-4:F /t /c & Pause" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\\\" /r /d y && icacls \"%1\\\" /grant *S-1-3-4:F /t /c & Pause"]]> - - - - - diff --git a/IoT-LTSC-Like/autounattend.xml b/IoT-LTSC-Like/autounattend.xml index 27523b4..abc36b0 100644 --- a/IoT-LTSC-Like/autounattend.xml +++ b/IoT-LTSC-Like/autounattend.xml @@ -84,16 +84,11 @@ 7 - Registry Entry to Execute the HKU\DefaultUser Registry Entries Script - cmd.exe /c "C:\Windows\Setup\Scripts\defaultuser.cmd >>"C:\Windows\Setup\Scripts\defaultuser.log" 2>&1" - - - 8 Registry Entry to Execute the HKCU Registry Entry Script the First Time a New User Logs In reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\Runonce" /v "currentuser" /t REG_SZ /d "C:\Windows\Setup\Scripts\currentuser.cmd" /f - 9 + 8 Unloads the Default User Registry Hive reg.exe unload "HKU\DefaultUser" @@ -608,7 +603,7 @@ reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent :: Disable Windows Spotlight on Settings reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsSpotlightActiveUser /t REG_DWORD /d 1 /f :: Set desktop background to a normal Windows picture -reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v Wallpaper /t REG_SZ /d "C:\Windows\Web\Wallpaper\Windows\img0.jpg" /f +reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v Wallpaper /t REG_SZ /d "C:\Windows\Web\Wallpaper\Windows\img19.jpg" /f :: Ensure the wallpaper style is set to fill (2 is for fill, 10 is for fit) reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v WallpaperStyle /t REG_SZ /d "2" /f @@ -821,243 +816,6 @@ reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "Product @="cmd.exe /c takeown /f \"%1\\\" /r /d y && icacls \"%1\\\" /grant *S-1-3-4:F /t /c & Pause" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\\\" /r /d y && icacls \"%1\\\" /grant *S-1-3-4:F /t /c & Pause"]]> - - - - - diff --git a/README.md b/README.md index 4d66cc2..3fe9d64 100644 --- a/README.md +++ b/README.md @@ -167,17 +167,12 @@ In short, you need to include the `autounattend.xml` answer file on your Windows 1. Download your preferred `autounattend.xml` file and save it on your computer. 2. Download the [Windows 10](https://www.microsoft.com/en-us/software-download/windows10) or [Windows 11](https://www.microsoft.com/en-us/software-download/windows11) ISO file, depending on the version you want. 3. Download and install [Ventoy](https://github.com/ventoy/Ventoy) to your desired USB flash drive. Before we get started, we have to prepare the folder structure: - - In your newly created Ventoy disk, create the following folders: `ISO/Windows` and `Templates`. They should be at the root of the drive. - - Put your ISOs in the newly created `ISO/Windows` folder. + - Put your downloaded `autounattend.xml` into `Templates`. - You are ready to keep on going! 4. Start VentoyPlugson. Depending on your OS, the steps might differ. On Windows, run the `.exe` file. A browser window should open up with a Ventoy web interface ready to go. 5. Navigate to the Auto Install Plugin menu. In there, add a new entry. - Select [parent] to make the whole Windows ISO folder benefit from the plugin. - - In the Directory Path, paste in the absolute path to your `ISO/Windows` folder. - - In the Template Path, paste in the absolute path to your `autounattend.xml` file. (PSA: If you have more `autounattend.xml` files, you can add them later on!) -6. Restart your computer and boot from the Ventoy drive. After selecting a Windows ISO under the `ISO/Windows` path, you will be prompted to select the `autounattend.xml` file. -
## Conclusion diff --git a/Standard/arm64/autounattend.xml b/Standard/arm64/autounattend.xml index 6dc3eb9..7b24ed1 100644 --- a/Standard/arm64/autounattend.xml +++ b/Standard/arm64/autounattend.xml @@ -84,21 +84,16 @@ 7 - Registry Entry to Execute the HKU\DefaultUser Registry Entries Script - cmd.exe /c "C:\Windows\Setup\Scripts\defaultuser.cmd >>"C:\Windows\Setup\Scripts\defaultuser.log" 2>&1" - - - 8 Registry Entry to Execute the HKCU Registry Entry Script the First Time a New User Logs In reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\Runonce" /v "currentuser" /t REG_SZ /d "C:\Windows\Setup\Scripts\currentuser.cmd" /f - 9 + 8 Unloads the Default User Registry Hive reg.exe unload "HKU\DefaultUser" - 10 + 9 Edge cmd.exe /c "C:\Windows\Setup\Scripts\edgeremoval.bat >>"C:\Windows\Setup\Scripts\edgeremoval.log" 2>&1" @@ -708,7 +703,7 @@ reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent :: Disable Windows Spotlight on Settings reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsSpotlightActiveUser /t REG_DWORD /d 1 /f :: Set desktop background to a normal Windows picture -reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v Wallpaper /t REG_SZ /d "C:\Windows\Web\Wallpaper\Windows\img0.jpg" /f +reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v Wallpaper /t REG_SZ /d "C:\Windows\Web\Wallpaper\Windows\img19.jpg" /f :: Ensure the wallpaper style is set to fill (2 is for fill, 10 is for fit) reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v WallpaperStyle /t REG_SZ /d "2" /f @@ -931,243 +926,6 @@ reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "Product @="cmd.exe /c takeown /f \"%1\\\" /r /d y && icacls \"%1\\\" /grant *S-1-3-4:F /t /c & Pause" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\\\" /r /d y && icacls \"%1\\\" /grant *S-1-3-4:F /t /c & Pause"]]> - - - - - diff --git a/Standard/autounattend.xml b/Standard/autounattend.xml index ccb6972..33badb8 100644 --- a/Standard/autounattend.xml +++ b/Standard/autounattend.xml @@ -84,21 +84,16 @@ 7 - Registry Entry to Execute the HKU\DefaultUser Registry Entries Script - cmd.exe /c "C:\Windows\Setup\Scripts\defaultuser.cmd >>"C:\Windows\Setup\Scripts\defaultuser.log" 2>&1" - - - 8 Registry Entry to Execute the HKCU Registry Entry Script the First Time a New User Logs In reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\Runonce" /v "currentuser" /t REG_SZ /d "C:\Windows\Setup\Scripts\currentuser.cmd" /f - 9 + 8 Unloads the Default User Registry Hive reg.exe unload "HKU\DefaultUser" - 10 + 9 Edge cmd.exe /c "C:\Windows\Setup\Scripts\edgeremoval.bat >>"C:\Windows\Setup\Scripts\edgeremoval.log" 2>&1" @@ -708,7 +703,7 @@ reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent :: Disable Windows Spotlight on Settings reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsSpotlightActiveUser /t REG_DWORD /d 1 /f :: Set desktop background to a normal Windows picture -reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v Wallpaper /t REG_SZ /d "C:\Windows\Web\Wallpaper\Windows\img0.jpg" /f +reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v Wallpaper /t REG_SZ /d "C:\Windows\Web\Wallpaper\Windows\img19.jpg" /f :: Ensure the wallpaper style is set to fill (2 is for fill, 10 is for fit) reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v WallpaperStyle /t REG_SZ /d "2" /f @@ -931,243 +926,6 @@ reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "Product @="cmd.exe /c takeown /f \"%1\\\" /r /d y && icacls \"%1\\\" /grant *S-1-3-4:F /t /c & Pause" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\\\" /r /d y && icacls \"%1\\\" /grant *S-1-3-4:F /t /c & Pause"]]> - - - - -