Releases: memstechtips/UnattendedWinstall
UnattendedWinstall v3.0.0
What's Changed
Replaced autounattend.xml v2.1.0 with v3.0.0
Update README with new instructions and accurate Key Features
Delete UWScript.ps1 file
Move v1.0.0 Troubleshooting guides to v1.0.0 Release page
Deleted CHANGELOG.md, it's useless
Updated LICENSE.md with accurate info
Key Features
- Ability to choose Windows Edition (Unless Windows setup detects key in UEFI BIOS)
- Bypasses Windows 11 system requirements
- Skips forced Microsoft account creation during Windows setup
- Removes all preinstalled bloatware apps except Notepad, Calculator, Paint and Snipping Tool.
- Copilot, OneDrive and Edge are removed along with all other UWP apps.
- Recall is disabled.
- Applies the following Optimizations:
- Privacy & Security (Disables telemetry and ads)
- Power Settings (Imports and applies the Winhance Power Plan for better performance)
- Gaming & Performance (Applies settings and visual effects to improve performance, sets unneeded services to manual, disables unneeded scheduled tasks)
- Windows Updates (Disables auto updates and configures Windows Update to notify of available security updates only)
- Notifications (Disables all notifications except if related to privacy and security)
- Sound (Disables startup sound during boot, sets audio ducking preference to 'Do Nothing')
- Applies the following Customizations:
- Windows Theme (Sets Dark Mode by default, disables transparency effects)
- Taskbar (Hides search, task view and widget icons, aligns to the left on Windows 11)
- Start Menu (Unpins all items from start menu, Disables Bing search results in start)
- Explorer (Applies Classic Context Menu, opens File Explorer to this PC, shows file extensions, hides Home and Gallery folders in Navigation Pane and much more)
Tip
Use Winhance once Windows is installed (can be installed using the 'Install Winhance' desktop shortcut) to install software, re-apply or revert settings and manage your Windows apps and settings.
It can also be used to achieve the same experience UnattendedWinstall provides on an existing Windows installation without reinstalling Windows, see this video for more info.
UnattendedWinstall v2.1.0
v2.1.0 Changes
autounattend.xml Changes
- Removed the forced Pro edition enforcement. This is so the answer file can still be used with Home and especially Enterprise versions like LTSC.
- Added an order to temporarily disable all network adapters so Windows Updates aren't installed during the OOBE phase. (This should stop Windows Defender from being Enabled automatically.)
- Added a FirstLogon command that enables the network adapter again when the first user loads in after the OOBE phase.
autounattend.xml & UWScript.ps1 Changes
- Removed Microsoft Edge and Google Chrome Policies as it seems to negatively impact user browsing experience.
- Defined a new list of services that should be set to Disabled and Manual as the original list in v2.0.0 caused issues. The process count isn't as low as before but Windows should be more functional.
What's Changed
- Don't Remove Internet Explorer Compatibility as it breaks Volume Mixer by @ShivamXD6 in #171
- Removed forced Pro edition, remove browser policies, defined new list of services. by @memstechtips in #191
New Contributors
- @ShivamXD6 made their first contribution in #171
Full Changelog: v2.0.0...v2.1.0
UnattendedWinstall v2.0.0
Key Features
- Windows 10/11 Pro is installed by default
- Bypasses Windows 11 system requirements
- Disables Windows Defender services by default
- prompted to enable after Windows installation
- Disables User Account Control by default
- prompted to enable after Windows installation
- Allows execution of PowerShell scripts by default
- Skips forced Microsoft account creation during Windows setup
- Removes preinstalled bloatware apps except Microsoft Edge, Notepad and Calculator
- Copilot and Recall is Disabled.
- Sets privacy-related registry keys to disable telemetry
- Limits Windows Update to install only security updates for one year
- Optimizes registry with various optimization and customization-related keys
- See the "Set-RecommendedHKLMRegistry" and "Set-RecommendedHKCURegistry" functions for more information
- Disables unnecessary scheduled tasks
- Configures Windows services for optimal performance
- Enables the Ultimate Performance power plan
Note
Use the UWScript.ps1 file once Windows is installed to reapply or revert settings in case Windows Update resets some of the settings or if you encounter any issues.
It can also be used to achieve a similar experience to UnattendedWinstall on an existing Windows installation without reinstalling Windows.
Before Running the Script
Ensure you open PowerShell as an administrator. Additionally, set the execution policy to allow script execution by running the following command:
Set-ExecutionPolicy RemoteSignedRunning PowerShell with elevated permissions and enabling script execution will ensure that UWScript.ps1 can apply the necessary system changes.
v1.0.0 - Initial Release
First release of the UnattendedWinstall project.
This release is an archive for people who want access to the first autounattend.xml files uploaded to the repository, which had different versions like:
- IoT-LTSC-Like
- Standard
- Core
Troubleshooting Guides
For UnattendedWinstall v1.0.0
Adobe Creative Cloud Installer won't Launch
Click to Show Fix
You need to install Microsoft Edge
- Right-Click on Start and open Windows Powershell or Terminal as Admin.
- Run the following command:
irm www.christitus.com/win | iex
- Select Microsoft Edge and Click on "Install or Upgrade Selected."
- Microsoft Edge will be reinstalled.
- After Edge is installed, navigate to
C:\Program Files (x86)\Microsoft\Edge\Applicationand run themsedge.exefile to launch Edge and create a Desktop Shortcut.
Alternatively:
- Right-Click on Start and open Windows Powershell or Terminal as Admin.
- Run the following command:
winget install -e --id Microsoft.Edge
- Microsoft Edge will be reinstalled.
- After Edge is installed, navigate to
C:\Program Files (x86)\Microsoft\Edge\Applicationand run themsedge.exefile to launch Edge and create a Desktop Shortcut.
OneDrive not Launching
Click to Show Fix
You need to Enable OneDrive and User Sync
- Right-Click on Start and open Windows Powershell or Terminal as Admin.
- Run the following commands:
reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\OneDrive" /v KFMBlockOptIn /t REG_DWORD /d 0 /f reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\OneDrive" /v DisableFileSyncNGSC /t REG_DWORD /d 0 /f reg.exe add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy" /v SettingSyncEnabled /t REG_DWORD /d 1 /f
- Restart Your PC and try launching OneDrive again.
Calendar and Notifications (WhatsApp) not Working
Click to Show Fix
You need to Enable the Calendar, Notifications and Background Apps
- Right-Click on Start and open Windows Powershell or Terminal as Admin.
- Run the following commands:
reg.exe add "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer" /v DisableNotificationCenter /t REG_DWORD /d 0 /f reg.exe add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications" /v ToastEnabled /t REG_DWORD /d 1 /f reg.exe add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications" /v GlobalUserDisabled /t REG_DWORD /d 0 /f
- Restart Your PC to apply the changes.
Windows Spotlight not Working
Click to Show Fix
You need to Enable Windows Spotlight
- Right-Click on Start and open Windows Powershell or Terminal as Admin.
- Run the following commands:
reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsSpotlightOnLockScreen /t REG_DWORD /d 0 /f reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsConsumerFeatures /t REG_DWORD /d 0 /f reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsSpotlightActiveUser /t REG_DWORD /d 0 /f
- Restart Your PC to apply the changes.
How to Reinstall the Microsoft Store
Click to Show Fix
Reinstall the Microsoft Store - Video Instructions
- Download, Install and Launch the Xbox App for Windows
- It will prompt you to install missing dependencies and the Microsoft Store is one of them.
Xbox Game Bar not Working or Recording
Click to Show Fix
Install the Xbox App for Windows and Enable the Xbox Game Bar
- Download, Install and Launch the Xbox App for Windows
- It will prompt you to install missing dependencies, install all of them.
- Right-Click on Start and open Windows Powershell or Terminal as Admin.
- Run the following commands:
reg.exe add "HKEY_CURRENT_USER\System\GameConfigStore" /v GameDVR_FSEBehavior /t REG_DWORD /d 0 /f reg.exe add "HKEY_CURRENT_USER\System\GameConfigStore" /v GameDVR_Enabled /t REG_DWORD /d 1 /f reg.exe add "HKEY_CURRENT_USER\System\GameConfigStore" /v GameDVR_DXGIHonorFSEWindowsCompatible /t REG_DWORD /d 0 /f reg.exe add "HKEY_CURRENT_USER\System\GameConfigStore" /v GameDVR_HonorUserFSEBehaviorMode /t REG_DWORD /d 0 /f reg.exe add "HKEY_CURRENT_USER\System\GameConfigStore" /v GameDVR_EFSEFeatureFlags /t REG_DWORD /d 1 /f reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\GameDVR" /v AllowGameDVR /t REG_DWORD /d 1 /f
- Restart Your PC to apply the changes.