Nitro Cleanup Utility

Learning has never been so easy!
  1. Nitro Cleanup Utility Mac
  2. Nitro Cleanup Utility
  3. Nitro Cleanup Utility Software
  4. Nitro Cleanup Utility Download
Nitro Cleanup Utility

Run the Citrix Receiver Cleanup utility to fully uninstall the existing Citrix Receiver installation. If you are running a Citrix Receiver or Workspace App later than 4.4 version, the Citrix Cleanup Utility is not required. Use AMD cleanup utility in safe mode (takes 15-20min) then restart. Use DDU(in safe mode) to uninstall all previous driver of amd /nvidia and restart pc to safe mode. Install Amd driver suitable for your GPU in Administrator mode without internet or anything running in background then restart. Run atikmdag-patcher.exe. Step 2: Download Nitro Clean Up to uninstall Nitro Pro. (NOTE: Any existing signature files within Nitro will be erased by this Clean Up utility, make sure you have already kept them somewhere else before running it. ) Step 3: Extrat the cleanup utility to the desktop. Step 4: Run the utility. Step 5: Reboot your machine. Our free software lets you customize the NVIDIA GeForce Driver package by removing components that you don't need (or want). This not only keeps things tidy, but also lowers disk usage and memory footprint. A few days ago I've installed my new Vega 64 Nitro from Sapphire. Before that my old GPU driver from my Fury Nitro was removed by AMD Cleanup Utility. I've then downloaded an installed newest driver 19.6.2 for this card.

This is a script I have written to easily run on clients and servers which cleans up all common locations and logs etc

This is a script which I have been building over the last few months and I have tested and used on Windows 7,8,10, 2008r2 machines without issue.

Cleans up the following

Windows Event Logs
Restore Points
Windows and User Temp and Internet Temp Files
Windows and User Temp and Internet WER Files
Memory Dump & Mini dump Files
Windows Update Download Files
A few left over folders and files from updates and installs
Installs and Runs Windows Cleanup with all options selected (Silently)

Still need to add IIS Logs

This script will just run without any prompts so please make sure you test and are are happy with it before running on live systems. You can always just comment out what you don't want, such as event logs.

Save the attached as 'Windows_Cleanup.PS1' (Power shell Script) and the below as a batch file and save them into the same directory and then run the Batch file

powershell.exe -ExecutionPolicy Bypass -File '%~dp0Windows_Cleanup.ps1'
pause

3 Steps total

Step 1: Create Batch File

Nitro Cleanup UtilityNitro Cleanup Utility

Create a Folder and save the following as a batch file

powershell.exe -ExecutionPolicy Bypass -File '%~dp0Windows_Cleanup.ps1'
pause

Step 2: Create the Powershell script

In the same folder as Step1, created a powershell file (Test File) and call it Windows_Cleanup.ps1

Then add these lines to it
# Written by Fabian Castagna
# Used as a complete windows cleanup tool
# 15-7-2016
function Delete-ComputerRestorePoints{
[CmdletBinding(SupportsShouldProcess=$True)]param(
[Parameter(
Position=0,
Mandatory=$true,
ValueFromPipeline=$true
)]
$restorePoints
)
begin{
$fullName='SystemRestore.DeleteRestorePoint'
#check if the type is already loaded
$isLoaded=([AppDomain]::CurrentDomain.GetAssemblies() | foreach {$_.GetTypes()} | where {$_.FullName -eq $fullName}) -ne $null
if (!$isLoaded){
$SRClient= Add-Type -memberDefinition @'
[DllImport ('Srclient.dll')]
public static extern int SRRemoveRestorePoint (int index);
'@ -Name DeleteRestorePoint -NameSpace SystemRestore -PassThru
}
}
process{
foreach ($restorePoint in $restorePoints){
if($PSCmdlet.ShouldProcess('$($restorePoint.Description)','Deleting Restorepoint')) {
[SystemRestore.DeleteRestorePoint]::SRRemoveRestorePoint($restorePoint.SequenceNumber)
}
}
}
}

Write-Host 'Deleting System Restore Points'
Get-ComputerRestorePoint | Delete-ComputerRestorePoints # -WhatIf

Write-host 'Checking to make sure you have Local Admin rights' -foreground yellow
If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator'))
{
Write-Warning 'Please run this script as an Administrator!'
If (!($psISE)){'Press any key to continue…';[void][System.Console]::ReadKey($true)}
Exit 1
}

Write-Host 'Capture current free disk space on Drive C' -foreground yellow
$FreespaceBefore = (Get-WmiObject win32_logicaldisk -filter 'DeviceID='C:' | select Freespace).FreeSpace/1GB

Write-host 'Deleting Rouge folders' -foreground yellow
if (test-path C:Config.Msi) {remove-item -Path C:Config.Msi -force -recurse}
if (test-path c:Intel) {remove-item -Path c:Intel -force -recurse}
if (test-path c:PerfLogs) {remove-item -Path c:PerfLogs -force -recurse}
# if (test-path c:swsetup) {remove-item -Path c:swsetup -force -recurse} # HP Software and Driver Repositry
if (test-path $env:windirmemory.dmp) {remove-item $env:windirmemory.dmp -force}

Write-host 'Deleting Windows Error Reporting files' -foreground yellow
if (test-path C:ProgramDataMicrosoftWindowsWER) {Get-ChildItem -Path C:ProgramDataMicrosoftWindowsWER -Recurse | Remove-Item -force -recurse}

Write-host 'Removing System and User Temp Files' -foreground yellow
Remove-Item -Path '$env:windirTemp*' -Force -Recurse
Remove-Item -Path '$env:windirminidump*' -Force -Recurse
Remove-Item -Path '$env:windirPrefetch*' -Force -Recurse
Remove-Item -Path 'C:Users*AppDataLocalTemp*' -Force -Recurse
Remove-Item -Path 'C:Users*AppDataLocalMicrosoftWindowsWER*' -Force -Recurse
Remove-Item -Path 'C:Users*AppDataLocalMicrosoftWindowsTemporary Internet Files*' -Force -Recurse
Remove-Item -Path 'C:Users*AppDataLocalMicrosoftWindowsIECompatCache*' -Force -Recurse
Remove-Item -Path 'C:Users*AppDataLocalMicrosoftWindowsIECompatUaCache*' -Force -Recurse
Remove-Item -Path 'C:Users*AppDataLocalMicrosoftWindowsIEDownloadHistory*' -Force -Recurse
Remove-Item -Path 'C:Users*AppDataLocalMicrosoftWindowsINetCache*' -Force -Recurse
Remove-Item -Path 'C:Users*AppDataLocalMicrosoftWindowsINetCookies*' -Force -Recurse
Remove-Item -Path 'C:Users*AppDataLocalMicrosoftTerminal Server ClientCache*' -Force -Recurse

Write-host 'Removing Windows Updates Downloads' -foreground yellow
Stop-Service wuauserv -Force -Verbose
Stop-Service TrustedInstaller -Force -Verbose
Remove-Item -Path '$env:windirSoftwareDistribution*' -Force -Recurse
Remove-Item $env:windirLogsCBS* -force -recurse
Start-Service wuauserv -Verbose
Start-Service TrustedInstaller -Verbose

Write-host 'Checkif Windows Cleanup exists' -foreground yellow
#Mainly for 2008 servers
if (!(Test-Path c:windowsSystem32cleanmgr.exe)) {
Write-host 'Windows Cleanup NOT installed now installing' -foreground yellow
copy-item $env:windirwinsxsamd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7dacleanmgr.exe $env:windirSystem32
copy-item $env:windirwinsxsamd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63cleanmgr.exe.mui $env:windirSystem32en-US
}

Nitro

Write-host 'Running Windows System Cleanup' -foreground yellow
#Set StateFlags setting for each item in Windows disk cleanup utility
$StateFlags = 'StateFlags0013'
$StateRun = $StateFlags.Substring($StateFlags.get_Length()-2)
$StateRun = '/sagerun:' + $StateRun
if (-not (get-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesActive Setup Temp Folders' -name $StateFlags)) {
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesActive Setup Temp Folders' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesBranchCache' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesDownloaded Program Files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesInternet Cache Files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesOffline Pages Files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesOld ChkDsk Files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesPrevious Installations' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesMemory Dump Files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesRecycle Bin' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesService Pack Cleanup' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesSetup Log Files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesSystem error memory dump files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesSystem error minidump files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesTemporary Files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesTemporary Setup Files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesThumbnail Cache' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesUpdate Cleanup' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesUpgrade Discarded Files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesUser file versions' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesWindows Defender' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesWindows Error Reporting Archive Files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesWindows Error Reporting Queue Files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesWindows Error Reporting System Archive Files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesWindows Error Reporting System Queue Files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesWindows Error Reporting Temp Files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesWindows ESD installation files' -name $StateFlags -type DWORD -Value 2
set-itemproperty -path 'HKLM:SoftwareMicrosoftWindowsCurrentVersionExplorerVolumeCachesWindows Upgrade Log Files' -name $StateFlags -type DWORD -Value 2
}

Write-host 'Starting CleanMgr.exe..' -foreground yellow
Start-Process -FilePath CleanMgr.exe -ArgumentList $StateRun -WindowStyle Hidden -Wait

Write-host 'Clearing All Event Logs' -foreground yellow
wevtutil el | Foreach-Object {Write-Host 'Clearing $_'; wevtutil cl '$_'}

Write-host 'Disk Usage before and after cleanup' -foreground yellow
$FreespaceAfter = (Get-WmiObject win32_logicaldisk -filter 'DeviceID='C:' | select Freespace).FreeSpace/1GB
'Free Space Before: {0}' -f $FreespaceBefore
'Free Space After: {0}' -f $FreespaceAfter

Step 3: Run the cleanup script (Batch File)

Once complete run the batch file, this will automatically run through the cleanup script and at the end report the dish usage before and after the script has run.

17 Comments

Nitro Cleanup Utility Mac

  • Thai Pepper
    David Auth Feb 16, 2017 at 12:06am

    Shouldn't this have been contributed as a script instead of a how-to?

    I'll test it out, all the same. Thanks!

  • Datil
    Michael.SC Feb 16, 2017 at 12:12am

    Rather than using absolute paths you should use more environmental variables instead.

  • Serrano
    Fabian2990 Feb 16, 2017 at 12:20am

    Feel free to make updates and suggestions.
    Whilst i can write and understand (Decipher) most scripting I'm still a bit of a hack and still learning as i go..

  • Mace
    adrian_ych Feb 16, 2017 at 12:29pm

    This is a cool script but I do get errors at the start with the removal of windows updates clean up...
    After the script ends, I ran the drive cleanup tool and I still have about 12GB of Windows update files which I cleaned using the tool.

    Overall....very nice tool....

  • Poblano
    jasonyang Feb 16, 2017 at 04:44pm

    Excellent work. This is very impressive and easy to use.

  • Serrano
    Reak Havik Feb 16, 2017 at 04:46pm

    Sounds fun, i will have to try this on an old windows 7.

  • Tabasco
    ITPro1000 Feb 16, 2017 at 04:48pm

    Tron: An app built by custom scrips, and is constantly updated, that does everything from windows repair to virus removal, defragment, bloatware removal, etc...
    You can get it here: https://www.reddit.com/r/TronScript/wiki/downloads

  • Serrano
    Fabian2990 Feb 16, 2017 at 08:49pm

    Just to add to this! you can also invoke the command on remote machines to make life even easier!

    powershell.exe -ExecutionPolicy Bypass invoke-command -computer PCNAME? -filepath 'servernameshareWindows_Cleanup.ps1' | Out-File 'servernameshareWindows_Cleanup-%pcname%.log' -Append

  • Anaheim
    Richard2663 Feb 17, 2017 at 01:56pm

    that would be useful Fabian !!

    would i create a batch file with that command in it ?

    obviously changing the file paths and PC name?

  • Jalapeno
    CaptHelpful Feb 17, 2017 at 02:04pm

    Just curious - how is this different than CCleaner? I've used it for years and been happy w/ the free version.

  • Datil
    chrisf7 Feb 17, 2017 at 02:35pm

    FYI if you download tron it has a built in defragger, which you won't want to run on any devices with SSD's.

  • Serrano
    Fabian2990 Feb 20, 2017 at 03:42am

    Whilst Tron and CCleaner are good tools to use.
    I wanted something that I can change and tweak as i went along and because our clients are spread out across a WAN network, i wanted something with a small foot print so it wouldn't effect WAN performance (Transferring files etc). We use a Client Management App that I have written in house, in which i can simply right click a client and run cleanup (Once finished I get a text file report back)

  • Serrano
    Fabian2990 Feb 20, 2017 at 03:50am

    As mentioned above you can run this remotely on other machines, you will need to have your management of clients setup correctly to allow it though.
    (WIN-RM, Firewall, Admin rights etc)

    Simply save this as a batch file, update the PS1 path and set the PC name.
    You could pass a variable to the script to input the computer name.
    filename.cmd PCNAME

    rem
    set PC=%1
    set SRVPath=servernameshare

    powershell.exe -ExecutionPolicy Bypass invoke-command -computer %PC% -filepath '%SRVPath%Windows_Cleanup.ps1' | Out-File '%SRVPath%Windows_Cleanup-%PC%.log' -Append

    rem

  • Sonora
    NanD0 Jun 18, 2017 at 07:53am

    how did you learn to make a script like this and specific tutorial that you would recommend?

  • Serrano
    Fabian2990 Jun 18, 2017 at 09:54pm

    I tend to be able to read scripts/programming and pull them apart and learn from them.
    Other then that google and a lot of playing and testing

  • prev
  • 1
  • 2
  • next
Reviewer12432135

Revdex.com:I have reviewed the response made by the business in reference to complaint ID ***, and although the company was not able to solve my issue, I was able to resolve it myselfUltimately, I am not satisfied with the lack of support I received from this company but this complaint can be closed. I would not give them satisfactory ratings...Sincerely, *** ***

Reviewer12043062

Complaint: ***I am rejecting this response because:
Their last response shows procrastination and the company's inability to admit the mistakeFailure to solve the problem and evade product support and blame the operating systemsThis is a deficit and injustice for the user who paid money to benefit from the product and get updatesI have attached the mails' evidences that they did not find out what the causes of the problemI am a user who want my right by fixing the problem, returning my money, or giving me an alternative software.Sincerely,*** ***

Reviewer12414399

Nitro Cleanup Utility

Nitro has communicated with Mr*** and provided support above and beyond the End User License Agreement (EULA) that the customer agreed to when he purchased the product (Nitro Pro 8.0) on 9/17/As previously stated, Nitro only guarantees support for
previous versions of NitroWe currently have in market Nitro Pro
In addition, Nitro Customer Support provided the customer with cleanup utility, steps on how to use it and Nitro Pro offline installersNone of those worked because Nitro Pro is not compatible with Windows 10, which is the Operating System that the customer is now on
Mr*** has options from here:
Purchase Nitro Pro 11, which is compatible with Windows
Revert his OS to Windows or lower (to the version he had when he purchased Nitro Pro 8)
At this point, Nitro's obligations under the EULA have been met, and this is consistent with all major software licenses in terms of the scope and requirements around compatibility and support when new versions of the product are released

Reviewer9378517

There was a web meeting scheduled with the customer, Mr. [redacted], on Friday, April 14. However, Nitro Customer Support was informed by the customer that morning that he resolved the problem on his own and no longer needed assistance.
We are happy to assist if the customer still needs...
additional support.

Nitro Cleanup Utility Software

Reviewer9286968

Please see attached business response.

Reviewer9229772

We were not able to find any purchase records of Nitro Pro 10 from 2016 or earlier. When we asked for more information about this particular transaction, customer ignored us and stopped communicating. Both purchases of Nitro Pro 11 from 2017 have been refunded. It is not possible for Nitro...
Software Inc to charge a Nitro Pro trial customer without customer selecting to upgrade and then entering his/her personal and credit card information. In other words, simply installing a trial Nitro Pro license does not come with a charge.
Customer contacted us 2 times and each time our Support team responded professionally and within SLA requirements. Customer expected responses within minutes even though he has not subscribed to our Software Assurance which ensures first response time within 2 hours. Instructions were clear but ignored by the customer. Customer has never activated his license, even after we provided him with serial number and instructions on how to activate it. We asked for a screenshot of any error messages he received but customer kept ignoring our questions and troubleshooting steps. He kept complaining that we don’t have phone support even after we told him that we only provide email support.
Each correspondence and response times are recorded in our ticketing system as evidence that there was no mishandling of this customer’s cases.

Reviewer9234553

Nitro Cleanup Utility Download

Customer has already complained to Cleverbridge and received a refund for the purchase of Nitro Pro 11. Because of this, customer will not able to use Nitro Pro 11. Our records show that he is still using Nitro Pro 10 and has not complained about that version so far.

Nitro Software Inc. Rating

Overall satisfaction rating

Add contact information for Nitro Software Inc.