Learning has never been so easy!
Windows 7 is a beast in consuming hard drive disk spaces, especially the system drive, C, which is constantly being filled up. After a while it will keep annoying you with low disk space warnings because C drive is running out of space and almost full. So how can I safely free up all the disk spaces in C drive in Windows 7 and reduce its disk storage?
The methodology is to find the fattest folders in C drive, move as many of them to another drive (such as D, E, etc.) as possible, and make symbolic links (by mklink) from C drive to the folders in other drives.
3 Steps total
Step 1: Find culprit folders that occupy the most disk space!
There are so many ways to do this but what I did was to look at the size stats for each of the major folders in my C drive. After 10 minutes, I was able to pinpoint these folders that are consuming large chunks of the disk volume:
C:Windowswinsxs – very high-profile system folder that are not easily reduced / moved, which I’ll leave alone.
C:WindowsInstaller – Over 3GB, program installers that can be moved safely and easily.
C:UsersAdministratorAppDataGoogle – About 0.8GB, Google products data such as those by Chrome.
C:UsersAdministratorAppDataMozilla – About 1.6GB, Firefox profiles and browser data.
Some folders in C:Program Files – I wish I could move this entire folder but I couldn’t. I could only move some of the folders such as “Microsoft Games”.
Some folders in C:Program Files (x86) – Same as above.
This is just my case. You may as well find totally different folders that need to be moved. After you have found something, proceed to step 2 to duplicate them elsewhere.
C:WindowsInstaller – Over 3GB, program installers that can be moved safely and easily.
C:UsersAdministratorAppDataGoogle – About 0.8GB, Google products data such as those by Chrome.
C:UsersAdministratorAppDataMozilla – About 1.6GB, Firefox profiles and browser data.
Some folders in C:Program Files – I wish I could move this entire folder but I couldn’t. I could only move some of the folders such as “Microsoft Games”.
Some folders in C:Program Files (x86) – Same as above.
This is just my case. You may as well find totally different folders that need to be moved. After you have found something, proceed to step 2 to duplicate them elsewhere.
Step 2: Copy these folders to another drive that is much more spacious!
This one is easy. Just perform the omnipotent Ctrl+C and Ctrl+V combination to copy these folders to another drive. In this example, we’ll copy these folders to their new destination – D:C_DRIVE:
C:WindowsInstaller –> D:C_DRIVEWindowsInstaller
C:UsersAdministratorAppDataGoogle –> D:C_DRIVEUsersAdministratorAppDataGoogle
C:UsersAdministratorAppDataMozilla –> D:C_DRIVEUsersAdministratorAppDataMozilla
After the duplications, proceed to step 3.
C:UsersAdministratorAppDataGoogle –> D:C_DRIVEUsersAdministratorAppDataGoogle
C:UsersAdministratorAppDataMozilla –> D:C_DRIVEUsersAdministratorAppDataMozilla
After the duplications, proceed to step 3.
Step 3: Delete original folders and create the symbolic links
Now we need to delete the original folders in drive C. Some files and folders in Windows 7 are owned by TrustedInstaller while some by SYSTEM that cannot be easily deleted by Administrator. To delete them, you have to acquire SYSTEM privileges to do this, because the most privileged account in a Windows 7 computer is SYSTEM, not Administrator.
To do this, just create a file named syscmd.bat and put in the following commands: Eset nod32 antivirus 9 crack 64 bit.
sc Create SysCMD binPath= 'cmd /K start' type= own type= interact
sc start SysCMD
sc start SysCMD
Attached is an already created batchfile, download it and run it as an administrator
All you need to do is to select the files you’d like to share. Bb os 10 wifi file transfer.
Double click to run the file syscmd.bat and you will be prompted by a dialog with 2 buttons, click the top one to view the interactive message.
And you will enter a command line interactive mode with SYSTEM privileges which basically grant you full rights to the computer – you can do whatever you want now.
Run these commands one by one – line by line, you type in the command and hit enter:
rmdir /s /q C:WindowsInstaller
rmdir /s /q C:UsersAdministratorAppDataGoogle
rmdir /s /q C:UsersAdministratorAppDataMozilla
rmdir /s /q C:UsersAdministratorAppDataGoogle
rmdir /s /q C:UsersAdministratorAppDataMozilla
Now that the original folders are deleted, we’ll make symbolic links in the same name so that any requests for these folders are correctly diverted to those on the D drive:
mklink /D C:WindowsInstaller D:C_DRIVEWindowsInstaller
mklink /D C:UsersAdministratorAppDataGoogle D:C_DRIVEUsersAdministratorAppDataGoogle
mklink /D C:UsersAdministratorAppDataMozilla D:C_DRIVEUsersAdministratorAppDataMozilla
mklink /D C:UsersAdministratorAppDataGoogle D:C_DRIVEUsersAdministratorAppDataGoogle
mklink /D C:UsersAdministratorAppDataMozilla D:C_DRIVEUsersAdministratorAppDataMozilla
eaf03ecfaa9f57b04145845bd526435ace0f48ac858a6cdde2d850c446aedf21_Syscmd.bat
That’s it.
After these 3 steps, my C drive is successfully reduced in size by 5.4GB. I can move more folders to further enlarge / extend the free space but for now, it’s good enough for me.
Feel free to leave any comment about how you are doing with this approach.
References
- http://www.kavoir.com/
0 Comments
I already tried to set the following registry keys:
- GlobalMaxTcpWindowSize to 2KB (MSDN)
- TcpWindowSize for each interface to 2KB (MSDN)
Unfortunately, I seems that these registry keys have no effect (also after a reboot).I tried testing using iperf which prints the default TCP window size on startup. In my case it printed 8KB before these modifications and 8KB afterwards..
Any hints, ideas are welcome!Thanks in advance,Jonas
JonasJonas91433 gold badges1313 silver badges2222 bronze badges
closed as off-topic by Joe, user207421, joran, Jan Turoň, HaskellElephantJun 26 '13 at 13:48
This question appears to be off-topic. The users who voted to close gave this specific reason:
- 'Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User.' – Joe, joran, HaskellElephant
Windows 7 File Size
1 Answer
Its all auto on vista+ please see
capschcapsch
Reduce Win 7 Size After Install
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.