What to know
Most people don’t back up their stuff. Not because they don’t care, but because it feels annoying, confusing, or expensive.
Here’s the secret: Windows already includes a powerful backup tool called Robocopy. You can use it with a tiny script to automatically back up your important folders.
No subscriptions. No extra software. Just a simple backup that can save you from losing everything.

What this script does
This script copies your important folders to another drive (like an external drive, second internal drive, or a NAS).
It can back up:
• Desktop
• Documents
• Pictures
It only copies changes, so it’s fast after the first run.
The simple script
Create a file named: backup.ps1
Paste this in:
$source="C:\Users\YourUsername"
$destination="D:\Backups\YourUsername"
robocopy $source $destination Documents Desktop Pictures /MIR /R:2 /W:2 /XD AppData /XJ /NFL /NDL
What you need to change
Change these two lines:
1) Replace YourUsername with your Windows username
2) Replace D:\Backups with where you want the backup to go
Good backup locations:
• External drive (best)
• Second internal drive
• Network share / NAS
What the weird Robocopy options mean
/MIR makes the backup match your folders (mirror).
/R:2 tries twice if something fails.
/W:2 waits 2 seconds between tries.
/XD AppData skips junk/huge app data.
/XJ avoids weird folder loops.
/NFL /NDL makes output less spammy.
How to run it
Right click PowerShell and choose “Run as Administrator” (optional but helpful), then run:
powershell -ExecutionPolicy Bypass -File "C:\path\to\backup.ps1"
That’s it. It starts copying.
Make it automatic
If you want this to run by itself:
1) Open Task Scheduler
2) Create a new task
3) Trigger: Daily or Weekly
4) Action: Start a program
5) Program:
powershell.exe
6) Add arguments:
-ExecutionPolicy Bypass -File "C:\path\to\backup.ps1"
Now it backs up automatically.
Why this helps
This protects you from:
• Accidental deletes
• Drive failure
• Windows getting corrupted
• Ransomware (at least helps a lot if the backup drive isn’t always plugged in)
This is one of those “set it once, thank yourself later” things.





