Jump to content
kuuser

Disk cleanup script (with treesize before and after), results emailed and added to Connectwise ticket

Recommended Posts

I made a script that we've been using for a couple years now and wanted to see if anyone else would like to use it.

1. A disk size monitor detects any fixed drive with less than 5 GB free.

2. The monitor passes the drive letter to a script.

3. If the drive is not the OS drive it just creates a new ticket (and sends an email) with the tree size clearly showing where the space is being used

4. If the drive is the OS drive it clears up several directories/temp files (including temporary internet files and program crash dumps of all users on a terminal server) and makes a Connectwise time entry with the results, showing what was cleaned and how much space is now free and where space is still being used

5. Unfortunately I don't believe it is possible to auto-close the tickets due to the way I pass the drive letter, so we have to manually close them.

Below is the Ticket description (I've changed the sensitive information).
Further down is the time entry (which includes a list of all the directories that were cleaned).

=====================
TICKET DESCRIPTION
=====================


Filesystem tree size and volume information for drive "C" on Computer ANMAPP01 (ID 3434) at ANNMEDD - Main Office (New York)

Drive "C" info: filesys="NTFS" volume="7CF06A37 " totalmb=246800 freemb=3898 

3.8 GB free of 241.0 GB total 

Treesize results before cleanup (shows sizes of largest directories, and also shows files if they are greater than 1GB):
47950 mb, 31 files, C:\System Volume Information
34350 mb, 151701 files, C:\Windows
264090 mb, 231827 files, C:\
264090 mb, 231827 files, 53697 dirs, 264090604742 bytes.
17354 mb, 84883 files, C:\Windows\WinSxS
15817 mb, 14 files, C:\Temp
14902 mb, 18146 files, C:\Users
130878 mb, 9325 files, C:\Program Files
129873 mb, 7275 files, C:\Program Files\Microsoft SQL Server
125546 mb, 601 files, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER
125546 mb, 601 files, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL
121321 mb, 110 files, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup
8069 mb, 30295 files, C:\iBackup System State Backup
8069 mb, 30295 files, C:\iBackup System State Backup\IBSystemStateData
7618 mb, 2552 files, C:\Users\Administrator.ANMAPP01
5703 mb, C:\System Volume Information\{59fb307e-2ee9-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
5463 mb, 3185 files, C:\Windows\Installer
4844 mb, 17637 files, C:\iBackup System State Backup\IBSystemStateData\VOLUMEC
4834 mb, 17607 files, C:\iBackup System State Backup\IBSystemStateData\VOLUMEC\Windows
4695 mb, 12027 files, C:\Users\All Users
4695 mb, 12026 files, C:\ProgramData
4347 mb, 75 files, C:\Users\Administrator.ANMAPP01\Desktop
3701 mb, 4620 files, C:\Program Files\Microsoft SQL Server\110
3544 mb, 4266 files, C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap
3498 mb, C:\System Volume Information\{59fb0c8e-2ee9-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
3378 mb, 22 files, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA
3297 mb, C:\System Volume Information\{ccee9684-390f-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
3241 mb, C:\System Volume Information\{13a13d13-375d-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
3200 mb, 12562 files, C:\iBackup System State Backup\IBSystemStateData\System Files
3200 mb, 12562 files, C:\iBackup System State Backup\IBSystemStateData\System Files\C
3200 mb, 12557 files, C:\iBackup System State Backup\IBSystemStateData\System Files\C\Windows
3119 mb, 2926 files, C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Update Cache
3043 mb, C:\System Volume Information\{ffe12cd5-2d2c-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
2986 mb, C:\System Volume Information\{cceea91b-390f-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
2959 mb, 3141 files, C:\Windows\assembly
2959 mb, 3141 files, C:\iBackup System State Backup\IBSystemStateData\VOLUMEC\Windows\assembly
2959 mb, 3141 files, C:\iBackup System State Backup\IBSystemStateData\System Files\C\Windows\assembly
2928 mb, 7904 files, C:\Program Files (x86)
2773 mb, C:\System Volume Information\{159830af-33db-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
2753 mb, C:\System Volume Information\{71333230-35b1-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
2701 mb, C:\pagefile.sys
2690 mb, C:\System Volume Information\{71332014-35b1-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
2576 mb, 9541 files, C:\ProgramData\IBackup
2575 mb, 9542 files, C:\Users\All Users\IBackup
2566 mb, 8823 files, C:\ProgramData\IBackup\IBCOMMON
2566 mb, 8823 files, C:\Users\All Users\IBackup\IBCOMMON
2503 mb, C:\System Volume Information\{13a12af6-375d-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
2432 mb, 17545 files, C:\Windows\System32
2361 mb, 25 files, C:\Users\Administrator.ANMAPP01\Downloads
2198 mb, C:\System Volume Information\{ffe13a8d-2d2c-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
2125 mb, 2912 files, C:\Windows\Installer\$PatchCache$
2125 mb, 2912 files, C:\Windows\Installer\$PatchCache$\Managed
2024 mb, C:\System Volume Information\{4992dc4e-322f-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
1942 mb, C:\System Volume Information\{5e1c201d-308d-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
1917 mb, C:\System Volume Information\{4992ca48-322f-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
1775 mb, C:\System Volume Information\{15981eb7-33db-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
1742 mb, 3 files, C:\Users\Administrator.ANMAPP01\Desktop\SageInstall
1662 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\NpsSqlSys.ldf
1580 mb, 4 files, C:\Abila Auto Update
1580 mb, 4 files, C:\Abila Auto Update\Abila.AAU.MIP
1568 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ANNMEDD.mdf
1562 mb, C:\System Volume Information\{5e1c0d7d-308d-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
1510 mb, 12238 files, C:\iBackup System State Backup\IBSystemStateData\VOLUMEC\Windows\System32
1410 mb, 19481 files, C:\Windows\Temp
1403 mb, C:\Users\Administrator.ANMAPP01\Desktop\SageInstall\SQLEXPRADV_x64_ENU.exe
1380 mb, 19385 files, C:\Windows\Temp\LTCache
1235 mb, C:\Temp\ANNMEDD-201802161142.NPS
1234 mb, C:\Temp\ANNMEDD-201802161144.NPS
1234 mb, C:\Temp\ANNMEDD-201802161006.NPS
1232 mb, C:\Temp\ANNMEDD-Update-201802021616.NPS
1227 mb, 5075 files, C:\Windows\SysWOW64
1227 mb, C:\Temp\ANNMEDD-201801101648.NPS
1227 mb, C:\Temp\ANNMEDD-201801091702.NPS
1220 mb, 745 files, C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Update Cache\KB3072779
1220 mb, 745 files, C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Update Cache\KB3072779\ServicePack
1218 mb, 747 files, C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Update Cache\KB2958429
1218 mb, 747 files, C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Update Cache\KB2958429\ServicePack
1199 mb, 1845 files, C:\ProgramData\IBackup\IBCOMMON\datatechadmin
1199 mb, 1845 files, C:\Users\All Users\IBackup\IBCOMMON\datatechadmin
1199 mb, 1843 files, C:\ProgramData\IBackup\IBCOMMON\datatechadmin\Session
1199 mb, 1843 files, C:\Users\All Users\IBackup\IBCOMMON\datatechadmin\Session
1196 mb, 921 files, C:\ProgramData\IBackup\IBCOMMON\datatechadmin\Session\backup
1196 mb, 921 files, C:\Users\All Users\IBackup\IBCOMMON\datatechadmin\Session\backup
1192 mb, C:\Temp\ANNMEDD-Update-201801030901.NPS
1192 mb, C:\Temp\ANNMEDD-201712201436.NPS
1190 mb, C:\Temp\ANNMEDD-201712191613.NPS
1190 mb, C:\Temp\ANNMEDD-201712191421.NPS
1187 mb, C:\Temp\ANNMEDD-201711301041.NPS
1186 mb, C:\Temp\ANNMEDD-201711221113.NPS
1178 mb, C:\Temp\ANNMEDD-201710091512.NPS
1135 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610211542.NPS
1135 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610201631.NPS
1135 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610191517.NPS
1134 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610101050.NPS
1134 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610101031.NPS
1134 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610071528.NPS
1133 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610071342.NPS
1133 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610051247.NPS
1133 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610051209.NPS
1133 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610050814.NPS
1133 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610031340.NPS
1132 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609261350.NPS
1132 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609261222.NPS
1132 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609260947.NPS
1131 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609210833.NPS
1131 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609191203.NPS
1131 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609091314.NPS
1131 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609070910.NPS
1131 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609021518.NPS
1131 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201608301529.NPS
1131 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201608230848.NPS
1130 mb, C:\System Volume Information\{ccee845c-390f-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
1130 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201608221237.NPS
1130 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201608151059.NPS
1130 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201608111156.NPS
1130 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201608101626.NPS
1130 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201607271006.NPS
1130 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201607270933.NPS
1129 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201607081155.NPS
1128 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201606291619.NPS
1126 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201605120754.NPS
1125 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201605051132.NPS
1124 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604251038.NPS
1124 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604221008.NPS
1124 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604211635.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604201415.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604201222.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604200851.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604191548.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604191359.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603291653.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603211705.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603161654.NPS
1122 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603111653.NPS
1122 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603111616.NPS
1122 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603091633.NPS
1122 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603090952.NPS
1121 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603031701.NPS
1121 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603030928.NPS
1121 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603021704.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603011247.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602291706.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602260847.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602251145.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602241622.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602221609.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602220817.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602101053.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602080902.NPS
1119 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-Update-201602021421.NPS
1119 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602021412.NPS
1119 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602021404.NPS
1119 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602011721.NPS
1119 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201601281735.NPS
1118 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201601281401.NPS
1118 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201601211131.NPS
1112 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201511231032.NPS
1111 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-Update-201511081141.NPS
1111 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201511101345.NPS
1111 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201511090852.NPS
1111 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201511061244.NPS
1111 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201511041658.NPS
1111 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201511041649.NPS
1108 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201510271437.NPS
1107 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201510081705.NPS
1106 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201510021702.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201509080835.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201509041636.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201509041535.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201509011445.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508281638.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508281627.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508281214.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508271638.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508261451.NPS
1099 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508171656.NPS
1099 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508101043.NPS
1099 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508101029.NPS
1099 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508101025.NPS
1097 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201507241644.NPS
1094 mb, 247 files, C:\Users\Administrator
1091 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201506091540.NPS
1090 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201505291614.NPS
1087 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201505140733.NPS
1083 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201504151631.NPS
1083 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201504141657.NPS
1083 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201504141652.NPS
1080 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-Update-201503241344.NPS
1080 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201503251402.NPS
1079 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201503231435.NPS
1079 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201503231253.NPS
1079 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201503191308.NPS
1079 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201503191126.NPS
1077 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201503181521.NPS
1077 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201503171552.NPS
1074 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201502131136.NPS
1074 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201502121612.NPS
1073 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201501250940.NPS
1072 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201501211450.NPS
1070 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201501081500.NPS
1057 mb, C:\System Volume Information\{59fb1ea1-2ee9-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
1040 mb, 1566 files, C:\Windows\LTSvc
1039 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-Update-201412191613.NPS 

=====================
TIME ENTRY
=====================

Running temp file cleanup because this was a system drive. See below for drive space and treesize before and after cleanup, and which directories were cleaned. 

After cleanup the C drive now has 20.4 GB free of 241.0 GB total

Directories cleaned (recursively):
C:\Temp\*
C:\Windows\Temp\*
C:\Documents and Settings\(all users)\Local Settings\temp\*
C:\Users\(all users)\Appdata\Local\Temp\*
C:\Windows\Logs\CBS\*.cab
C:\Windows\Logs\CBS\CbsPersist*.log
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\*
C:\Users\(each user)\AppData\Local\Microsoft\Windows\WER\*
C:\Users\(all users)\AppData\Local\Google\Chrome\User Data\Default\Cache\*
C:\Users\(all users)\AppData\Local\Google\Chrome\User Data\Default\Media Cache\*
C:\Users\(all users)\AppData\Local\Google\Chrome\User Data\Default\Application Cache\Cache\*
C:\Users\(all users)\AppData\Local\Microsoft\Windows\INetCache\Low\IE\*
C:\Users\(all users)\AppData\Local\CrashDumps\*

Treesize results after cleanup:
47950 mb, 31 files, C:\System Volume Information
32871 mb, 132219 files, C:\Windows
246282 mb, 211884 files, C:\
246282 mb, 211884 files, 53321 dirs, 246282603504 bytes.
17354 mb, 84883 files, C:\Windows\WinSxS
14393 mb, 17842 files, C:\Users
130878 mb, 9325 files, C:\Program Files
129873 mb, 7275 files, C:\Program Files\Microsoft SQL Server
125546 mb, 601 files, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER
125546 mb, 601 files, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL
121321 mb, 110 files, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup
8069 mb, 30295 files, C:\iBackup System State Backup
8069 mb, 30295 files, C:\iBackup System State Backup\IBSystemStateData
7127 mb, 2401 files, C:\Users\Administrator.ANMAPP01
5703 mb, C:\System Volume Information\{59fb307e-2ee9-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
5463 mb, 3185 files, C:\Windows\Installer
4844 mb, 17637 files, C:\iBackup System State Backup\IBSystemStateData\VOLUMEC
4834 mb, 17607 files, C:\iBackup System State Backup\IBSystemStateData\VOLUMEC\Windows
4687 mb, 11883 files, C:\ProgramData
4687 mb, 11883 files, C:\Users\All Users
4347 mb, 75 files, C:\Users\Administrator.ANMAPP01\Desktop
3701 mb, 4620 files, C:\Program Files\Microsoft SQL Server\110
3544 mb, 4266 files, C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap
3498 mb, C:\System Volume Information\{59fb0c8e-2ee9-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
3378 mb, 22 files, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA
3297 mb, C:\System Volume Information\{ccee9684-390f-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
3241 mb, C:\System Volume Information\{13a13d13-375d-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
3200 mb, 12562 files, C:\iBackup System State Backup\IBSystemStateData\System Files
3200 mb, 12562 files, C:\iBackup System State Backup\IBSystemStateData\System Files\C
3200 mb, 12557 files, C:\iBackup System State Backup\IBSystemStateData\System Files\C\Windows
3119 mb, 2926 files, C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Update Cache
3043 mb, C:\System Volume Information\{ffe12cd5-2d2c-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
2986 mb, C:\System Volume Information\{cceea91b-390f-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
2959 mb, 3141 files, C:\Windows\assembly
2959 mb, 3141 files, C:\iBackup System State Backup\IBSystemStateData\VOLUMEC\Windows\assembly
2959 mb, 3141 files, C:\iBackup System State Backup\IBSystemStateData\System Files\C\Windows\assembly
2928 mb, 7904 files, C:\Program Files (x86)
2773 mb, C:\System Volume Information\{159830af-33db-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
2753 mb, C:\System Volume Information\{71333230-35b1-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
2705 mb, C:\pagefile.sys
2690 mb, C:\System Volume Information\{71332014-35b1-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
2569 mb, 9472 files, C:\ProgramData\IBackup
2569 mb, 9472 files, C:\Users\All Users\IBackup
2569 mb, 8823 files, C:\ProgramData\IBackup\IBCOMMON
2569 mb, 8823 files, C:\Users\All Users\IBackup\IBCOMMON
2503 mb, C:\System Volume Information\{13a12af6-375d-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
2432 mb, 17545 files, C:\Windows\System32
2361 mb, 25 files, C:\Users\Administrator.ANMAPP01\Downloads
2198 mb, C:\System Volume Information\{ffe13a8d-2d2c-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
2125 mb, 2912 files, C:\Windows\Installer\$PatchCache$
2125 mb, 2912 files, C:\Windows\Installer\$PatchCache$\Managed
2024 mb, C:\System Volume Information\{4992dc4e-322f-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
1942 mb, C:\System Volume Information\{5e1c201d-308d-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
1917 mb, C:\System Volume Information\{4992ca48-322f-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
1775 mb, C:\System Volume Information\{15981eb7-33db-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
1742 mb, 3 files, C:\Users\Administrator.ANMAPP01\Desktop\SageInstall
1662 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\NpsSqlSys.ldf
1580 mb, 4 files, C:\Abila Auto Update
1580 mb, 4 files, C:\Abila Auto Update\Abila.AAU.MIP
1568 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ANNMEDD.mdf
1562 mb, C:\System Volume Information\{5e1c0d7d-308d-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
1510 mb, 12238 files, C:\iBackup System State Backup\IBSystemStateData\VOLUMEC\Windows\System32
1403 mb, C:\Users\Administrator.ANMAPP01\Desktop\SageInstall\SQLEXPRADV_x64_ENU.exe
1227 mb, 5075 files, C:\Windows\SysWOW64
1220 mb, 745 files, C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Update Cache\KB3072779
1220 mb, 745 files, C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Update Cache\KB3072779\ServicePack
1218 mb, 747 files, C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Update Cache\KB2958429
1218 mb, 747 files, C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Update Cache\KB2958429\ServicePack
1200 mb, 1847 files, C:\ProgramData\IBackup\IBCOMMON\datatechadmin
1200 mb, 1847 files, C:\Users\All Users\IBackup\IBCOMMON\datatechadmin
1200 mb, 1845 files, C:\ProgramData\IBackup\IBCOMMON\datatechadmin\Session
1200 mb, 1845 files, C:\Users\All Users\IBackup\IBCOMMON\datatechadmin\Session
1198 mb, 922 files, C:\ProgramData\IBackup\IBCOMMON\datatechadmin\Session\backup
1198 mb, 922 files, C:\Users\All Users\IBackup\IBCOMMON\datatechadmin\Session\backup
1135 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610211542.NPS
1135 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610201631.NPS
1135 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610191517.NPS
1134 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610101050.NPS
1134 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610101031.NPS
1134 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610071528.NPS
1133 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610071342.NPS
1133 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610051247.NPS
1133 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610051209.NPS
1133 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610050814.NPS
1133 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201610031340.NPS
1132 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609261350.NPS
1132 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609261222.NPS
1132 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609260947.NPS
1131 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609210833.NPS
1131 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609191203.NPS
1131 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609091314.NPS
1131 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609070910.NPS
1131 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201609021518.NPS
1131 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201608301529.NPS
1131 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201608230848.NPS
1130 mb, C:\System Volume Information\{ccee845c-390f-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
1130 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201608221237.NPS
1130 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201608151059.NPS
1130 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201608111156.NPS
1130 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201608101626.NPS
1130 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201607271006.NPS
1130 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201607270933.NPS
1129 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201607081155.NPS
1128 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201606291619.NPS
1126 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201605120754.NPS
1125 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201605051132.NPS
1124 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604251038.NPS
1124 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604221008.NPS
1124 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604211635.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604201415.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604201222.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604200851.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604191548.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201604191359.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603291653.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603211705.NPS
1123 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603161654.NPS
1122 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603111653.NPS
1122 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603111616.NPS
1122 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603091633.NPS
1122 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603090952.NPS
1121 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603031701.NPS
1121 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603030928.NPS
1121 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603021704.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201603011247.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602291706.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602260847.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602251145.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602241622.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602221609.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602220817.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602101053.NPS
1120 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602080902.NPS
1119 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-Update-201602021421.NPS
1119 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602021412.NPS
1119 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602021404.NPS
1119 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201602011721.NPS
1119 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201601281735.NPS
1118 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201601281401.NPS
1118 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201601211131.NPS
1112 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201511231032.NPS
1111 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-Update-201511081141.NPS
1111 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201511101345.NPS
1111 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201511090852.NPS
1111 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201511061244.NPS
1111 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201511041658.NPS
1111 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201511041649.NPS
1108 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201510271437.NPS
1107 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201510081705.NPS
1106 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201510021702.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201509080835.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201509041636.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201509041535.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201509011445.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508281638.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508281627.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508281214.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508271638.NPS
1102 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508261451.NPS
1099 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508171656.NPS
1099 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508101043.NPS
1099 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508101029.NPS
1099 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201508101025.NPS
1097 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201507241644.NPS
1094 mb, 247 files, C:\Users\Administrator
1091 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201506091540.NPS
1090 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201505291614.NPS
1087 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201505140733.NPS
1083 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201504151631.NPS
1083 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201504141657.NPS
1083 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201504141652.NPS
1080 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-Update-201503241344.NPS
1080 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201503251402.NPS
1079 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201503231435.NPS
1079 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201503231253.NPS
1079 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201503191308.NPS
1079 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201503191126.NPS
1077 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201503181521.NPS
1077 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201503171552.NPS
1074 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201502131136.NPS
1074 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201502121612.NPS
1073 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201501250940.NPS
1072 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201501211450.NPS
1070 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-201501081500.NPS
1057 mb, C:\System Volume Information\{59fb1ea1-2ee9-11e8-9452-000c29c0c9ad}{3808876b-c176-4e48-b7ae-04046e6cc752}
1040 mb, 1566 files, C:\Windows\LTSvc
1039 mb, C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ANNMEDD-Update-201412191613.NPS
 

Edited by kuuser
added information
  • Thanks 1

Share this post


Link to post
Share on other sites

Yep I'll put something together -- I have to wait a couple weeks before I can do that (long story) but I'll post it and then private message you all when I do.

Share this post


Link to post
Share on other sites

You could write a secondary script called from this script to close the ticket, just writing the ticketid to the scriptstate or a similar table, or using SQL to pull the appropriate ticketid. Interested in what you have so far.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×