Useful Things

How to Automate Boring Tasks on Windows for Free

By a tech blogger who got tired of clicking the same buttons every single day


The repetitive task that finally broke me

Every morning for about eight months, I did the same thing. Opened my laptop. Launched Chrome. Opened three specific tabs. Opened File Explorer, navigated three folders deep to a project folder. Opened Excel. Opened Slack. Every. Single. Morning.

It sounds trivial, right? Maybe five minutes total. But it was five minutes of pure friction before I could even start actual work. And when you multiply five minutes by 20 working days a month โ€” you’re looking at nearly two hours a month just clicking around doing nothing meaningful.

One day I finally got annoyed enough to do something about it. I wrote a tiny AutoHotkey script and a Task Scheduler job, and now my whole “morning setup” happens automatically the second my laptop wakes up. That was the moment I went down the Windows automation rabbit hole, and I haven’t looked back.

If you’re someone who does anything repetitive on Windows โ€” renaming files, sending the same emails, organizing folders, filling out forms, launching the same apps โ€” this guide is for you. And yes, everything I’m about to share is completely free.


Why automation is easier than most people assume

The word “automation” makes people think of complex code or expensive software. That’s not the case here. Windows actually ships with some surprisingly capable automation tools built right in. You just have to know where to look.

There are four main tools I keep coming back to, and they each have a slightly different sweet spot:

  • Task Scheduler โ€” Run programs or scripts on a schedule. Built into Windows, zero setup required.
  • AutoHotkey โ€” Automate keystrokes, mouse clicks, and text expansion. Free download.
  • PowerShell โ€” Script-based automation for files, folders, and system tasks. Already on your PC.
  • Power Automate Desktop โ€” Visual drag-and-drop automation, no coding needed. Free with Windows 10/11.

Let’s go through each one with practical examples you can actually use today.


Tool 1: Task Scheduler โ€” the alarm clock for your PC

Task Scheduler has been in Windows forever, and most people have never opened it. It’s basically a way to tell your computer “run this thing at this time, under these conditions.” That’s it.

A few things I’ve used it for: automatically clearing my Downloads folder every Sunday night, launching my morning apps right when I log in, and running a PowerShell backup script every evening at 9 PM.

Here’s how to set up your first scheduled task:

  1. Press Win + S, search for “Task Scheduler,” and open it.
  2. Click “Create Basic Task” on the right sidebar. Give it a name like “Morning Setup.”
  3. Choose your trigger โ€” daily, at logon, at startup, etc.
  4. Under “Action,” select “Start a program” and browse to whatever you want to launch.
  5. Finish the wizard. That’s it.

Pro tip: To launch multiple apps at once, create a simple .bat file (just a text file with a .bat extension) and list each app path on its own line with the word “start” before it. Point Task Scheduler to that .bat file instead.

The most useful trigger in my opinion is “At log on” โ€” anything you need at the start of your day just happens without you lifting a finger.


Tool 2: AutoHotkey โ€” give your keyboard superpowers

AutoHotkey (AHK) is a free tool you download once, and then you can write tiny scripts that make Windows do things for you. It sounds intimidating, but the basics are honestly very readable โ€” almost like writing instructions in plain English.

Download it from autohotkey.com (the v2 version is current). Once installed, you create a .ahk file, write your script, double-click to run it, and it just sits in your system tray doing its thing.

Here are three things I personally use it for:

  1. Text expansion โ€” I type @@ and it automatically expands to my full email address. I type ;addr and my work address fills in. This alone saves me probably 30 minutes a week of retyping the same things.

Script example: ::@@::myname@email.com ::/addr::123 Work Street, Building 4, Floor 2

  1. Hotkey launchers โ€” I press Win + N to open Notepad instantly, no matter what I’m doing:

#n::Run “notepad.exe”

  1. Window management โ€” resize and position windows exactly where I want them with one keystroke. Honestly, once you set this up you wonder how you lived without it.

Tip: Don’t try to write complex scripts from scratch. Search “AutoHotkey text expansion” or “AutoHotkey window manager” and copy a script that’s close to what you need. Modify it slightly. That’s how 90% of people actually use it.


Tool 3: PowerShell โ€” the real workhorse for file tasks

If you’ve ever found yourself manually renaming 50 files, moving things between folders, or doing the same cleanup tasks every week โ€” PowerShell is going to change your life. It’s already on your computer and it’s incredibly powerful for file-based automation.

I was intimidated by it for a long time. Then I realized that even knowing five or six commands gets you 80% of the value.

Here’s a real script I use to move all files older than 30 days from my Downloads folder into an archive folder:

$source = “$env:USERPROFILE\Downloads” $dest = “$env:USERPROFILE\Downloads\Archive” New-Item -ItemType Directory -Force -Path $dest Get-ChildItem $source | Where-Object { !$.PSIsContainer -and $.LastWriteTime -lt (Get-Date).AddDays(-30) } | Move-Item -Destination $dest

Save that as a .ps1 file, schedule it with Task Scheduler, and your Downloads folder basically manages itself.

Other genuinely useful PowerShell automations:

  • Bulk rename files โ€” add a date prefix, change extensions, strip spaces from filenames
  • Auto-sort a messy folder into subfolders by file type
  • Copy files to a backup drive when it’s plugged in
  • Delete temp files on a schedule to free up space

Important: By default, Windows blocks running PowerShell scripts for security reasons. Open PowerShell as Administrator and run Set-ExecutionPolicy RemoteSigned once to allow your own scripts to run. Don’t set it to “Unrestricted” โ€” that opens up more risk than you need.


Tool 4: Power Automate Desktop โ€” automation without any code

This one is Microsoft’s own tool, and it’s free with Windows 10 and 11. You can find it by searching “Power Automate” in the Start menu or downloading it from Microsoft’s site.

The idea is simple: you record or drag-and-drop a sequence of actions โ€” click here, type this, open that, copy this value โ€” and it runs that sequence automatically. It’s built for people who need to automate things that involve clicking around in desktop apps or web browsers, not just files.

Some examples where this shines:

  • Filling out the same web form repeatedly with data from a spreadsheet
  • Copying data from one app into another (legacy software that doesn’t have an API)
  • Generating a weekly report by scraping numbers from several places
  • Sending templated emails from Outlook with variable content

The learning curve is the lowest of anything on this list. If you can use a drag-and-drop interface, you can automate things with Power Automate Desktop within an afternoon.


Real-life examples worth stealing

Real-life examples worth stealing

Here are a few practical automations I’ve actually built or helped others build. None of these took more than an hour to set up.

The “empty my temp folder” script. Windows accumulates junk in %TEMP%. A two-line PowerShell script, scheduled weekly, deletes everything in there. My laptop feels snappier and I free up several GB every month without thinking about it.

The “organize my desktop” hotkey. An AutoHotkey script moves everything sitting on my desktop into dated subfolders when I press a certain key combo. Takes about 0.3 seconds. Used to take me five minutes of dragging.

The “screenshot renamer.” Screenshots from Windows are named things like Screenshot 2024-05-17 134521.png. A PowerShell script watches my Screenshots folder and renames new files to something shorter. Small thing, massive relief.

Morning app launcher. The Task Scheduler + .bat file combo I mentioned at the start. Fires at logon, opens Chrome with three specific URLs, opens my project folder, launches Notion. I haven’t manually opened any of those in months.


Mistakes I made (please learn from these)

Automating before testing manually. My first PowerShell file-mover script had a path typo. It ran silently and moved nothing. I spent 20 minutes wondering why nothing happened. Test your script manually once before scheduling it.

No logging. Automated scripts fail silently. Add a simple log line โ€” even just writing the date and “ran successfully” to a text file โ€” so you know things are actually working.

Over-engineering simple things. I once spent three hours trying to build a complex AutoHotkey macro for something that a five-line PowerShell script could handle in ten minutes. Know which tool fits the job.

Not testing after Windows updates. Microsoft sometimes changes security policies or moves things around. After a major Windows update, check your scheduled tasks are still running.

Automating a broken process. Automating something inefficient just makes it inefficiently fast. Before you automate, ask if the task even needs to happen at all.


Wrapping up

The first time I set up a Task Scheduler job that launched all my morning apps automatically, I sat there for a second just watching it happen. It felt slightly magical โ€” and also a little embarrassing that I hadn’t done it two years earlier.

You don’t need to go from zero to writing complex PowerShell scripts overnight. Start with one thing. Pick the task you do most repetitively and ask: can Task Scheduler handle this? Can AutoHotkey? Usually the answer is yes, and usually it takes less than an hour to set up.

Once you save your first 30 minutes a week, you’ll get addicted. The best part is that all of this is already sitting on your Windows machine, completely free, just waiting for you to use it.

Start small, automate one thing, and see how it feels. You can thank yourself later.

Mahesh Kumar

Mahesh Kumar is a tech enthusiast and the author behind MSR Technical, sharing updates on AI, gadgets, smartphones, automobiles, and the latest technology trends.

Leave a Reply

Your email address will not be published. Required fields are marked *