Skip to main content

How to Delete Temporary Files in Windows

 

How to Delete Temporary Files in Windows

Follow these simple steps to delete your temporary Windows files:

  1. Windows 10: Select the search box just to the right of the Start button on the taskbar.

    Windows 8.1: Right-click or tap-and-hold the Start button and then choose Run.

    Windows 8.0: The easiest way to access Run is from the Apps screen.

    In earlier versions of Windows, choose Start to bring up the search box or find Run.

    Another way to open the Run dialog box is to enter the WIN+R keyboard shortcut.

  2. In the Run window or search box, enter the following command exactly:

    %temp%
    

    This command, which is technically one of many environment variables in Windows, will open the folder that Windows has designated as your Temp folder, probably C:\Users\[username]\AppData\Local\Temp.

  3. Select all the files and folders within the Temp folder that you want to delete. Unless you have a reason to otherwise, select them all.

    Highlighted files in the Windows 10 Temp folder

    If you're using a keyboard or mouse, click one item and then use Ctrl+A to select every item within the folder. If you're on a touch-only interface, choose Select all from the Home menu at the top of the folder.

    "You don't need to know what each temp file you're going to delete is for, or what or how many files are included in any subfolders you select. Windows won't let you delete any files or folders that are still in use. More on that in a bit."

  4. Delete all the temporary files and folders you've selected, either using the Delete key on your keyboard or the Delete button from the Home menu.

    Depending on your version of Windows, and how your computer is configured, you might be asked to confirm that you wish to Delete Multiple Items. You may even have to select Yes on a special Confirm Multiple File Delete window that appears. Handle any messages about hidden files in this folder the same way—it's fine to delete those, too.

  5. Choose Skip if you're presented with a File In Use or a Folder In Use warning during the temporary file deletion process.

    Screenshot showing the Skip button when deleting Temp files in Windows 10


    This is Windows telling you that the file or folder you're trying to delete is locked and still in use by a program, or maybe even Windows itself. Skipping these allows the deleting to continue with the remaining data.

    If you're getting a lot of these messages, check the Do this for all current items checkbox and then select Skip again. You'll have to do it once for the file messages and again for the folder ones, but warnings should stop after that.

    Rarely will you see a message like Error Deleting File or Folder that will stop the temp file deleting process completely. If this happens, restart your computer and try again. If even that doesn't work, try starting Windows in Safe Mode and repeating the steps above.

  6. Wait while all the temp files are deleted, which could take anywhere from a few seconds if you only have a few files in this folder, and up to several minutes if you have many and they're large.

    You won't be prompted when the process is complete. Instead, the progress indicator will just disappear, and you'll see your empty, or almost empty, temp folder up on the screen. Feel free to close this window.

    If you happen to be deleting so much data that not all of it can be sent to Recycle Bin, you'll be told that they'll be permanently removed.

  7. Finally, locate Recycle Bin on your Desktop, right-click or tap-and-hold the icon, and then choose Empty Recycle Bin.

    Screenshot highlighting Windows 10 Desktop and Empty the Recycle Bin right-click menu

    Can't find Recycle Bin? It might have been hidden. You can still open a hidden Recycle Bin in File Explorer.

  8. Select Yes on the prompt to confirm that you want to delete the items, which will permanently remove those temporary files from your computer. You now, in the short term, have an empty temporary files section.

The next time you delete temporary files in Windows, feel free to hold down Shift as you delete the files. It's a trick that will skip over storing them in Recycle Bin, essentially "permanently" deleting them and saving you this last step.


Check this link for reference: https://www.youtube.com/watch?v=ja3CyuT0gqE



 


For documentation purposes only.

Comments

Popular posts from this blog

Two simple ways to block internet browsing using Windows Firewall.

  Here are two simple ways to block internet browsing using Windows Firewall. Choose Method A (Block all browsers) or Method B (Block specific browsers like Chrome/Edge/Firefox). ✅ METHOD A — BLOCK ALL INTERNET BROWSING (Recommended) This blocks ALL internet access for ALL applications except those you allow. Steps: Press Windows + R Type: wf.msc Press Enter On the left, click Outbound Rules On the right, click New Rule… Select Custom → Next Under Program , choose All programs → Next Under Protocol and Ports , click Next Under Scope , click Next Under Action , select: ✔ Block the connection Click Next Under Profile , select: ✔ Domain ✔ Private ✔ Public Click Next Name the rule: Block Internet Browsing Click Finish ✔ This will instantly disable ALL internet access. 🟨 OPTIONAL: Allow exceptions If you want to allow EXCEPTIONS (example: allow only MT5, or allow Windows Update): Create a New Outbound Rule Select Program Browse to the app...

Block Browser Using Software Restriction Policy

Here are several alternative ways to block web browsers in Windows (Chrome, Edge, Firefox, etc.) without using the firewall method you mentioned earlier . Choose the method that best fits your need. 1 . Block Browser Using AppLocker (Windows Pro/Enterprise) Blocks the browser application from opening completely. Steps: Press Win + R , type: secpol.msc Go to: Application Control Policies → AppLocker → Executable Rules Right-click → Create New Rule Select: Deny User = Standard user (not Admin) Choose Path : Chrome: C:\Program Files\Google\Chrome\Application\chrome.exe Edge: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe Firefox: C:\Program Files\Mozilla Firefox\firefox.exe Apply. Result: User cannot open the browser. Admin still can. 2 . Block Browser Using Software Restriction Policy For Windows Pro. Steps: Press Win + R , type: gpedit.msc Navigate to: Computer Configuration → Windows Settings → Security Settings → Soft...

How to connect your Website domain name to a Cloud VPS hosting environment running XAMPP

To connect your Website domain name to a Cloud VPS hosting environment running XAMPP, follow these steps: Obtain Your VPS IP Address : Log in to your Contabo account and navigate to your VPS management section to find your server's public IP address. Configure Your Domain's DNS Settings : Access your domain registrar's control panel. Locate the DNS management section. Create an 'A' record pointing your domain (e.g., yourdomain.com ) to your VPS's public IP address. If you want ' www.yourdomain.com ' to also point to your VPS, add a 'CNAME' record for 'www' pointing to 'yourdomain.com'. Set Up Virtual Hosts in XAMPP : On your VPS, open the httpd-vhosts.conf file located at C:\xampp\apache\conf\extra\httpd-vhosts.conf . Add the following configuration, replacing placeholders with your actual domain and directory paths: <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "C:/xampp/ht...