2Click 2 Clean 2Run Faster on The Windows 10/8/8.1
Disk Clean-up
Disk Clean-up (cleanmgr.exe) is a computer maintenance utility included in Microsoft Windows designed to free up disk space on a computer's hard drive. The utility first searches and analyzes the hard drive for files that are no longer of any use, and then removes the unnecessary files. There are a number of different file categories that Disk Clean-up targets when performing the initial disk analysis
Compression of old files
Temporary Internet files
Temporary Windows files
Removal of unused applications or optional Windows components
Offline web pages (cached)
Downloaded program files
Recycle Bin
Empty Recycle Bin
When you delete a file or folder in Windows, it is placed in the Recycle Bin. Items are temporarily stored in the Recycle Bin before they are permanently deleted by the user.
The Recycle Bin is located on the Windows desktop. When it is empty, the icon is an empty recycle bin. If it contains one or more items, the icon changes to a recycle bin with papers in it. You can move items to the Recycle Bin by either dragging them to the Recycle Bin icon or by selecting the items and pressing the Delete key. You may also right-click an item and select "Delete" from the pop-up menu
You can open the Recycle Bin by double-clicking its icon. This allows you to view the files the Recycle Bin contains, just like a typical folder. However, in the left sidebar of the window, a “Recycle Bin Tasks” section includes the options “Empty the Recycle Bin “and” Restore all items Since Windows remembers the original location of each item, if you select "Restore all items," the files will each be placed back in their original location. You can also select items individually and restore them back to their previous folders.
Emptying the Recycle Bin
If you select "Empty the Recycle Bin," all the items in the Recycle Bin will be will permanently deleted. If you only want to delete a single item, you can select it, press Delete, and then confirm you want to delete it. Deleted items cannot be restored, so you should only empty the Recycle Bin if you are sure you no longer need the files. It is a good idea to empty the Recycle Bin on a regular basis because it frees up disk space for other files.
How to Delete Temporary Files in Windows
One easy way to free up some disk space in Windows is to delete temporary files, sometimes referred to as temporary files. Temporary files are exactly what they probably sound like: files that your operating system only needed to exist temporarily while in use, but are now just wasting space. Most temporary files are stored in what's called the Windows Temp folder, the location of which differs from computer to computer, and even user to user.
Manually cleaning out the Temporary folder in Windows usually takes less than a minute but it could take longer depending on how large the collection of temporary files is.
Scrip Disk Clean-up or Empty Cecycle Bin
$ObjShell= New-Object –ComObject Shell.Applcation
$ObjFolder= $ObjShell.NameSpace(0XA)
#1# Empty Recycle Bin
    Write-Host “Emptying Recycle Bin” -Foregroundcolor Darkcyan
    $objFolder.items() |%{remove-item $_path –Re –Conf:$false}
#2# Remove Temp
    Write-Host “Removing Temp” -Foregroundcolor Cyan
    Set-Location “C:\Windows\Temp”
    Remove-item * -Recuse –Force –ErrorAction SilentlyContinue
    Set-Location “C:\windows\Prefetch”
Remove-item * -Recuse –Force –ErrorAction SilentlyContinue
#3# Running Disk Cleanup Tool
    Write-Host “Finally Running Windows Disk clean Up tool” -Foregroundcolor Cyan
    Cleanmgr /sagerun:1 | Out-Null
$([char]7)
Sleep 3
Write-Host “I Finished the Cleanup disk 0 Good Bye” -Foregroundcolor Cyan
Sleep 3
Please Watchin My Video is Below
No comments:
Post a Comment