A lightweight, automated PowerShell script that dynamically monitors your Windows Downloads folder using a FileSystemWatcher and automatically organizes incoming files into dedicated subdirectories based on extension types.
Important
This script is inspired by this creator @ctrlaltalex on Insta but highly modified to my liking | https://www.instagram.com/p/DXZJ64mjCxZ/
Come hang out in our community for support, Destiny 2 guides, archives, and more!
The script evaluates and routes files into the following directory tree:
| Folder | Monitored Extensions |
|---|---|
Images |
.jpg, .jpeg, .png, .gif, .webp, .avif, .svg, .ico, .pdn, .bmp, .tiff, .psd, .ai |
Videos |
.mp4, .mkv, .mov, .avi, .webm, .flv, .wmv |
Documents |
.pdf, .docx, .xlsx, .txt, .yaml, .html, .yml, .pptx, .csv, .md, .pdfx |
Audio |
.mp3, .wav, .flac, .aac, .ogg, .m4a, .wma |
Installers |
.exe, .msi, .zip, .rar, .7z, .bat, .msix, .iso, .tar, .gz, .tgz, .vhd, .vhdx |
3D Print Downloads |
.stl, .3mf, .obj, .step, .gcode, .amf, .f3d, .stp |
Web and Coding |
.json, .jsonc, .xml, .css, .scss, .js, .ts, .html, .php, .py, .cs, .unitypackage, .tf, .tfvars |
Gaming and Mods |
.dll, .apk, .xapk, .patched, .bin, .dat, .pak, .reg, .cfg, .config, .ini, .log, .unity3d, .assets, .bundle, .wad, .jar |
Fonts |
.ttf, .otf, .woff, .woff2 |
Save the core script as organise.ps1 in a permanent location on your drive (e.g., C:\Users\YOUR_USERNAME\Desktop\organise.ps1).
To make the script launch silently on startup without flashing console windows or taskbar items, deploy it via Windows Task Scheduler:
- Open Task Scheduler and click Create Basic Task.
- Set the Trigger to
When I log on.
- Set the Action to
Start a program.
- In the Program/script field, type:
powershell.exe
In the Add arguments (optional) field, paste the execution parameters (make sure to update your actual system username path):
-WindowStyle Hidden -ExecutionPolicy Bypass -File "C:\Users\YOUR_USERNAME\Desktop\organise.ps1"
When Task Scheduler launches background processes, Windows 11 may occasionally flash or blink the taskbar icon for a split second to notify you that a new process spawned. You can disable this flashing via the Windows Registry.
Warning
This is a system-wide registry change. Disabling this will stop all applications from flashing their taskbar icons. This means you will no longer get visual flashing alerts when apps (like Discord, Steam, or your browser) are flashing in the background to get your attention.
-
Press
Win + R, typeregedit, and hit Enter. -
Navigate to the following path in the registry address bar:
HKEY_CURRENT_USER\Control Panel\Desktop -
Look for a DWORD value named
ForegroundFlashCounton the right side.
- If it exists: Double-click it.
- If it doesn't exist: Right-click empty space ➡️ New ➡️ DWORD (32-bit) Value and name it
ForegroundFlashCount.
- Change the Value Data to
0(this turns off the blinking animation completely). - Restart your PC to apply the changes.
Want to track more file extensions? Simply open organise.ps1 and add your required extensions in lowercase format to the $global:FileMap hashtable:
"Your New Folder Name" = @(".ext1", ".ext2")

