- Windows 11 operating system
- Administrator access
- Internet connection (for Firefox download)
- Copy the entire PowerShell script
- Open Notepad or any text editor
- Paste the script content
- Save the file as
FloriDevs-W11Fixer.ps1- Make sure to select "All Files" in the save dialog
- The file extension MUST be
.ps1(not.txt)
Windows blocks PowerShell scripts by default for security. You need to temporarily allow script execution.
- Press
Win + Xand select "Terminal (Admin)" or "PowerShell (Admin)" - In the PowerShell window, type:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
- Press
Enterand confirm withYif prompted - This allows scripts ONLY for the current PowerShell session
- Press
Win + Xand select "Terminal (Admin)" or "PowerShell (Admin)" - Type:
Set-ExecutionPolicy RemoteSigned - Press
Enterand confirm withY - This allows locally created scripts to run permanently
Note: Method A is safer as it only affects the current session!
In the same PowerShell window, navigate to where you saved the script:
cd C:\Users\YourUsername\DownloadsReplace YourUsername with your actual username, or navigate to wherever you saved the file.
Tip: You can also type cd (with a space) and drag-and-drop the folder into PowerShell!
Execute the script with this command:
.\FloriDevs-W11Fixer.ps1Press Enter and the script will start running!
Option 1: Unblock via File Properties
- Right-click on
FloriDevs-W11Fixer.ps1 - Select "Properties"
- At the bottom, check the box "Unblock"
- Click "Apply" then "OK"
- Run the script again
Option 2: Bypass SmartScreen Temporarily Instead of running the script normally, use:
PowerShell.exe -ExecutionPolicy Bypass -File .\FloriDevs-W11Fixer.ps1If you want to run the script with a single command without changing system policies:
- Open PowerShell as Administrator
- Navigate to script location:
cd C:\Path\To\Script - Run this single command:
PowerShell.exe -ExecutionPolicy Bypass -File .\FloriDevs-W11Fixer.ps1
This bypasses execution policy for this one script only!
- The script will show progress for each optimization step
- When complete, you'll be asked if you want to restart
- Restart is REQUIRED for all changes to take effect
- After restart, check that:
- Taskbar icons are on the left
- Right-click shows the old context menu
- Firefox is installed (if it wasn't before)
- You didn't change the execution policy (see Step 2)
- Use the Quick Start method instead
- You're not running PowerShell as Administrator
- Right-click PowerShell and select "Run as Administrator"
- Check your internet connection
- Download manually from: https://www.mozilla.org/firefox/
- The script will skip installation if Firefox is already present
- Edge cannot be fully removed without breaking Windows
- The script disables it as much as possible
- Use Firefox as your default browser instead
- Restart your computer
- Press
Win + R, typeexplorer.exe, and restart Explorer
- This script only modifies Windows settings and registry entries
- It does NOT download or install anything malicious
- Firefox is downloaded directly from Mozilla's official servers
- All changes can be reversed manually if needed
- The script does NOT:
- Delete language packs
- Change keyboard layouts
- Modify system files
- Send data anywhere
If you encounter any issues:
- Make sure you're running as Administrator
- Check that you followed all steps correctly
- Verify Windows 11 is up to date
- Create a System Restore Point before running (optional but recommended)
If you want to revert some changes:
Restore Windows 11 Context Menu:
reg delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /fMove Taskbar Back to Center:
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "TaskbarAl" -Value 1Then restart Explorer or your computer.
After running and restarting, verify:
- Taskbar icons are aligned to the left
- Right-click shows classic Windows menu
- Bloatware apps are removed (check Start menu)
- Firefox is installed and working
- Edge doesn't start automatically
- System is running smoothly
Enjoy your optimized Windows 11! 🎉
FloriDevs W11Fixer v1.0