Skip to content

This repository contains an Answer File and Scripts designed to optimize and streamline your Windows installation, making it perfect for gaming, power users, and even low-end laptops or PCs. ๐ŸŽฎ๐Ÿ’ป

License

Notifications You must be signed in to change notification settings

ShivamXD6/Optimize-Windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”ฎ Optimize Windows

Version User Base License Last Updated Compatible Telegram Discord
Contribute

  • 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.

๐Ÿ“‘ Table of Contents

๐Ÿ“‚ Included Scripts

Auto Unattend or Answer File

  • Automates Windows installation with optimized settings, debloating or tweaking Windows etc.
  • Ideal for new setups or reinstalling Windows.

Add More Features Script

  • Expands the Shivaay Folder with additional tweaks or customization options.
  • Perfect for enhancing personalization and system performance.

Update Script

  • Fetches and applies the latest updates from the Optimize-Windows repository.
  • Keeps your system configurations and tweaks up to date effortlessly.

๐Ÿš€ Features

1. ๐Ÿš€ While Installation of Windows

  • ๐Ÿšง 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

2. ๐Ÿ’จ Debloat & Optimization

  • ๐Ÿงน 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

3. ๐Ÿ” Privacy & Security

  • ๐Ÿ‘๏ธ 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)

4. ๐Ÿ‘ค User-Based Customizations

  • ๐Ÿ“ 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

5. ๐Ÿ›‘ Disable Components/Services

  • ๐Ÿ’ค 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

6. ๐Ÿ“‚ Shivaay's Folder Options

  • Everything which have "*" are only available in Add More Features Script. Not available by default to make folder less cluttered.

๐Ÿ” Security

  • ๐Ÿ›ก๏ธ Toggle Windows Defender and Core Isolation
  • ๐Ÿ›ก๏ธ *Toggle Unused Security Pages

๐Ÿ“ฆ Software

  • 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)

๐Ÿ› ๏ธ System Management

  • ๐Ÿ’ค 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)

โšก Optimizations

  • ๐Ÿ”” 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)

๐Ÿ–ฅ๏ธ User Interface

  • ๐Ÿ–ผ๏ธ 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

๐ŸŽ›๏ธ *Context Menu

  • ๐Ÿ”‘ Add/Remove Get File Hash
  • ๐Ÿ”‹ Add/Remove Select Performance Mode

๐Ÿšช *Useful Shortcuts

  • ๐Ÿ—„๏ธ Open God Mode
  • ๐Ÿ Open Startup Programs
  • ๐Ÿ“€ Open Apps Data
  • ๐Ÿ” Restart to Bios Settings, Safe mode or Normal Mode

7. ๐Ÿ”„ Miscellaneous

  • ๐Ÿ–ฅ๏ธ 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)

โ“ What to choose for installation?

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.

๐Ÿ”ง Installation with Ventoy

1. Prepare Your USB Drive

  1. Create a bootable USB drive using Ventoy.

  2. Download the Optimize-Windows.zip.

  3. Extract the contents of Optimize-Windows.zip into your USB drive.

  4. 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
    
  5. Add your Windows ISO into WinISO, then Move on to Next Section.

Note

Only Official Windows 10/11 ISO are supported.

2. Optional: Adding Drivers

  1. Create a folder named Drivers on your C: drive.

  2. 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
  3. Plug your USB drive/installation media into your computer.

  4. Copy the drivers you want to automatically install from C:\Drivers to D:\$WinpeDriver$.

Note

Drivers should be placed in their respective subfolders with .inf files included. .exe driver files are not supported.

3. Installing Windows via Ventoy

Tip

Don't connect to internet or lan cable while installing.

  1. Now Restart into Boot Selection Menu (By Pressing F12, F9, or ESC Repeatedly).
  2. Select your USB Drive.
  3. If it Says "Verification Failed: (0x1A) Security Violation" Then, Follow this, or Simply Disable secure boot from BIOS:-

Ventoy Enroll Key

  1. Now Select Boot in Normal Mode.
  2. Now you'll see some commands running.
  3. 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.

  1. 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.

  1. Proceeed Installation as usual windows Installation.
  2. Now windows will run some more commands and restart.
  3. Done Enjoy :)

๐Ÿ”ง Installation with Rufus

1. Prepare Your USB Drive

  1. Create a bootable USB drive using Rufus.

Important

Don't tick any options while making bootable drive Rufus Answer File

  1. Download the autounattend.xml.
  2. Now you have two ways:-

Short way (Recommended if you're directly installing it on Main Machine)

  1. Move the downloaded autounattend.xml to your Rufus USB drive (the one containing setup.exe)

Long way (Recommended Only if you want to test it out on VM)

  1. Download AnyBurn.
  2. Open and click on Edit Image
  3. Select Windows ISO.
  4. Click on Add at Top Left Corner.
  5. Select autounattend.xml
  6. Click Next, and Modify name to something else to keep original ISO Untouched.
  7. Done, now test it on VM or Directly Use it on Rufus.

Note

Only Official Windows 10/11 ISO are supported.

2. Installing Windows via Rufus

Tip

Don't connect to internet or lan cable while installing.

  1. Now Restart into Boot Selection Menu (By Pressing F12, F9, or ESC Repeatedly).
  2. Select your USB Drive.
  3. Now you'll see some commands running.
  4. 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.

  1. 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.

  1. Proceeed Installation as usual windows Installation.
  2. Now windows will run some more commands and restart.
  3. Done Enjoy :)

๐Ÿ“ธ Screenshots

๐Ÿงช Benchmarks

  • On Original Windows

BenchMark-OG

  • On Windows with Answer File

BenchMark-AF

๐Ÿ’ป Process Count, RAM, Installed Apps and Storage Usage

  • On Original Windows

TaskManager-OG

  • On Windows with Answer File

TaskManager-AF

InstalledApps-AF

Storage-AF

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.

๐Ÿ–ฅ๏ธ Desktop & Shivaay Folder

  • On Original Windows

Desktop-OG

  • On Windows with Answer File

Desktop-AF

Shivaay-Folder-AF

Optimizations-Folder

Security-Folder

Softwares-Folder

Management-Folder

UI-Folder

๐Ÿ’– Acknowledgements