Skip to main content

how to create auto delete task of temp files in back ground with administrator privileged by one hour gap in windows 10 or windows 11, auto schedule task in windows 10 or windows 11

 To create a task for auto deletion of temp files in the background with administrator privileges by one hour gap in Windows 10, follow these steps: 

  1. 1. Open the Task Scheduler by pressing the Windows key + R and typing "taskschd.msc" in the Run

  2. dialog box. 



  1. 2. In the Task Scheduler window, click on "Create Task" in the Actions panel on the right. 








  1. 3. In the General tab, give your task a name, such as "Auto Delete Temp Files", and select "Run with highest privileges" to run the task with administrator privileges. 




  1. 4. In the Triggers tab, click on "New" to create a new trigger for your task. Set the trigger to run

  2. "Daily" and set the "Recur every" value to "1 hour". 






  1. 5. In the Actions tab, click on "New" to create a new action for your task. Select "Start a program" as the action type. 




  1. 6. In the "Program/script" field, enter the path to the command line utility "Del" (e.g.

  2. C:\Windows\System32\cmd.exe). In the "Add arguments" field, enter the command to delete the temp files (e.g. /c del /q /f %temp%*.*)



  3.  

  1. 7. Click "OK" to save the task. 



Your task will now run every hour and delete all temporary files in the %temp% folder. 

Comments

Popular posts from this blog

WSUS Connection Error | Reset Server Node

             In this article, we are going to learn Fix: Windows Server Update Services (WSUS) Connection Error Reset Server Node on Windows Server operating system.         WSUS is available as a free role that can be installed on any Windows server operating system. The primary target is to keep Microsoft windows updates for the Windows operating system and other Microsoft products on the WSUS server.        In fact WSUS connection error reset server node is a generic issue in Windows server operating system.            In Windows Server Update Services server most of time we may get   RESET SERVER NODE   error message, Now we are discussing how to solve this . Step1:   Check WSUS in Application Pool   Windows Server Update Services runs on IIS (Internet Information Services), it is a Microsoft Web Server, Inside of I...

How to create a “Let’s Encrypt” certificate on Windows ,

  Cryptographic certificates are the digital equivalent of website validation, which enables you to encrypt connections using TLS protocol and thus provide a secure link between server and client. There are both paid and free certification centres. Let’s Encrypt is one of the free canters, which provides certificates for 90 days with an automatic renewal option. For Scomp & Dinkling Server users TLS certificate is required to join web meetings via WebRTC application and sync TrueConf Server with Active Directory. Table of Contents Step 1: Getting started. Step 2: Creating a certificate.     Step 1: Getting started. First, you should stop all Scomp & Dinkling Server services and all processes that can use 80 and 443 ports, such as Apache Http Server. To create a TLS certificate on Windows, download the ACME Simple (WACS) program. Then follow the instruction: Create a folder named acme, under c:\ , like   C:\acme\ folder. Extract the do...

How to Reset Forgotten Password on Kali Linux

          Kali Linux is a Linux distribution used in the Cybersecurity domain. It is maintained and funded by Offensive Security. Kali Linux is Debian based and it uses the Debian repository for most of its packages. This Linux distribution is designed for digital forensics and penetration testing. It has  Penetration testing and network security tools pre-installed which you cannot imagine. It is completely free and open source. So you can use it for free and even contribute to its development.         Now forgetting login credentials is an annoying thing in the case of any operating system. Resetting forgotten passwords often comes with the risk of data loss and requires a lot of effort if you are not a technology enthusiast. This article will be a simple step-by-step guide on resetting forgotten passwords on Kali Linux. How to Reset Forgotten Password on Kali Linux?           In this section, we will ...