- This repository contains an Answer File and Some Scripts designed to optimize and streamline your Windows installation, making it ideal for gaming, power users, and even low-end laptops or PCs. ๐ฎ๐ป
- For existing Windows and if you don't want to reinstall then it's recommended to use WinUtil by CTT.
- ๐ Included Scripts
- ๐ Features
- โ What to choose for installation
- ๐ง Installation with Ventoy
- ๐ง Installation with Rufus
- ๐ธ Screenshots
- ๐ Acknowledgements
- Automates Windows installation with optimized settings, debloating or tweaking Windows etc.
- Ideal for new setups or reinstalling Windows.
- Expands the Shivaay Folder with additional tweaks or customization options.
- Perfect for enhancing personalization and system performance.
- Fetches and applies the latest updates from the Optimize-Windows repository.
- Keeps your system configurations and tweaks up to date effortlessly.
- ๐ง Bypass Windows 11 Requirements
- ๐ Support for Local Account During Setup
- ๐๏ธ Show All Available Windows Editions
- ๐พ Support Automatic Offline Driver Installation
- โ๏ธ Auto OOBE Setup
- ๐ Improve Windows Installation Speed
- ๐งน Remove Windows Bloatware
- โ Disable Error Reporting and Remote Assistance
- ๐ Various Services Optimization
- ๐ซ Disable Automatic File Discovery
- ๐ฎ Turn on Game Mode and Hardware GPU Acceleration
- ๐ฟ Dynamically Adjust Virtual Memory upto 16GB
- ๐ Configure Visual Effects for Snappy Experience
- ๐ค Debloat Copilot and Disable Recall
- ๐๏ธ Disable Telemetry and Tracking
- ๐ Display Camera On/Off Notification
- ๐ Configure Windows Update: Security Updates by 7 Days and Features Updates by 6 Months, also don't download/install updates automatically.
- ๐ Prevent Installation of Dev Home, New Outlook, Chat, Bitlocker Auto-Encryption
- ๐ Disabled UAC (irritating for some users,although can be enabled manually later)
- ๐ Hide Gallery and Network Navigation (In File Explorer)
- ๐ Hide Removable Drives (In File Explorer)
- โ๏ธ Enable item Check boxes in file explorer to quickly select files or folders by mouse.
- โป๏ธ Pin Recycle bin In File Explorer.
- โ๏ธ Hide Homepage(In Settings)
- ๐ก๏ธHide Unused Security Pages(In Windows Security)
- ๐ Show More Details on File Transfer
- ๐ฅ๏ธ Enable Verbose Status Messages
- ๐ค Use Full App Name on Desktop Shortcuts
- ๐๏ธAdd 'Compress to' in Old Context Menu
- ๐ฎ Add 'Run as Administrator' for PowerShell scripts Context Menu
- ๐ค Disable Hibernation and Reserved Storage
- ๐จ๏ธ Disable Printer Spooler
- ๐ Disable Search Indexing
- ๐ก๏ธ Disable Defender, Core Isolation and Smart Screen
- ๐ Disable Biometrics (Fingerprint and Face Unlock)
- ๐ Set SysMain (SuperFetch/Prefetch) to Manual not required for many SSD Users
- Everything which have "*" are only available in Add More Features Script. Not available by default to make folder less cluttered.
- ๐ก๏ธ Toggle Windows Defender and Core Isolation
- ๐ก๏ธ *Toggle Unused Security Pages
- This are Links/Internet-Shortcuts to install them, doesn't included any of them by Default.
- ๐ฎ Game Bar (Without Xbox Bloats)
- ๐ด *AMD Radeon Software (Without Bloats, also not available in Microsoft Store search)
- ๐ก *Microsoft Tips (Fixes Safe Mode and Troubleshooting)
- ๐ง *Realtek Audio Console (As it's not available in Microsoft search)
- ๐ Edge Webview (Some Apps Requires)
- โป๏ธ *Hi-Bit Uninstaller (Free and good for fully uninstalling any app)
- ๐ Microsoft Store (To uninstall/install it again)
- ๐ Various Browsers like Edge, Chrome, Firefox, Brave and Zen (Normal + Portable)
- ๐ฝ *Memory Reduct (Like sysinternals but Lightweight)
- ๐ค Toggle Hibernation, Fast Startup
- ๐จ๏ธ *Toggle Printer Spooler
- ๐ต Toggle Notifications and Background Apps
- ๐ Toggle Search Indexing
- ๐ฅ Toggle GameDVR
- ๐ *Toggle Biometrics (Fingerprint and Face Unlock)
- ๐ *Configure Shivaay OS (Like change OS name, Folder Location etc)
- ๐ Toggle Update Notification
- ๐ *Toggle Automatic Folder Discovery, 8.3 Char Name, Last Access Time, Multi-Plane Overlay
- ๐งน Cleanup Script to clean unnecessary files and free up space
- ๐ฝ *Toggle Superfetch/Prefetch
- โฌ *Toggle Delivery Optimization
- ๐ฟ Toggle Compact OS (Free up space by compressing Windows Binaries)
- ๐ผ๏ธ Toggle Gallery and Home
- ๐ *Toggle Network Pane and Removable Drives in File Explorer
- โป๏ธ *Pin/Unpin Recycle bin in file explorer
- ๐ Toggle Recent Items (Recent Apps, Recent Documents, Files etc)
- ๐ *Toggle Windows Old/New Context Menu
- ๐ Add/Remove Get File Hash
- ๐ Add/Remove Select Performance Mode
- ๐๏ธ Open God Mode
- ๐ Open Startup Programs
- ๐ Open Apps Data
- ๐ Restart to Bios Settings, Safe mode or Normal Mode
- ๐ฅ๏ธ Create Internet Shortcuts in Shivaay Folder of CTT Winutil, Activate Windows, Add more features and Update Script.
- โก Added a Custom Power Plan (Shivaay - Power Within)
- ๐ Disable Auto Restart on BSOD (To Capture Detailed Logs)
Tip
Ventoy is recommended for users who don't frequently format their USB drives or want to include drivers during installation.
Rufus, on the other hand, is ideal for those who prefer a quick and simple installation and don't mind formatting the drive and installing drivers afterward.
-
Create a bootable USB drive using Ventoy.
-
Download the Optimize-Windows.zip.
-
Extract the contents of
Optimize-Windows.zip
into your USB drive. -
Confirm that the file structure on your USB drive matches the following:
D: (Your USB-Drive) โ โโโโ$WinpeDriver$ โ โโโโAdd or Export Your Drivers Here โ โโโโventoy โ โโโโventoy.json โ โโโโautounattend.xml โ โโโโWinISO โโโโAdd Your Windows ISO Here
-
Add your Windows ISO into WinISO, then Move on to Next Section.
Note
Only Official Windows 10/11 ISO are supported.
-
Create a folder named
Drivers
on your C: drive. -
Backup your current Windows drivers to the C: drive by running the command in command prompt as administrator:
dism /online /export-driver /destination:C:\Drivers
-
Plug your USB drive/installation media into your computer.
-
Copy the drivers you want to automatically install from
C:\Drivers
toD:\$WinpeDriver$
.
Note
Drivers should be placed in their respective subfolders with .inf
files included. .exe
driver files are not supported.
Tip
Don't connect to internet or lan cable while installing.
- Now Restart into Boot Selection Menu (By Pressing F12, F9, or ESC Repeatedly).
- Select your USB Drive.
- If it Says "Verification Failed: (0x1A) Security Violation" Then, Follow this, or Simply Disable secure boot from BIOS:-
- Now Select
Boot in Normal Mode
. - Now you'll see some commands running.
- Select Your Language, Region and Select Windows Pro Version.
Note
If you don't see many Windows versions, click Back once, then click Next again. This should display all available Windows versions.
- You'll be Redirected to Custom Installation. Now Do any one method according to your condition.
-
If you want to keep your data :- Just select partition where your windows is installed and click next. Don't delete any other partition.
-
If you want to Clean Install :- Delete all partitions. Then select Unallocated Space and click Next.
Note
If installation failed it's recommended to use Rufus method given below. As 24H2 having new setup issues with Ventoy.
- Proceeed Installation as usual windows Installation.
- Now windows will run some more commands and restart.
- Done Enjoy :)
- Create a bootable USB drive using Rufus.
- Download the autounattend.xml.
- Now you have two ways:-
- Move the downloaded
autounattend.xml
to your Rufus USB drive (the one containingsetup.exe
)
- Download AnyBurn.
- Open and click on
Edit Image
- Select Windows ISO.
- Click on
Add
at Top Left Corner. - Select
autounattend.xml
- Click Next, and Modify name to something else to keep original ISO Untouched.
- Done, now test it on VM or Directly Use it on Rufus.
Note
Only Official Windows 10/11 ISO are supported.
Tip
Don't connect to internet or lan cable while installing.
- Now Restart into Boot Selection Menu (By Pressing F12, F9, or ESC Repeatedly).
- Select your USB Drive.
- Now you'll see some commands running.
- Select Your Language, Region and Select Windows Pro Version.
Note
If you don't see many Windows versions, click Back once, then click Next again. This should display all available Windows versions.
- You'll be Redirected to Custom Installation. Now Do any one method according to your condition.
-
If you want to keep your data :- Just select partition where your windows is installed and click next. Don't delete any other partition.
-
If you want to Clean Install :- Delete all partitions. Then select Unallocated Space and click Next.
- Proceeed Installation as usual windows Installation.
- Now windows will run some more commands and restart.
- Done Enjoy :)
- On Original Windows
- On Windows with Answer File
- On Original Windows
- On Windows with Answer File
Note
These have been tested on a VM (VirtualBox), not on the main machine; therefore, the results may be slightly different on the main machine.
- On Original Windows
- On Windows with Answer File
- Thanks to MemTechTips for Core file Used as a base for Answer File.
- Credits to Atlas, ChrisTitusTech and Revi for Tweaks used in this answer File.