Skip to content

Windows 11 GPU Optimization and Virtual Memory Configuration Script

Notifications You must be signed in to change notification settings

JavianDev/windows11-gpu-script

Repository files navigation

Windows 11 Optimization Script Documentation

🏆 Ultimate Windows 11 Cleanup & Optimization Script

Overview

This PowerShell script provides comprehensive system optimization for Windows 11, including cleanup, performance tweaks, bloatware removal, and hardware configuration optimization.

⚠️ Prerequisites

  • Windows 11 Operating System
  • PowerShell 5.1 or higher
  • Administrator privileges
  • Stable internet connection
  • At least 10GB free disk space

🚀 Installation Steps

  1. Download the Script

    git clone https://github.com/yourusername/windows11-optimization.git
    cd windows11-optimization
  2. Enable PowerShell Script Execution Open PowerShell as Administrator and run:

    Set-ExecutionPolicy Bypass -Scope Process -Force

💻 Execution Steps

  1. Preparation

    • Create a system restore point
    • Close all running applications
    • Save any unsaved work
    • Ensure laptop is plugged in (if applicable)
  2. Running the Script

    • Right-click on windows-optimization-script.ps1
    • Select "Run with PowerShell"
    • Or execute via PowerShell:
      .\windows-optimization-script.ps1
  3. Optimization Process The script will execute the following steps in order:

    1. ✅ Administrator privileges check
    2. 🗑️ Remove old Windows installation
    3. 🔄 Clear Windows Update cache
    4. ⚡ Apply performance optimizations
    5. 📦 Remove bloatware applications
    6. 🎮 Configure GPU settings
    7. 💾 Optimize virtual memory
    8. 🧹 Clean system files
    9. 🔧 Clean registry
  4. Post-Execution

    • Review the completion message
    • Restart your computer when prompted

🛠️ Features

  1. System Cleanup

    • Removes temporary files
    • Clears Windows Update cache
    • Removes Windows.old folder
    • Empties Recycle Bin
    • Cleans system logs
  2. Performance Optimization

    • Disables hibernation
    • Reduces startup delay
    • Enables high-performance power plan
  3. Bloatware Removal

    • Removes pre-installed unnecessary apps
    • Cleans up Microsoft Store apps
    • Removes unused Windows features
  4. Hardware Optimization

    • Configures GPU preferences
    • Optimizes virtual memory
    • Adjusts system settings for better performance

⚠️ Important Notes

  1. Backup

    • Create a system restore point before running
    • Back up important data
    • Export current registry settings
  2. System Requirements

    • Minimum 8GB RAM recommended
    • SSD recommended for best results
    • Latest Windows 11 updates installed
  3. Warnings

    • Script requires restart after completion
    • Some settings are permanent
    • Some apps will be uninstalled
    • Custom GPU settings will be overwritten

🔧 Troubleshooting

  1. Script Won't Run

    Set-ExecutionPolicy Bypass -Scope Process -Force
  2. Access Denied Errors

    • Ensure running as Administrator
    • Check antivirus interference
    • Verify file permissions
  3. Failed Operations

    • Restart computer and try again
    • Run Windows system file checker:
      sfc /scannow

📋 Version History

  • v1.0.0 - Initial release
  • v1.1.0 - Added comprehensive cleanup
  • v1.2.0 - Added GPU optimization
  • v1.3.0 - Added virtual memory management

📞 Support

📜 License

This project is licensed under the MIT License


Author: Javian Picardo
Last Updated: February 2025
GitHub: [Repository Link]

About

Windows 11 GPU Optimization and Virtual Memory Configuration Script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published