The PC started hanging because the memory is probably clogged with unnecessary files, most of which you’ll never use again. To keep your computer in optimum conditions, you need to perform some maintenance tasks. Not to mention that you may lose your data at any time due to unforeseen circumstances, and routine maintenance ensures that you don’t lose anything. It’s okay if you forget to back up or optimize your PC because there are some creative ways to do it all on autorun.
Automate Common Maintenance Tasks in Windows 11/10
In this section, I’ll show you how to carry out the following tasks on your Windows 11/10 machine: It’s okay if you don’t understand the above solutions. Keep reading because I’ll give you detailed guides on each of them.
1] Clean the system drive automatically
You should get rid of unneeded files on your system drive periodically, especially if you have limited storage on the disk. There are several ways to clean the system drive, but you don’t have to make it a point to do all of them because I’ll show you how to automate these tasks and reduce your work.
Use Storage Sense to automate hard drive cleaning
Microsoft introduced Storage Sense in Windows 10. It deletes temporary files and those in Recycle Bin. You can delegate the task of cleaning your system drive to Storage Sense because it won’t delete your important files. Press the Windows key + I combination to open Settings and then go to System > Storage. Here, toggle ON the Storage Sense option. This enables Storage Sense on your machine. To configure what gets deleted and when to delete it, click on the Change how we free up space automatically.
Schedule Disk Cleanup Utility tasks
The Windows Disk Cleanup Utility needs no introduction. It gives you options to remove all kinds of junk files from your computer. With the click of a button, you can get rid of downloaded program files, temporary internet files, thumbnails, Recycle Bin files, etc. Instead of manually using the Disk Cleanup Utility once in a while, you can schedule it to run automatically at intervals using the Task Scheduler. Here’s how to do it: Press the Windows key and search for task scheduler. Open Task Scheduler from the search results. Click on the Action menu in Task Scheduler and select Create Basic Task. Give the new task a name and description, and click the Next button. On the next screen, specify the interval you want the task to run. You can set it to run daily, weekly, monthly, etc. A trigger can also activate the task. For example, when the computer starts, logs on, or when a specific event is logged. Next, select the Action, which refers to what you want to schedule. In this case, choose the Start a program option. Enter the following script in the Program/script field: Finally, review the summary of your new task and hit Finish. Read: Tips to maintain Windows 10 in good running condition.
2] Automatically backup files
No one plans for their drives to crash to lose their vital files in any way. Backing up your files and settings regularly will save you from data loss. Most people will find it tough to remember to back up their files regularly, and that’s why automating your backups is crucial. Fortunately, Windows 10 comes with the File History feature that eases the backing up routine. This feature is sophisticated but quite easy to use. All you have to do is connect an external hard drive to your computer with the feature enabled, and Windows will back up your vital files on the connected drive. You can check out this post to learn how to use File History to back up and restore files.
3] Update Windows, device drivers, and apps at the best times
Many hardware issues that users face are down to outdated applications or drivers. Windows also doesn’t alert you when updates of your drivers are available. Users were able to block Windows updates in earlier Windows editions, but all you can do now is postpone pending updates. The Active Hours setting prevents your machine from updating at inappropriate times. With this feature, you can now set your system to update during your active hours, which is determined by the way you use your computer. Press Windows key + I and select Updates & Security from the Settings screen. Next, click on the Change active hours option and change it to Automatically adjust active hours for this device based on activity. Hope this helps! Read next: Create your own Windows Maintenance tasks using dMaintenance.