Providing Free and Editor Tested Software Downloads
< HOME | TUTORIALS | GEEK-CADE| WEB TOOLS | YOUTUBE | NEWSLETTER | DEALS! | FORUMS | >

MajorGeeks.com - We got downloads coming out of our waxy, geeky ears.

Software Categories

All In One Tweaks
Android
Antivirus & Malware
Appearance
Back Up
Browsers
CD\DVD\Blu-Ray
Covert Ops
Drivers
Drives (SSD, HDD, USB)
Games
Graphics & Photos
Internet Tools
Linux Distros
MajorGeeks Windows Tweaks
Multimedia
Networking
Office & Productivity
System Tools

Other news

· How To and Tutorials
· Life Hacks and Reviews
· Way Off Base
· MajorGeeks Deals
· News
· Off Base
· Reviews



IObit Black Friday Sale

spread the word

· YouTube
· Facebook
· Instagram
· Twitter
· Pintrest
· RSS/XML Feeds
· News Blur
· Yahoo
· Symbaloo

about

· Top Freeware Picks
· Malware Removal
· Geektionary
· Useful Links
· About Us
· Copyright
· Privacy
· Terms of Service
· How to Uninstall

top downloads

1. GS Auto Clicker
2. Macrium Reflect FREE Edition
3. Smart Defrag
4. MusicBee
5. Sergei Strelec's WinPE
6. Visual C++ Redistributable Runtimes AIO Repack
7. Microsoft Visual C++ 2015-2022 Redistributable Package
8. McAfee Removal Tool (MCPR)
9. K-Lite Mega Codec Pack
10. Visual C++ Runtime Installer (All-In-One)
More >>

top reads

Star Stop Windows 11 From Spying On You: Free Tools and PowerShell

Star AI Answers: Authority Without Accountability

Star Fun with CMD: 5 Windows command-line tools for music, video, and more

Star All the New Features Landing in Windows 11 This December

Star Lossless vs Lossy: When FLAC, APE, and ALAC Beat MP3 and When They Don't

Star Google Search Tricks You'll Actually Use in 2025 and Beyond

Star Fresh PC Checklist: First 12 Things to Do On a New Windows 11 Machine

Star Running AI Models Locally: What They Are, Where to Find Them, and How to Get Started

Star Deciding Between Idle State, Sleep Mode, and Shutdown: What's Best for Your PC?

Star How to Fix VMware Workstation "The Update Server Could Not Be Resolved" Error Installing VMware Tools


MajorGeeks.Com » Overview» Tutorials and Video Guides » How to Empty the Recycle Bin When Shutting Down Your Computer

How to Empty the Recycle Bin When Shutting Down Your Computer

By Timothy Tibbetts

on 06/15/2023

⚡ Black Friday Blowout! IObit Pro Up to 90% Saving PLUS $5 off! ⚡
Once-a-year pricing on speed, privacy, and protection. Don’t miss the best deal IObit drops all year!

The Windows Recycle bin exists to allow you to restore recently deleted files. We don't use the Recycle Bin and prefer to save space and keep it empty if you're like us. Since we both reboot and empty the recycle bin about once a week, why not delete the recycle bin when we reboot? Here's how to empty the recycle bin on every reboot.

Windows 10 & 11 Home does not have Group Policy Editor, but you can manually Enable Group Policy Editor in Windows 10 Home Edition.

For advanced users to speed through this guide, we're merely going to create a batch file, then use Group Policy Editor to execute it at shut down. Optionally, here's a step-by-step video on how to.



1: Create a Batch File

Right-click on your Desktop and select New > Text Document (or open any text editor) to create a new text file. We're calling ours Empty Recycle Bin.

Copy and paste PowerShell.exe -NoProfile -Command Clear-RecycleBin -Confirm:$false into the text document and save it.



Next, rename your text file to .bat. Click on it and replace .txt with .bat. If you don't see .txt, in File Explorer, go to View and check the box next to View file name extensions.

You should now be sure you save or move your batch file anywhere you like, so you know where it is for the next step.

Before you proceed, let's make sure your new batch file works. Make sure you have deleted files in your Recycle Bin and double-click your new batch file. If the Recycle Bin empties, we're ready to proceed.



2: Create a New Group Policy

Now, let's use Group Policy Editor to execute your new batch file at every reboot.

Press the Windows Key + R and type in gpedit.msc and press Enter.

Navigate to Computer Configuration > Windows Settings > Scripts (Startup/Shutdown)

Right-click on Shutdown and click on Properties. Click on Add, then browse to your new batch file, select it and click on OK, then click on OK again.



Shut down, or reboot to verify it works.

If you change your mind later, delete the batch file and follow the above steps, except when you click on Properties, you can select and click on Remove the batch file.



Similar:
  • How to Hide the Recycle Bin in Windows 11, 10, 8, & 7
  • 6 Ways to Empty the Recycle Bin in Windows 10 & 11
  • Enable or Disable the Recycle Bin Delete Confirmation Box
  • How to Permanently Delete Files Instead of Using the Recycle Bin
  • How to Change the Recycle Bin Icon in Windows 10 & 11


    comments powered by Disqus





  • © 2000-2025 MajorGeeks.com
    Powered by Contentteller® Business Edition