To keep our operating system in optimal conditions, we must only execute these simple tasks with the command prompt (cmd) every week and thus prevent our computer from slowing down.
How to open the cmd as a computer administrator?
Click on start
You search for the windows system folder
You search for the Cmd
To open it as an administrator, press the control + shift keys at the same time and click on cmd
Another way to open the system symbol is to click on the cmd icon with the right mouse button and search for the option to run as administrator
Defragment for windows to efficiently use the space on your hard drive
we place this code:
defrag c: / a
We press enter and it will tell you if your disk needs this operation
If you need the desframentacion you just put this code:
defrag c: / u / v
and you give enter and wait a few minutes to finish the process
Then we can free space on the hard drive
In the same window of the cmd we place this code:
cleanmgr.exeyou hit enter and you get this window
click on accept
Wait and you get this window
Select what you want to delete, click on accept
He asks you if you want to delete these files click on delete files
Wait until the operation is finished and close only
Finally to close the cmd you place this code:
Exit
the cmd window closes
With this your computer will work faster
Try it out!
Source of the images: my pc