Command for cleaning disk. html>pb

Carefully check for the actual disk number that is to be cleaned - if the wrong disk is selected here, all data will be To start the Disk Cleanup tool and specify the hard disk to be cleaned by using the command line, follow these steps: Click Start, and then click Run. In the Open box, type the following command, and then press Enter: c:\windows\SYSTEM32\cleanmgr. Use the "Drives" drop-down menu and select the (C:) drive (if applicable). exit. Now we need to get a list of all the drive available and for that type the following command and hit Enter: list disk. Pin Disk Cleanup to the taskbar, Start Menu or Start screen (all Windows versions) 7. select disk # ( # stands for the number of the disk to wipe) clean. Step 2: Type cleanmgr in the Command Prompt window, and then press Enter. Stops the selected virtual hard disk (VHD) from appearing as a local hard disk drive on the host computer. While watching the console at boot I see the boot hangs for a very long time with the message: “WARNING: Attempting to use bootflash for packages storage!” Then I see the message “Flash disk quota exceeded [free space is xxxx kB] - Please Disk cleanup in Windows. By default shred uses three passes, writing pseudo-random data to the device during each pass. Type clean. You will return to the diskpart prompt. It overwrites hard disks, files, and other devices with repeating patterns To start the Disk Cleanup tool, either run the Cleanmgr. This will launch disk cleanup tool. Type the following command to repair the image and press Enter: DISM /Online /Cleanup-Image Oct 9, 2023 · In the elevated Command Prompt window, type “diskpart” to enter diskpart window. Here we select disk 2. Turn on the switch under Automatic User content cleanup to set the cleanup Please be certain that you are erasing the correct disk. Find the number that represents your hard drive and enter select disk 0 (we used 0 as an example, so be sure to replace 0 with a number that matches your hard drive). Way 4: Open the tool via Windows PowerShell. Aug 26, 2023 · Open the Start Menu and then type "cmd. If you’re running Windows server, you can just run Powershell then launch diskpart on the cli. When the result is as expected, run the batch file once again without the two added echo. Extends the volume or partition with focus, along with its file system, into free (unallocated) space on a disk. This cmdlet will not clear OEM recovery partitions unless RemoveOEM parameter is also specified. Step 5: Click “Remove files” to clear the cache. Check the boxes for the file types that you want to delete, and then click OK. The df command (short for “disk free”) shows each drive’s disk size, space used, and free space. This tool has all the features of Diskpart and does not require complex commands. You can combine the /D argument with other switches of cleanmgr. You can also use the commands to wipe clean a disk using CMD. Wipe to Clean a Disk Using CMD. Jan 4, 2024 · Option 2. Dec 21, 2018 · Press Enter. 5 hours per TB, which would be 21 hours on that 6TB drive, but as you sat that depends on the connection speed of the drive and yours is fast. [ [email protected] ~]# fdisk -l /dev/sda. Exits the diskpart command interpreter. To view all partitions of specific hard disk use the option ‘ -l ‘ with device name. The output from the command should say “Disk 1 is now the selected disk. Activate the partition by using active. Clean. " Right-click the result and then choose "Run as administrator. From the disk list, you'll need to replace the [Your disk] line with your disk number. In Windows 10, the Settings-based cleanup option is available through Dec 16, 2015 · View Specific Disk Partition in Linux. cleanmgr /sagerun:id. goto :EOF. Nov 21, 2022 · list disk; Type the following command to select the storage and press Enter: select disk 3. Make sure not to use the Oct 18, 2021 · Press Win + R and enter the following command: cleanmgr. Click the OK button. Jul 18, 2019 · Cleaning a hard disk and its partitions with the Diskpart tool and the command Clean is one of the ways to recover a memory card, a USB stick or a hard disk if they don’t work properly, terrorize you with failures or show the wrong memory size. Remove Cached Files. Aug 28, 2023 · Select the Disk to Wipe. Apr 6, 2020 · With the disk selected, use the clean command to wipe it. Jun 20, 2024 · Continue reading and we provide the complete guide to the System Even Log. Or delete apt cache in its entirety (frees more disk space): sudo apt-get clean. Select the Disk you want to clean using select disk <no>. exe /SAGESET. This command is also used to unlock a write-protected USB drive, memory card or hard disk in Dec 7, 2022 · Step #1: Download, Install, And Open Mac Cleaner. Consider the Use Stacks feature to automatically Please be certain that you are erasing the correct disk. Aug 12, 2014 · In Windows. msc, right-click "Windows Update," and choose "Stop. In the Drive Selection window, select the drive you want to clean up and click OK. For each type of object, Docker provides a prune command. Finally, to remove the “read-only” attribute, enter this command and press the enter key. Choose a set of options for cleanup (this will display the GUI) and Save as settings group #64: CLEANMGR /sageset:64. Step 1: Open Settings by pressing Win + I. CLEANMGR /sagerun:64. Type list disk and press Enter. In this example, you see a Windows 7 installation screen, but this process is the same for Windows 7, Windows 8, and Windows 10 to date. This command will display all available storage devices in your computer. You can confirm this by running the list disk command again and checking Aug 29, 2023 · Use “List” Commands: Utilize commands like list disk, list partition, and list volume to get a clear view of your disk configuration before making any changes. To create a new partition on the drive use the command create partition primary. To initiate Diskpart’s clean command on an entire disk, select the disk you wish to clean and simply run clean. For example, the following command will display all disk partitions of device /dev/sda. Use the Windows key + X keyboard shortcut to open the Power User menu and select Command Prompt (Admin). (Image credit: Tom's Hardware) 4. Type select disk X (replace X with the appropriate disk number) and press Enter. Note: Besides running the clean command Dec 2, 2016 · The command above will launch disk cleanup for drive C:. Feb 18, 2024 · 3. Next, right-click on the Command Promot and select Run as Administrator. The clean all command is used in this case. With the disk selected, type clean and press Enter. Type the following command to create a primary partition and Apr 18, 2020 · Now enter list disk. To run Disk Cleanup this way regularly, you can create a shortcut which can be run from the Windows Startup folder or via a regular schedule. Avoid Direct “Clean” Command: Be cautious with the clean command, as it removes all partitions from a selected disk without confirmation Sep 29, 2020 · sudo apt-get clean. ATTENTION: Jun 26, 2018 · Open the Disk Cleanup from the Control Panel (all Windows versions) 5. Apr 4, 2024 · To delete the update cache, open Run, type services. How to clean your disk using command prompt CMD or PowerShell admin, with diskpart. 7GB. Replace 2 with your disk number. If you have more than one partitions, select the C drive and click Ok. Format Hard Disk with Command. Either remove only the outdated packages, like those superseded by a recent update, making them completely unnecessary. Aug 16, 2023 · Step 4: Select the Disk. Removing the Flatpak packages Description. The first thing you need to do is click this link. My other 2 computers Only have USB ports available And that's kind of slow Even for 2 shred. Unfortunately the PC does not detect it in Windows setup. Create Partition with Command. A list of disks will appear. Type list disk then press enter - this will show a list of drives in the system, starting with Drive 0. That’s a sizable chunk of disk space. Finally, click on Delete Files to confirm the action. Click OK. In addition, you can use docker system prune to clean up multiple types of objects at once. At the Drives list, select which drive you want to run Disk Cleanup on. Right click on the command prompt app that comes up and then select Run as administrator. 1 system, follow these instructions: Click Settings > Click Control Panel > Administrative Tools. You can test the batch file by inserting command echo left to the commands move and del and run the batch file from within a command prompt window to see the output. Step 3: Now click on “Temporary files”, under the “Local Disk (C:)” section. The CMD command prompt offers more than cleaning all partitions on your hard disk. " Windows temp files, as the name implies, are Aug 23, 2022 · Remove Unwanted Files on Windows Using Disk Cleanup. Clean Hard Disk with Command-Line. Open Disk Management, right-click on the unallocated space on the disk or external storage device. Step-2: Type the following command and press Enter: cleanmgr. Open Run again, type C:\Windows\SoftwareDistribution\, select all files, right-click a file, and choose the trash can icon (Windows 11) or "Delete" (Windows 10). This command will clean up the entire cache which frees up the space that are consumed by the unnecessary cache files. 4. Connect the drive or external device which you want to clean. Change the drive letter if you want to defrag any other drive. 2. You can use the shred command to securely remove everything so that no one recover any data: # shred -n 5 -vz /dev/sdb. Determine disk to wipe-out number, note that disks are counted from 0. 5 or 2. IMPORTANT: All data on the drive will be erased. It’s a command-line utility included by Windows 10 and Windows 11 that allows you to manage your computer's drives, including disks, partitions, volumes, or virtual hard disks. Click the "Cleanup system files Right-click (two-finger tap on a trackpad) any open space and choose Clean Up to get things arranged neatly, or Clean Up By to sort them as well. May 16, 2024 · If you cleaned a disk, open Disk Management, locate and right-click on the cleaned disk, select to "Initialize" it first. Jun 4, 2017 · Cleaning up cache will free up space. Since you’re using the Disk Cleanup tool to remove the windows. detail. Select the options you want to clear, including Recycle Bin. Now you need to select the categories of files you want to delete. Relaunch Disk Cleanup and click the “ Clean up system files button. Mar 18, 2024 · Once, ncdu is installed, we simply type the command followed by the path that we want to analyze: $ ncdu /home/hey. exe /d Drive Note In this command, the placeholder Drive represents the drive letter of the hard Dec 4, 2023 · On Windows 10, you can use the DiskPart commands to clean and properly format a hard drive to fix data corruption and other issues to make the storage usable again. Temp files, Internet files, downloaded files, and Recycle Bin files can all be cleared using command-line parameters. Mar 19, 2021 · Click on the Windows start button, type cleanmgr and select Disk Cleanup. The clean command removes all partition or volume formatting from the selected disk, wiping it clean of any existing data or partitions. Select the temporary files you'd like to delete and hit "OK. On the Windows installation screen, hold down Shift + F10 on the keyboard to bring up the command prompt window. It should take you to the software’s download site, and there, you’ll find a Download Now button. Disk Cleanup will prompt you to choose the drive to clean. From the diskpart prompt, type clean and press Enter. The files you don’t permanently delete by pressing Shift + Del stay in the Recycle bin. May 5, 2020 · Here's a useful command that can be used to only keep the 2 latest kernels installed, thus removing the previous ones: Shell. Click that button to download a DMG file—the file extension for installers in macOS computers. No warning will be provided. Select the files you want to delete and click "Clean Up System Files. exe. Disk Cleanup supports the following command-line options: /d driveletter: - This option specifies the drive that you want Disk Cleanup to clean. This command covers the most common tasks I use to create disk space: sudo apt-get autoremove && sudo apt-get autoclean && sudo journalctl --rotate && sudo journalctl --vacuum-size=100M. Create partition primary [size=xxx] To open Disk Cleanup on a Windows 8 or Windows 8. Use built-in diskpart tool. Jan 18, 2024 · To run the Disk Cleanup app so that you can use its dialog box to specify options for use later, saving the settings to the set 1, type the following: Copy. Press Windows Key + X then select Command Prompt (Admin). You can also use disk scrubbing program such as scrub. " Keep the window open. Dec 12, 2021 · To use it: Open Command Prompt, type cleanmgr, and hit Enter. Finally, you can open Windows Terminal and type cleanmgr in the Command Prompt or PowerShell profile. SELECT DISK 2. First, click the Windows Start button and type in CMD. The sfc /scannow command will scan all protected system files, and replace corrupted files with a cached copy that is located in a compressed folder at %WinDir% \System32\dllcache. cleanmgr /sagerun:1. sudo apt-get autoclean Clean Up Disk Space – Journal Logs. Enter the following lines and press Enter after each line: disk 0 clean. Step 3: In the elevated window, type the commands below and hit Enter after each. To run Disk Cleanup and include the options that you specified with the cleanmgr /sageset:1 command, type: Copy. To make the output from df easier to read, you can add the -h option. Mar 5, 2017 · 2. It will delete Windows temp files, Software Distribution folder, users’ temp folder, IIS logs and empty the recycle bin folder. Thanks I was hoping that someone with real Results could post back. On the small pop-up window that comes up, choose the drive you want to clean up and click OK. Sep 15, 2023 · Figure 1 includes a previous Windows 11 installation, for a total recovery of 12. Click the "Clean up system files Nov 10, 2023 · Type "select disk [Your disk]" and press ↵ Enter. Run DiskPart as Administrator privilege. old folder, choose C:\. Then list available disks: DISKPART> list disk. Locate the Disk #. clean all: delete all data from the selected disk. Step 3: Type in list disk and press Enter. 1. Warning: Once you type clean and hit enter the drive will be erased. When enabled aggressive cleaning kicks in when 95% of the disk usage is reached. The # means the disk number for the drive. diskpart. 0 GB which might be nice for small disks. Feb 3, 2023 · Displays information about the selected disk, partition, volume, or virtual hard disk (VHD). To find out the current setting for the aggressive cleaning, issue the following command: Mar 23, 2021 · Here are the steps to remove the “read-only” attribute of a disk and fix the “the disk is write-protected” message: Run the following diskpart commands: LIST DISK. This command will remove all partitions May 29, 2020 · In order to clean disk space by cleaning logs you can use next command: sudo journalctl --vacuum-time=3d If you like the amount of disk space taken by log journal you can do: journalctl --disk-usage This command might free 0. detach vdisk. In the command, replace “3” with the number of the flash drive you want to use. Jul 23, 2022 · Here’s how you can use this tool to clean your C Drive: Open Run (Win + R) and enter cleanmgr. This command should hopefully recover a good amount of disk space, as shown in the following screenshot. To delete temporary files: In the search box on the taskbar, type disk cleanup, and select Disk Cleanup from the list of results. Run the saved settings group #64. Jun 22, 2024 · Disk Utility performs many of the same functions as the chkdsk command on a PC. To get a description of the file type, select it. Type diskpart then press enter. In the output of the image above you can see the size of Disk 1 is 14 GB and this is the device that I want to wipe. Expands a virtual hard disk (VHD) to the size that you specify. exe command, or click Start, point to. Once you run diskpart, you will see the diskpart utility window: Type the command list disk in the DiskPart utility and hit Enter. sudo apt-get autoclean. Nov 22, 2020 · I'm attempting to wipe the SSD via diskpart like I did a few years ago when I first got the laptop, but this time I'm doing a "clean all" instead of a simple "clean". Programs, point to Accessories, point to. com) 4) Move the bootable MCT to the problematic computer and boot to the flash drive. Nov 9, 2017 · Manage Hard Disk using Command Line in Windows 10: Open command line or PowerShell. 6) Allow the MCT to create the default partitions during the clean install. Deleted partitions Sep 17, 2023 · First, press the Windows key or click the search box on your taskbar and type "defragment. This helps you verify your selections. 5) Highlight each partition and manually delete all partitions making an unallocated disk drive. Nov 28, 2023 · Command-line version of Disk Cleanup Utility or Cleanmgr. Mar 9, 2021 · I have a new Cisco 4331 that takes about 10 minutes to boot. Aug 13, 2021 · Use the df command to view your system’s available disk space for each drive. Select the drive you want to clean, then click OK. Now select the drive you want to partition using select disk command. For eg. " Clear DNS cache by opening Command Prompt as an admin and running the command "ipconfig /flushDNS. You will see a list of all available hard disks, including external ones. If the disk contains active data volumes, then the RemoveData parameter is required as this will delete all data from the specified disk. This can cause Docker to use extra disk space. Sep 25, 2018 · Note: Enabling aggressive clean up may clear up logs, rendering logs unavailable for troubleshooting purposes. Displays information about the selected disk, partition, volume, or virtual hard disk (VHD). 1. 0+) Apr 30, 2023 · Download Windows 10 (microsoft. Step 1. On the Command Prompt, enter the command: defrag c: Important: The above command will defrag the C: Drive of your PC. Type the following command and press Enter: C At the command prompt, type the following command, and then press ENTER: sfc /scannow. You should see the list of all hard drives connected to your computer. Check all the file types here (unless there’s something you want to save) and click Oct 3, 2023 · Cleaning a disk erases everything inside the selected disk and cannot be undone. Oct 23, 2023 · On either Windows 10 or Windows 11, you can right-click the Start button or press Windows+X and click either "Windows PowerShell (Admin)", "Command Prompt (Admin)", "Windows Terminal (Admin)". If you’ve different device names, simple write device name as /dev/sdb or /dev/sdc. List available disk drives using the command below: list disk. Jun 9, 2016 · How to run Disk Cleanup out of its schedule. Prune images. Type clean, and press the Enter key. " The Windows Store and location cache can also be cleared. Selecting Drive to Clean Up. Type the following commands to delete everything from the hard drive with the problem and press Enter: clean. To begin cleaning your PC, launch the Disk Cleanup tool. Type the following command into cmd and hit Enter: diskpart. The SAGESET key allows you to create a preset of selected checkboxes in cleanmgr. Double-click Disk Utility. This PowerShell script will help you delete unnecessary/ unwanted files and folders from the C Drive of May 20, 2023 · Open Diskpart command in the Command Prompt. Now type diskpart on the command prompt. Mar 11, 2024 · Steps for running the Diskpart clean command. This option displays disk space Sep 6, 2023 · 1. Apr 10, 2024 · 3. Step 3. 3. Aug 18, 2023 · diskpart list disk select disk 0 clean After clean, I didn’t execute the last command to create a new partition; when I closed Cmd and booted the installer, my disk does not appear during the wipe step or in diskpart [list disk] It is an SSD drive, the PC is a Lenovo Ideapad 3. e. Step 2: Type diskpart in the window and hit Enter. Start the command line window as administrator, and type: C:\ diskpart. Select the device by running the following command. The Clear-Disk cmdlet clears the disk by removing the partition and volume information. To clean a disk: At a command prompt, type Nov 7, 2019 · Aggressive disk cleaning is one way of preventing the firewall disk from running out of available space rendering some firewall management functions to be unavailable. If the disk is inaccessible and has important files in the disk, give Windows File Recovery Tool a try to recover files after cleaning the entire disk. Here, since most of your temporary (unwanted) files are Jul 20, 2021 · When you have an entire disk to wipe clean, you can use the diskpart clean command to convert all the stored data into unallocated space. If you want to perform a hard disk formatting quickly, perform a disk cleanup, or create partitions, you can first use an alternative to Diskpart - AOMEI Partition Assistant. Jun 20, 2024 · The terminal-based tool you can use to manage disks right from the command line is called Diskpart. " Once the command is accepted, you'll see "[Your disk] is now the selected disk. To clear temporary files on Windows 10, open the Start Menu, search for "Disk Cleanup," and launch it. Step 4: Use the select disk 1 command to choose your preferred drive (replace '1' with the appropriate disk number). shred (from the coreutils package) is a Unix command that can be used to securely delete individual files or full devices so that they can be recovered only with great difficulty with specialised hardware, if at all. Example: cleanmgr /sageset:1. Use Windows+R to open the Run dialog, enter cleanmgr in the blank box and choose OK. package-cleanup --oldkernels --count=2. Identify the disk you want to clean, format, and convert from the list. Now, you have two ways to clean the APT cache. Sep 18, 2023 · Open the Run program by pressing Windows+R. Scroll down in the Applications list and click the Utilities folder. Please be certain that you are erasing the correct disk. Choose whichever appears in the menu — any will work. " Oct 19, 2023 · To clean a disc, follow these steps: Step 1. Click on ‘OK’ button after selecting the items. Click Disk Cleanup. If you cleaned an external storage device, connect it to your PC. Run the following command, replacing X with the drive letter of the drive you want to wipe free Mar 31, 2024 · Method #2: Securely wipe hard disk with shred command. list disk. The next major clean up is in the journal logs section. This topic shows how to use these prune commands. Mar 13, 2023 · Removes a specified partition on a specified hard drive. Type Select Disk #. To verify the changes or if it is already enabled use the command below. Open Disk Cleanup by using the Run window (all Windows versions) 8. Press Enter. Type select disk *. Create a shortcut for Disk Cleanup and pin it to your desktop (all Windows versions) 6. This script will help your free up space in your C-drive. Format the drive. Now whenever you want automated disk cleanup, you just need to run the below command. " Alternatively, open the Settings app, then navigate to System > Storage > Temporary Files and click "Remove Files. Under Files to delete, select the file types to get rid of. " Click the "Defragment and Optimize Your Drives" shortcut in the Start menu. Delete Partition. Once this is done, you can launch the preset using the /SAGERUN option. Type diskpart and then press enter on the keyboard. Format the partition using NTFS using format FS=NTFS label=MyDrive quick (note that MyDrive can be any valid label) Jan 4, 2023 · Search for Disk Cleanup and select the top result to open the app. Each “block” in the above output represents one kilobyte. The drive's partition, data, and signature is now removed. The Disk Cleanup window should appear. " This works identically in Command Prompt, PowerShell, or Windows Terminal as long as it is launched as administrator. > show system state | match aggressive-cleaning cfg. Step 5. This uses the Clean All command that will remove all partitions and data Apr 9, 2011 · cleanmgr /sageset:numeric_id. Type diskpart in a command prompt. Compared to the clean command, the clean all command completely wipes the disk beyond recovery. This is a powerful command and should be used with caution, as it can lead to data loss if executed inadvertently on the wrong disk. Jan 2, 2023 · 3. Right-click Command Prompt at the top of the search results and select Run as administrator. Press Enter, then proceed with cleaning up space on the system drive. Select the drive you want to clean up, and then select OK. Step 5: Clean the Disk. This operation deletes all data on the disk by writing zeros on each disk sector. Type list disk and then press enter on the Sep 25, 2023 · Key Takeaways. Extend Partition with Command-Line. I've selected the disk in question and typed "clean all", but I'm not sure it's doing anything, that is to say there isn't a progress indicator (i. Step 2: When you press Enter, you're taken to the Command Prompt window with the DiskPart utility already running. Way 3: Start Disk Cleanup through Command Prompt. Next, in the Disk Cleanup window, select all the files you want to delete and click OK. debug-sw-du. Diskpart also removes all partition and volume information from the selected drive. Click the Start button and search for Command Prompt. Jan 3, 2024 · Way 2: Open Disk Cleanup via Run. Select your new partition by using select partition 1. Come back to the "Services" window, right-click "Windows Jul 9, 2024 · Disk Cleanup. To open Disk Utility: Open a Finder window and click Applications in the sidebar menu on the left. Step-3: Once you press Enter, the Disk Cleanup window will open. 5% complete), just the Jul 13, 2020 · In my experience it takes the clean all command 3. We can navigate through the file system using the arrow keys, <L> to enter a directory, <H> to go back, and <D> to delete a file or a directory. Step 1: Open Command Prompt. select disk 1,2,3…: select the disk you want to wipe completely. Jun 17, 2022 · Step-1: Open Command Prompt. Sep 27, 2023 · Perform disk Cleanup. config: { 'aggressive-cleaning': True, } Run disk-usage cleanup command (PAN-OS 8. On your keyboard, press the Windows and R keys at the same time to open the Run window. This selects the specified disk for further actions. Then run the following commands: list disk: list all disks on your computer. Step 2: Go to System > Storage. package-cleanup--oldkernels--count=2. The Sagerun:1 indicates it will perform disk cleanup only once. . Shrink Partition with Command. Logs will be saved to the path defined in the script. At the prompt, type the following command — substituting the drive letter if necessary. ”. This is because the local apt-get repo and the journal logs are a common source of unneeded large files, sometimes taking up many GB of space. You can do that by opening the "Start" menu, searching for "Disk Cleanup", and selecting the app in the search results. The `Cleanmgr` command will remove unused files from the hard drive of your computer. cleanmgr. To begin, open an elevated command prompt, type cleanmgr /sageset:n – where n can be any integer between 1 and 255. The Optimize Drives window will appear, and it will list all of the drives in your system that are eligible for optimization and defragmentation. 3. When the Windows Run box appears, type "diskpart" and hit the Enter key. If you wish to clean up only the outdated packages, you can use the autoclean command. Replace * with the number of the disk you want to erase. For example, if your USB is located in disk 2, you'd enter "select disk 2. Step 4: Check the boxes for the types of files you want to remove. The docker image prune command allows you to clean up Jun 28, 2024 · Method 1: Delete Temporary Files in Windows Using System Settings. Step-4: Check the boxes next to the Jul 12, 2024 · Search for Command Prompt, right-click the top result, and select the Run as administrator option. Type cleanmgr, then press ENTER. Step 5: Type the clean all command and press Enter. System Tools, and then click Disk Cleanup. In the Command Prompt window, enter: powercfg Jun 12, 2023 · Check the box next to Keep Windows running smoothly by automatically cleaning up temporary system and app files. Aug 19, 2023 · Use Disk Cleanup to clear temporary files cache. Another way to open the Disk Cleanup tool in Windows 11 is to open the Start menu and begin typing Disk Cleanup. cleanmgr /sageset:1. Step 2. Boost Your PC Speed with Disk Cleanup. As with clearing the cache in your browser, clearing the cache in Oct 31, 2022 · Search for Disk Cleanup and click the top result to open the app. Step 1: Open the Run window by pressing Windows and R keys. Dec 13, 2016 · rd "%~dp2" 2>nul. Select which files you want to delete. Method #3: Say hello to scrub command. vt ox pr ai lo bu lz pb il wj