How to Remove the Unnecessary Files Using CMD

By | July 12, 2019

Do you know, how to remove the unnecessary files using CMD? When you run the Windows operating system, it automatically created many system error memory dumps files. These files automatically stored in the local drive on C, where Windows is installed. Just follow the few steps, let’s see –

How to Remove the Unnecessary Files Using CMD –

At first, you need to click on the start button or simply press the Windows button key.
Then, type Cmd. and now right-click the command prompt and simply select the Run as administrator.
How to Remove the Unnecessary Files Using CMD
When the Window opens then types following below command. When after the other and just press the after each command.

fsutil usn deletejournal /d /n c:
del β€œ%temp%*” /s /f /q
del β€œC:$Recycle.bin*” /s /f /q
del β€œ%systemroot%temp*” /s /f /q
vssadmin delete shadows /for=c: /all /quiet
Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase

Finally, restart the computer and automatically unwanted files will be gone by now.

Other Articles –
How to Delete Files from PowerShell
How to Stop Windows 10 Update Completely Guideline

Last Updated on 3 years by Max

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.