TheMadHatterXxX
2[H]4U
- Joined
- Sep 7, 2004
- Messages
- 3,021
Hey guys, I ran into a slight issue over the weekend-I was left with only 2 Gb free space and I needed to figure out why and a fix to solve the issue. Perhaps this may help some of you also.
My 1st gen Intel SSD 80 Gb which i was dedicating to only OS install (Windows 7) and MS Office was running out of space quickly. I was wondering what was taking up all the space!
First thing you can do is download this small app called WinDirStat. This will allow you to view the drive contents and sort by size in the following ways:
http://windirstat.info/
Disable Hibernation on Windows 7
Windows has two power management modes that you can choose from: one is Sleep Mode, which keeps the PC running in a low power state so you can almost instantly get back to what you were working on. The other is Hibernate mode, which completely writes the memory out to the hard drive, and then powers the PC down entirely, so you can even take the battery out, put it back in, start back up, and be right back where you were.
Hibernate mode uses the hiberfil.sys file to store the the current state (memory) of the PC, and since its managed by Windows, you cant delete the file manually.
Instead, open a command prompt session as admin (right click from Start -> All Programs -> Accessories, select Run As Administrator), then at the command prompt, type powercfg.exe -h off. This will delete the hiberfil.sys as well as turning off Hibernate mode.
This removed about 12 Gb of space from my SSD!
Disable pagefile on your SSD on Windows 7 and enable it on another hard drive:
If you have a secondary hard drive with free space, you can move the pagefile and have it run from that drive instead:
Go To:
This removed another 20 Gb from my SSD!
Move C:\users from your SSD on Windows 7 and enable it on another hard drive:
This will make a symbolic link from C:\Users to X:\Users...it may take a while to robocopy everything from your users folder to another drive.
This removed about 10 Gb of stuff from my SSD to another drive!
Hope this helps some of you guys... I saved 42 Gb from my SSD by doing this!
My 1st gen Intel SSD 80 Gb which i was dedicating to only OS install (Windows 7) and MS Office was running out of space quickly. I was wondering what was taking up all the space!
First thing you can do is download this small app called WinDirStat. This will allow you to view the drive contents and sort by size in the following ways:
http://windirstat.info/
[1]The directory list, which resembles the tree view of the Windows Explorer but is sorted by file/subtree size,
[2]The treemap, which shows the whole contents of the directory tree straight away,
[3]The extension list, which serves as a legend and shows statistics about the file types.
Disable Hibernation on Windows 7
Windows has two power management modes that you can choose from: one is Sleep Mode, which keeps the PC running in a low power state so you can almost instantly get back to what you were working on. The other is Hibernate mode, which completely writes the memory out to the hard drive, and then powers the PC down entirely, so you can even take the battery out, put it back in, start back up, and be right back where you were.
Hibernate mode uses the hiberfil.sys file to store the the current state (memory) of the PC, and since its managed by Windows, you cant delete the file manually.
Instead, open a command prompt session as admin (right click from Start -> All Programs -> Accessories, select Run As Administrator), then at the command prompt, type powercfg.exe -h off. This will delete the hiberfil.sys as well as turning off Hibernate mode.
This removed about 12 Gb of space from my SSD!
Disable pagefile on your SSD on Windows 7 and enable it on another hard drive:
If you have a secondary hard drive with free space, you can move the pagefile and have it run from that drive instead:
Go To:
- Control Panel -> System
- Advanced System Settings
- Advanced Tab
- Settings button under Performance
- Advanced Tab
- Change button under Virtual Memory
- On your SSD drive, change the option to "No Paging File".
- Click Set.
- On your Hard Drive, set the option to either Custom Size or System Managed Size.
- Click Set.
- OK and reboot.
This removed another 20 Gb from my SSD!
Move C:\users from your SSD on Windows 7 and enable it on another hard drive:
This will make a symbolic link from C:\Users to X:\Users...it may take a while to robocopy everything from your users folder to another drive.
- Enable built in admin account, open cmd.exe (run as admin) and type -
net user administrator /active:yes - shutdown /r /f /t 00
- After restart, press F8 to perform steps 3-9 in safe mode.
- login to Administrator and open cmd.exe (run as admin) and type -
- robocopy /copyall /mir /xj "C:\Users\Public" "X:\Users\Public"
- robocopy /copyall /mir /xj "C:\Users\User" "X:\Users\User" <- *User is your accountname
- rmdir /S /Q "C:\Users\Public"
- rmdir /S /Q "C:\Users\User" <- *User is your accountname
- mklink /J "C:\Users\Public" "X:\Users\Public"
- mklink /J "C:\Users\User" "X:\Users\User" <- *User is your accountname
- shutdown /r /f /t 00
- After restart, login back in to administrator
- Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList
- Find a key similar to this, "S-1-5-21-4288074848-3222386265-3783365272-1000", that has your User name and change the C to X. <- X is the letter of drive you moved everything to from above.
- Disable built in admin account, open cmd.exe (run as admin) and type -
net user administrator /active:no - shutdown /r /f /t 00
- After restart, login to your account and verify everything is working.
This removed about 10 Gb of stuff from my SSD to another drive!
Hope this helps some of you guys... I saved 42 Gb from my SSD by doing this!
Last edited: