Windows 7 Ultimate 64 bit takes up 151 GB

XiRw

Honorable
Jul 13, 2013
63
0
10,660
I need help badly on this one. Whenever I re-install Windows on my computer (which has been a lot recently due to programs like combofix, comodo programs manager, etc..) it automatically takes up 151 gb of space and counting. I use a Samsung 840 Pro 256GB for my C drive and it automatically brings it down to 105 then with installed NECESSARY windows programs, etc, its at 84 gb.

I used Space Sniffer to see what was causing this and of course as I figured it was the pagefil.sys and hiberfil.sys The pagefile was around 48gb and hiber was taking up around 39 gb.

Now I know the more RAM you have the higher this is, I have 48 gb of RAM. However I've been reading and even if I wanted to disable hibernation or virtual memory it still doesnt fix the problem which is odd because it does for most people online. After I disabled virtual memory the pagefile in Space Sniffer was gone BUT it didnt give me back my ssd space. It was now under 'unknown' in space sniffer taking up the same space on my ssd.

Among the times when I did re-install windows a lot I used a program called Samsung Magician which actually fixed my SSD problem when I put the setting to "Max Capacity" but interestingly it doesnt work this time...

Please help? Im tired of re-installing windows and creating wear on my ssd
 
Solution
Hmmm, weird, if you own a desktop you dont need hibernation, you can disable it for real by:

open CMD as admin

and run

powercfg /h off

The above will disable hibernation for real, regarding paging file its tricky.

You can disable paging, but you cant do it if your already exceeding your ram and using that space, so please boot your computer to safe mode and do the following :

-Open the Start Menu and go to Control Panel
-Click on the System icon
-Select the Advanced tab
-Under Performance, click Settings
-Go to Advanced
-Under Virtual Memory, click Change
-Select No Paging File and then click Set
-Click OK in all the menus
-Restart

I have 3.5 GB of RAM and i have paging disabled, it matter of choice, and understanding how things...
With 48 GB of RAM ya really don't need a pagefile .... however, some programs need to force writes to this file and not having one can actually slow things down. I'd make maybe an 8 or 16GB page file and leave it at that .... and ya can turn hibernation off. Also use this

http://www.stevengould.org/index.php?option=com_content&task=view&id=15&Itemid=69

And look around for old deleteable files like *.dmp
 

emad_ramlawi

Distinguished
Oct 13, 2011
242
0
18,760
Hmmm, weird, if you own a desktop you dont need hibernation, you can disable it for real by:

open CMD as admin

and run

powercfg /h off

The above will disable hibernation for real, regarding paging file its tricky.

You can disable paging, but you cant do it if your already exceeding your ram and using that space, so please boot your computer to safe mode and do the following :

-Open the Start Menu and go to Control Panel
-Click on the System icon
-Select the Advanced tab
-Under Performance, click Settings
-Go to Advanced
-Under Virtual Memory, click Change
-Select No Paging File and then click Set
-Click OK in all the menus
-Restart

I have 3.5 GB of RAM and i have paging disabled, it matter of choice, and understanding how things works, i know i can less multi-task, but i look for efficient programs or close stuff

And since you have SSD, you will need to learn the power of NTFS junction points, i work at a backup company and give this tutorial for clients, read it when your free and learn the important and trim the rest... haha trim ....










System Drive is filling up from backup jobs information
NTFS Junction allows you to store the size of any folder to another location, while keeping the location
of that folder intact; this is done in the kernel level, so it's invisible to all applications.
The Folder:
C:\Users\(Your Username)\AppData\Roaming\Genie9\
Stores all the configuration files, for Genie Timeline 2012, and Zoolz.
**note: AppData is a hidden folder.
**note: This guide applies to the moving of configuration data of Genie Timeline 2012 as well as Zoolz ,
for older releases (Genie Backup Manager), please use the exact guide but change the above folder
location from Genie9 to Genie-Soft.
**note: The location of C:\Users\(Your Username)\AppData\Roaming\ can be replaced with
%APPDATA% system variable.
To create a junction point, under Windows Vista/7 proceed to do the following:
1) Wait for Genie9 products to finish their current backup if they are running, afterwards please stop
there service by:
Start Button -> Search/Run -> services.msc
 Genie Timeline Service --> Stop service
 Zoolz --> Stop service
**note : Genie backup Manager 9 , does not obtain a service.
2) Make a copy of the folder
%APPDATA%\Genie9
And paste it on the desired location, you wish to move it to, in this example it will be D:\Genie9.
3) Then delete the Genie9 folder, that resides in the %APPDATA%.
**note: if the folder was locked and an error dialog appears that resembles the following messages:
 Cannot delete file: Access is denied
 The source or destination file may be in use.
 The file is in use by another program or user.
 Make sure the disk is not full or write-protected and that the file is not currently in use.
Please use a free-ware program called Unlocker which can be downloaded from here:
http://www.emptyloop.com/unlocker/#download
After installing Unlocker, Right click that folder --> Unlocker --> Unlock All.
Then continue with the delete.
4) Then run the command to create the junction point in the cmd by:
a) Open cmd as administrator:
Start button --> Search/Run --> cmd.exe --> right click "Run as Administrator"
b) Run the following command:
mklink /j %APPDATA%\Genie9 D:\Genie9
Where:
mklink /j “original folder that wants to be moved” “desired new location”
**note : please try to run the junction command as soon as the folder gets deleted (Step 3), it’s better
to have the cmd window ready with the command typed earlier , otherwise the executed command will
error out with the following message:
Cannot create a file when that file already exists.
If That error appears please try again , by deleting that folder then running that command as soon as the
folder gets deleted , if the command succeeded it should notify with the following message:
Junction created for C:\Users\John\AppData\Roaming\Genie9 <<===>> D:\Genie9
Then start Genie9 product services again if needed, from Start -> Search/Run -> services.msc
 Genie Timeline Service --> Start service
 Zoolz --> Start service
The end result would be the Genie9 folder would appear to reside in the same location but actually all of
its size has been moved to the desired location, and this junction point is permanent.
**note: Junction point can be removed like any file/folder gets deleted, by deleting the original folder
location that the junction has been applied to, which in this example is:
C:\Users\(Your Username)\AppData\Roaming\Genie9
It will have shortcut icon, please note that deleting the junction point, will not delete the actual data
that is stored on the other drive (D: in our example).

 
Solution

XiRw

Honorable
Jul 13, 2013
63
0
10,660
Thanks for your help guys but unfortunately none of these worked. I had to end up Secure Erasing my drive and then reformatting it. Samsung Magician was able to do the rest. I guess quick reformat doesnt delete the previous settings with pagefile or something like that.

And thanks for the info emad, a lot of interesting information I can use