We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x
Private

C Drive is out of Memory

High Priority
25 Views
Last Modified: 2020-05-19
Hi Experts,

Following is the Drives Capacity, Make and Memory status

KINGSTON SUV400S37120G [Hard drive] (120.03 GB) -- drive 1, s/n 50026B727C0012E3, rev 0C3J96R9, SMART Status: Healthy
Hitachi HDS5C1010CLA382 [Hard drive] (1000.20 GB) -- drive 0, s/n JC0950HX1KLZDH, rev JC4OA3MA, SMART Status: Healthy
WD Elements 25A2 USB Device [Hard drive] (2000.36 GB) -- drive 2, s/n WX71AA63YZZR

Open in new window


[code]c: (NTFS on drive 1) *	118.89 GB	4.35 GB free		
d: (NTFS on drive 1)	576 MB	19 MB free		
e: (NTFS on drive 0)	209.72 GB	185.31 GB free		
f: (NTFS on drive 0)	209.72 GB	187.59 GB free		
g: (NTFS on drive 0)	209.99 GB	183.07 GB free		
h: (NTFS on drive 0)	160.96 GB	83.74 GB free		
i: (NTFS on drive 0)	209.71 GB	164.31 GB free		
k: (NTFS on drive 2)	2000.36 GB	1814.09 GB free

Open in new window

[/code]

I am using an SSD Kingston as C Drive.
Very recently the free memory on Drive C was more than 10 GB. Now it is showing 4 GB free only. How do I check what is the memory used by all the programs installed on C Drive ?
Program and Features menu gives the memory used by some programs, not all.

Whether I can use any of the other external Drives to increase the size of C Drive ?
How do I know which are programs which can be shifted from C Drive to other drives ?
Can that be done without uninstalling and reinstalling ?

I am using Windows 10 Professional (x64) Version 1909 (build 18363.836)
Comment
Watch Question

CERTIFIED EXPERT

Commented:
I put TreeSizeFree ( https://www.jam-software.com/treesize_free/comparison.shtml  ) on almost every PC I touch.  It will quickly show you how much space is in every folder.
Rodney BarnhardtServer Administrator
CERTIFIED EXPERT

Commented:
There is a program call "TreeSize" that will show the size of the folders. You can download it here. It may be a large upgrade or update that came out causing the space consumption. You could also run a disk cleanup and select downloads and updated to clean up.

CERTIFIED EXPERT

Commented:
Some things to watch for that may take up a lot of space and can be moved to another drive:
c:\swapfile.sys   (swap file to simulate more RAM)
c:\hiberfile.sys  (used when the computer hibernates)
Print spooler folder (especially if this has shared printers)
Temp folders

TreeSize will also be useful to see if you have any folders that are much larger than they should be.  I've seen a handful of cases where users had Norton Backup pointing to a folder on the drive it was backing up!
Kanwaljit Singh DhunnaSelf Employed

Author

Commented:
Thanks to both of you Sirs,
I will download TreeSize right now and install it on a drive other than C Drive (would there be any issue ?)
I am not sure how to delete the back up files created by the recent windows upgrade ?
CERTIFIED EXPERT

Commented:
TreeSize is very small.  You could install it on a drive other than C:, but I wouldn't bother.  Wait until you have something more significant to move.
Kanwaljit Singh DhunnaSelf Employed

Author

Commented:
Okay, give me 5 minutes to do that.
Rodney BarnhardtServer Administrator
CERTIFIED EXPERT

Commented:
Also, in regards to programs to move, that is more complicated. You can move certain folders such as downloads, pictures, or documents without issue. However, if you are referring to actual programs, you could move any program you want, but not without a re-install and selecting that specific drive. This is because of how DLL files are written and created on install. 
Kanwaljit Singh DhunnaSelf Employed

Author

Commented:
I am not using Norton.
All the junk was cleared using System Mechanic Professional 
Kanwaljit Singh DhunnaSelf Employed

Author

Commented:
Here is TreeSize info
Rodney BarnhardtServer Administrator
CERTIFIED EXPERT

Commented:
To clean up the update files, launch "Disk Cleanup", select the C: drive, then once is scans, select the "Clean up system files".

Once is scans again, then you can select the check box "Windows Update Cleanup" and then click "OK". It will then clean up those files.
Kanwaljit Singh DhunnaSelf Employed

Author

Commented:
It seems you people are right about that hiberfil.sys
What should I do now ?
Delete it ?
Kanwaljit Singh DhunnaSelf Employed

Author

Commented:
I could not find anything to clean up in Windows Update Cleanup.
It is already done. It seems that .sys files are the main culprit.
What do I do now ?
Rodney BarnhardtServer Administrator
CERTIFIED EXPERT

Commented:
You may have to show "hidden files" to see everything. It looks like not all of the data is not showing. 
Rodney BarnhardtServer Administrator
CERTIFIED EXPERT

Commented:
Disregard my previous comment. I did not see you had posted an expanded image. You have almost a 5G hibernation file. That could be taking up some of the space.You can remove it. 

https://www.techrepublic.com/blog/tr-dojo/delete-hiberfilsys-by-disabling-windows-hibernate-function/ 
Kanwaljit Singh DhunnaSelf Employed

Author

Commented:
Should I simply delete that file or is there any specific method ?
Server Administrator
CERTIFIED EXPERT
Commented:
Run this from the command line:  powercfg.exe /hibernate off

It should then be removed. 

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Rodney BarnhardtServer Administrator
CERTIFIED EXPERT

Commented:
You can then re-enable it with the command  powercfg.exe /hibernate on
If you want the hibernation ability. 
Kanwaljit Singh DhunnaSelf Employed

Author

Commented:
That seems great. It is gone.
Do we need hibernate ?
Is it dangerous to turn it off ?

Kanwaljit Singh DhunnaSelf Employed

Author

Commented:
@CompProbSol

How do we move these files to another location, so that they always stay there ?
Rodney BarnhardtServer Administrator
CERTIFIED EXPERT

Commented:
It's not dangerous to turn it off. It just impacts you system going to sleep and saving data. 
Kanwaljit Singh DhunnaSelf Employed

Author

Commented:
Okay. Is it possible to change its location so that if hibernation is turned on, the file saves on that location instead of Drive C ?
Rodney BarnhardtServer Administrator
CERTIFIED EXPERT

Commented:
Yes, you can move it. Below is a link to instructions. You have already turned it off, so you will just need to make the registry edit shown.

https://www.isunshare.com/windows-10/move-windows-10-hiberfilsys-to-another-volume-to-free-up-c-volume-space.html  
Rodney BarnhardtServer Administrator
CERTIFIED EXPERT

Commented:
If you want to move folders like your Documents, Pictures, etc to another drive, the instruction are in the link below. I would make sure you have a backup, but once you do this, the system will remember this location.

https://www.dummies.com/computers/operating-systems/windows-10/how-to-change-the-location-of-user-folders-in-windows-10/ 
Hello ThereSystem Administrator
CERTIFIED EXPERT
Distinguished Expert 2018

Commented:
If I can share my experience...
1. Run Disk Cleanup.
2. Run Dism.exe /online /Cleanup-Image /StartComponentCleanup (it deletes previous versions of updated components from WinSxS folder)
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase (if you add the /ResetBase switch, it removes all superseded versions of every component in the component store.)
3. There are a few locations you can check and possibly delete:
C:\Users\ - delete an old user folders
C:\Windows\Temp and C:\Windows\Logs - delete Windows logs
C:\Windows\Software Distribution - stop Windows update service and delete the folder
C:\ProgramData\Microsoft\Windows\WER - delete Windows error log files
4. Remove all unused applications
5. Clear browsers cache
Kanwaljit Singh DhunnaSelf Employed

Author

Commented:
@Hello There
Point 2 > How to Do that ?
Point 3> Is it ok If I delete Public User Folder ?

Seth SimmonsSr. Systems Administrator
CERTIFIED EXPERT

Commented:
you have a 120gb disk which isn't much but sufficient for general use
your windows and program files folder sizes seem ok
it's the system volume information folder i'm curious as to why it is 30gb
if you right-click 'this pc' and go to properties and go to system protection, do you see C as on?
i'm wondering if there are system restore points taking up space
Hello ThereSystem Administrator
CERTIFIED EXPERT
Distinguished Expert 2018

Commented:
Point 2 > How to Do that ?
Open the command prompt and type commands above.

Point 3> Is it ok If I delete Public User Folder ? 
Don't touch the Public folder.
Kanwaljit Singh DhunnaSelf Employed

Author

Commented:
explorer_NvQa9AR1Ac.png
@ Seth : Do you mean this
Kanwaljit Singh DhunnaSelf Employed

Author

Commented:
There are no previous versions
Kanwaljit Singh DhunnaSelf Employed

Author

Commented:
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.