How to free up space on the C Drive on ADA, NFA, UCM, and Netvoyant servers.

Document ID : KB000021305
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

How do I free up some space when the C:/ drive is near full?

Answer:

Use windirstat to find out what is taking the most space. http://sourceforge.net/projects/windirstat/.

That will show disk usage in a visual way where you can see what is taking up the most space. Look at C:, and see if you can clean up some disk space.

  • System Paging file - You can move the page file over to the D:/ drive. To do this, just follow these steps:

1. Right click on My Computer -> Properties

2. Select Advanced tab.

3. Click Settings in the Performance section.

4. Select Advanced tab.

5. Click Change in the Virtual memory section.

6. Note the values under 'Initial size (MB):' and 'Maximum size (MB):'

7. Select the D: drive. Select 'Custom size:'

8. Change the values to match the ones noted in step 6.

9. Click 'Set'

10. Select the C: drive.

11. Select 'No paging file'

12. Click 'Set'

13. Click 'OK' three times.

14. Select Yes to Reboot the server.

 

  • Windows\Temp Directory - You could also try moving the windows temp folders to the D:\ drive, where there is usually more space.

1. Right click on My Computer and select Properties.

2. Click on the Advanced Tab.

3. Click on the Environment Variables button at the bottom.

4. In the bottom section of the window (System Variables), scroll down to the bottom where TEMP and TMP are.

5. For both TEMP and TMP, left-click on the variable name, then click "Edit".

6. Change the variable value from "%SystemRoot%\TEMP" to "D:\netqos\temp".

7. Click ok, then repeat the procedure so both TEMP and TMP are set to the new directory.

8. Create the D:\netqos\temp directory if it does not already exist.

9. Restart the server.

NOTE: After the reboot, you can delete the C:\Windows\temp directory to free up disk space on C:\.

  • IIS Logs - Another thing that can be done is to clean up the web service logs, if they are enabled, in C:\WINDOWS\system32\LogFiles\W3SVC1.

You can disable them by going into IIS manager and right click the Websites folder and select properties, and uncheck the Enable Logging box. Then reset IIS in cmd: iisreset.

 

Additional Information:

TEC1809869 - How do I change the MySql tmp directory in NFA to a different directory?