Checklist
Windows version
win11 23H2
Script mode/options
without any options
Describe the issue
When users download the Win11Debloat ZIP archive directly from GitHub (via browser) and extract it, Windows adds a "Mark of the Web" (Zone.Identifier) to all extracted files. This causes PowerShell to prompt a security warning for every single .ps1 file the script tries to load via dot-sourcing.
GUI depends on loading multiple script files, these prompts interrupt the initialization – the script cannot complete the load and falls back to CLI mode instead of showing the graphical interface.
A simple fix is to run(under the extracted folder):
Get-ChildItem -Path . -Recurse -File | Unblock-File
This removes the block in one step and allows the GUI to start normally.
Please consider adding this command to the README (under "Usage" or a new "Troubleshooting" section). It would make the tool more beginner-friendly.
Thank you for your work!
Steps to reproduce
Download the latest Win11Debloat ZIP from the Releases page using a browser.
Extract the ZIP to a folder.
Open PowerShell as Administrator and navigate to the extracted folder.
Run .\Win11Debloat.ps1 (or Run.bat).
Error output
No response
Additional context
No response
Checklist
Windows version
win11 23H2
Script mode/options
without any options
Describe the issue
When users download the Win11Debloat ZIP archive directly from GitHub (via browser) and extract it, Windows adds a "Mark of the Web" (Zone.Identifier) to all extracted files. This causes PowerShell to prompt a security warning for every single .ps1 file the script tries to load via dot-sourcing.
GUI depends on loading multiple script files, these prompts interrupt the initialization – the script cannot complete the load and falls back to CLI mode instead of showing the graphical interface.
A simple fix is to run(under the extracted folder):
This removes the block in one step and allows the GUI to start normally.
Please consider adding this command to the README (under "Usage" or a new "Troubleshooting" section). It would make the tool more beginner-friendly.
Thank you for your work!
Steps to reproduce
Download the latest Win11Debloat ZIP from the Releases page using a browser.
Extract the ZIP to a folder.
Open PowerShell as Administrator and navigate to the extracted folder.
Run .\Win11Debloat.ps1 (or Run.bat).
Error output
No response
Additional context
No response