One click to Boost Your windows PC performance
While we install windows in our pc at the beginning
the performance is great but day by day it becomes laggy or sluggish which may lead your working experience slow. Every day we copy, paste download files and also windows system creates temporary files for each action without providing any notice to you. So you see that your C:// drive becomes full though you don't put so many files and your processor status busy all day long.To solve this problem
We can use third-party software(CCleaner) or use the built-in Run command on windows pc.
Though Third-party software clean your pc this software also use your resource.
And Run command needs to run multiple times to clean temp,%temp%, temp prefetch, or other recent files one by one.
So today I will give you the ultimate solution for cleaning your pc just by one script.
Download the following script file and follow the Running Process
or you can copy the below code and follow the rest of the tutorial.
Manual process:
- Copy the following code
##### Start of the Script #####
clear
write-Host "Welcome to Ittadi Tech" -ForegroundColor Green
write-Host "This Script will Clean Your PC" -ForegroundColor Green
pause
$objShell = New-Object -ComObject Shell.Application
$objFolder = $objShell.Namespace(0xA)
$WinTemp = "c:\Windows\Temp\*"
write-Host "Emptying Recycle Bin" -ForegroundColor Cyan
$objFolder.items() | %{ remove-item $_.path -Recurse -Confirm:$false}
write-Host "Removing Temp" -ForegroundColor Green
Set-Location C:\Windows\Temp
Remove-Item * -Recurse -Force -ErrorAction SilentlyContinue
Set-Location C:\Windows\Prefetch
Remove-Item * -Recurse -Force -ErrorAction SilentlyContinue
Get-ChildItem 'C:\Users' -Exclude 'PUBLIC' |
ForEach-Object {Get-ChildItem (Set-Location "C:\Users\$($_.name)\appdata\local\temp")}
Remove-Item * -Recurse -Force -ErrorAction SilentlyContinue
clear
write-Host "Finally now , Running Windows disk Clean up Tool" -ForegroundColor Cyan
cleanmgr /sagerun:1 | out-Null
$([char]7)
Sleep 4
write-Host "Finished the cleanup task, Have a nice day- TechCovery101 " -ForegroundColor Green
Sleep 7
##### End of the Script #####
- After copying the code exactly, paste it in the computer's NotePad or other text editors.
- Now save the file.
-
Enable show extension and file type in file explorer.
- now rename the file as follow:
replace .txt with
.ps1
That's it.
Running Process:
-
Click Run as Administrator this will open PowerShell command which will
ask you to press Enter Key.
-
Now press Enter Key on your Keyboard. Wait for a moment.
- After cleaning all unnecessary files you will see a successful message.
- Now you can close the PowerShell window.
"HUAYDED789 หวยออนไลน์ 24 ชั่วโมง ระบบที่ทันสมัย แทงหวยง่าย โอนเงินไว หวยออนไลน์ที่นี่จ่ายสูง ส่วนลดเยอะ โปรโมชั่นพิเศษสำหรับสมาชิกใหม่ และสิทธิพิเศษมาก มาย แจกเครดิตฟรีอย่างต่อเนื่อง"
উত্তরমুছুন