Hi guys,
I'm a control freak who likes to own my computer system, not be told how to run my computer by overprotective Microsoft parents. I like to tweak my system my way and have windows put things where I want them to go. Up until now I've stuck with Window XP because it is so controllable but have decided it is time to switch to Windows 7, mainly because I want to use a windows media centre remote.
I've searched everywhere for good practical advice on slimming down windows 7 installation files as I like to install the bare minimum but nowhere I can find is all the information in one place so I'm going to put what I have learnt here for advice on what I may have done wrong, and what else I can do. To hopefully create a slimming guide. This is my 4th full install in the last month so I've had a little practice. If anybody knows that this has been done elsewhere in these forums just let me know where and I'll remove this and go read the prior work.
Please don't follow these steps unless you are a confident windows user. By the end almost all of windows safety control features end up being turned off, if in doubt stick to the ones that make sense to you. I feel I can make these changes as I run up to date security software and only me and my wife use the system and all my guests get told not to install ANY software on my system - no ifs, no buts.
First up I partition my system into a number of drives. My minimum (I have two systems) is 4 partitions. (Actually I run on about 8-10 drives/partitions, but 4 would be the minimum)
1 for OS. (about 20GB)
1 for program files (to keep them from clogging up OS drive).(About 20GB- although on no system have I ever used more than 8)
1 for media files, documents, music games etc, etc, etc. (Whatever is left over.)
1 for swap files / virtual memory. (to keep it from clogging up OS drive). (About 10 GB)
I've tried N7-Lite or somesuch program for a slimmed down install but it only saved a little space in the end for a lot of fuss so I now do a full install which means choosing a username and opening a default account. I like having a fast boot up so I don't enter any passwords to login.
Even if you don't go any further than this because it seems dangerous; 2 quick safe extremelly effective ways of slimming down your OS drive are:
Moving or deleting the pagefile and hibernate files in the OS drive. (You won't see them unless you turn on "show hidden and system files" from the files and folder option in the control panel.
On my desktop i have no reason for hibernate so i safely turn that off:
Go to startmenu search bar - type "cmd" - right click and run as administrator - type: "powercfg /hibernate off" - then press the return button. This deletes the hibfile. This file is about as big as the amount of RAM in your system. (For me thats 3-4GB)
I then move my pagefile.sys by entering control panel - system. Choose the advance system settings on the left and then push the performance settings button. Go to the advanced tab and choose virtual memory change button. Choose C: drive - no paging option. then choose another partition, (or even better another completely different physical drive) and choose system managed option. This will require a restart but again this file can be as much as 1.5 times as big as your RAM. Mine was 7 GB when I moved it and that was after only running my system for 3 hours post a fresh install.
The next stuff is not so straight forward but after installation I aim at cutting down user files and folders within C: drive.
Firstly ensure you have the minimum amount of accounts. For me this is one active account and one guest account which is turned off, but can't be deleted from within windows. Because I believe in controlling my system and being able to achieve what I want on my system when I want it, the account I choose to keep is administrator. This is a hidden account so first you have to turn it on.
Go to the start menu search bar and type cmd. Right click and choose the run as administrator option.
Type: "net user administrator /active:yes" and press return.
Restart your system and press F8 at the appropriate time, or just keep pressing F8 to enter alternative booting options, and then choose to run in safe mode. Choose to login as administrator and then go to user accounts, either through the search menu or control panel. Modify another account, choose the account you set up during installation and delete it and all it's files. There goes 56MB of crap.
Restart your computer. You will be now running permanently in administrator mode.
Next there will be a lot of deleting from the windows file, so you will need full ownership of all files and user account controls minimised.
UAC first - type UAC into the startmenu search bar and choose to change settings. I run my system at one notch from the bottom, which means I can make changes to my system but will have to accept a new program installing on my system manually.
Next I download and run a regedit called: takeownership regedit. (Please search and download it yourself.) I then go to my OS drive and program file drive (Drives C: & D
and hightlight everything, right click and then choose the "take ownership option". I now can just about delete or change anything I want without getting permission each time. Still there are some files and programs that resist, so when you meet them just right click - take ownership. You can then change, open or delete them, depending on what you are trying to achieve.
Next I go to public folders and delete most of them (anything you want to share over a network you can choose to share under properties.) This is another 56MB worth of useless files gone. The folders will be replaced by windows later when it finds them missing but they will be empty.
I then merge all the information kept in default user and all users with my administrator files and delete all the files which are already in my administrator account. (i.e. start up, my pictures, desktop etc.) I also delete the entire guest account as I have it kept turned off and have no intention of turning it on. If it is turned on later I'm sure windows will create all the files needed plus 50MB more worth of junk to fill it.
I don't want extra files now finding their way onto C: drive clogging up the space I have just made so I change the location of all my "windows special folders" (i.e. junk folders that I never use anyway) onto another partition. This is done through my computer, C: drive, Users, Administrator. Then choose the folder eg. Downloads. Right click on it, go to properties, click on the location tab, move, type in another folder in another partition or browse and apply. Once you are finished any automatic saves or downloads go to a new partition. (Don't forget My Documents, Movies, Pictures etc.) I also don't use windows explorer or internet explorer so I delete the links folder and the favourites folder.
Next is to ensure programs are installed onto a different drive whenever you install. This is done by ALWAYS pushing custom install and/or choosing the directory the program goes in when you run an installion file. It's why I have partition D:.
This is about as far as I can go at the moment. I'm currently exploring with two regedits I created, one to change the installation folder which I run just before I intall a program which doesn't let me choose a folder, and one which I run as soon as I am finished. (Programs such as CCleaner) it seems to work (it did for Ccleaner, but not for Norton's or Google chrome - they still found their way onto C: drive) but I don't know what the long term effect of this will be will windows go searching for a file where it expects it to be? Any guesses, my two regedits (which are just changing drive and file names back and forth) are:
Change for installation:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
"SM_GamesName"="Games"
"SM_ConfigureProgramsName"="Set Program Access and Defaults"
"CommonFilesDir"="D:\\Obtrusive Programs\\Common Files"
"CommonFilesDir (x86)"="D:\\Obtrusive Programs\\Common Files"
"CommonW6432Dir"="D:\\Obtrusive Programs\\Common Files"
"DevicePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,69,00,6e,00,66,00,00,00
"MediaPathUnexpanded"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,\
6f,00,6f,00,74,00,25,00,5c,00,4d,00,65,00,64,00,69,00,61,00,00,00
"ProgramFilesDir"="D:\\Obtrusive Programs"
"ProgramFilesDir (x86)"="D:\\Obtrusive Programs"
"ProgramFilesPath"=hex(2):44,00,3a,00,5c,00,4f,00,62,00,74,00,72,00,75,00,73,\
00,69,00,76,00,65,00,20,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,73,00,\
00,00
"ProgramW6432Dir"="D:\\Obtrusive Programs"
Change post installation
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
"SM_GamesName"="Games"
"SM_ConfigureProgramsName"="Set Program Access and Defaults"
"CommonFilesDir"="C:\\Program Files\\Common Files"
"CommonFilesDir (x86)"="C:\\Program Files (x86)\\Common Files"
"CommonW6432Dir"="C:\\Program Files\\Common Files"
"DevicePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,69,00,6e,00,66,00,00,00
"MediaPathUnexpanded"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,\
6f,00,6f,00,74,00,25,00,5c,00,4d,00,65,00,64,00,69,00,61,00,00,00
"ProgramFilesDir"="C:\\Program Files"
"ProgramFilesDir (x86)"="C:\\Program Files (x86)"
"ProgramFilesPath"=hex(2):25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,\
00,69,00,6c,00,65,00,73,00,25,00,00,00
"ProgramW6432Dir"="C:\\Program Files"
I've tried to leave the folder names changed as per the first regedit but found that windows media player and media centre are always creating new files so end up placing crap everywhere, getting split up and eventually not working. Usually no great loss to me as I hate using anything microsoft but like I said I'm doing all this just to use the remote control so I currently need WMC working.
If anyone has any further advice on what can be deleted in C: or how to get rid of uneccessary windows files let me know. (And not through turning windows features off, because as a rule it doesn't seem to delete them, therefore no space saved.
Currently my C: is taking up 8.4 GB of a 20GB drive.
PS - why do I stick with windows and not go to linux? The answer is gaming. It's so much easier on windows. My current system will eventually be a dual boot linux. But for now I'm just concentrating on Windows.
I'm a control freak who likes to own my computer system, not be told how to run my computer by overprotective Microsoft parents. I like to tweak my system my way and have windows put things where I want them to go. Up until now I've stuck with Window XP because it is so controllable but have decided it is time to switch to Windows 7, mainly because I want to use a windows media centre remote.
I've searched everywhere for good practical advice on slimming down windows 7 installation files as I like to install the bare minimum but nowhere I can find is all the information in one place so I'm going to put what I have learnt here for advice on what I may have done wrong, and what else I can do. To hopefully create a slimming guide. This is my 4th full install in the last month so I've had a little practice. If anybody knows that this has been done elsewhere in these forums just let me know where and I'll remove this and go read the prior work.
Please don't follow these steps unless you are a confident windows user. By the end almost all of windows safety control features end up being turned off, if in doubt stick to the ones that make sense to you. I feel I can make these changes as I run up to date security software and only me and my wife use the system and all my guests get told not to install ANY software on my system - no ifs, no buts.
First up I partition my system into a number of drives. My minimum (I have two systems) is 4 partitions. (Actually I run on about 8-10 drives/partitions, but 4 would be the minimum)
1 for OS. (about 20GB)
1 for program files (to keep them from clogging up OS drive).(About 20GB- although on no system have I ever used more than 8)
1 for media files, documents, music games etc, etc, etc. (Whatever is left over.)
1 for swap files / virtual memory. (to keep it from clogging up OS drive). (About 10 GB)
I've tried N7-Lite or somesuch program for a slimmed down install but it only saved a little space in the end for a lot of fuss so I now do a full install which means choosing a username and opening a default account. I like having a fast boot up so I don't enter any passwords to login.
Even if you don't go any further than this because it seems dangerous; 2 quick safe extremelly effective ways of slimming down your OS drive are:
Moving or deleting the pagefile and hibernate files in the OS drive. (You won't see them unless you turn on "show hidden and system files" from the files and folder option in the control panel.
On my desktop i have no reason for hibernate so i safely turn that off:
Go to startmenu search bar - type "cmd" - right click and run as administrator - type: "powercfg /hibernate off" - then press the return button. This deletes the hibfile. This file is about as big as the amount of RAM in your system. (For me thats 3-4GB)
I then move my pagefile.sys by entering control panel - system. Choose the advance system settings on the left and then push the performance settings button. Go to the advanced tab and choose virtual memory change button. Choose C: drive - no paging option. then choose another partition, (or even better another completely different physical drive) and choose system managed option. This will require a restart but again this file can be as much as 1.5 times as big as your RAM. Mine was 7 GB when I moved it and that was after only running my system for 3 hours post a fresh install.
The next stuff is not so straight forward but after installation I aim at cutting down user files and folders within C: drive.
Firstly ensure you have the minimum amount of accounts. For me this is one active account and one guest account which is turned off, but can't be deleted from within windows. Because I believe in controlling my system and being able to achieve what I want on my system when I want it, the account I choose to keep is administrator. This is a hidden account so first you have to turn it on.
Go to the start menu search bar and type cmd. Right click and choose the run as administrator option.
Type: "net user administrator /active:yes" and press return.
Restart your system and press F8 at the appropriate time, or just keep pressing F8 to enter alternative booting options, and then choose to run in safe mode. Choose to login as administrator and then go to user accounts, either through the search menu or control panel. Modify another account, choose the account you set up during installation and delete it and all it's files. There goes 56MB of crap.
Restart your computer. You will be now running permanently in administrator mode.
Next there will be a lot of deleting from the windows file, so you will need full ownership of all files and user account controls minimised.
UAC first - type UAC into the startmenu search bar and choose to change settings. I run my system at one notch from the bottom, which means I can make changes to my system but will have to accept a new program installing on my system manually.
Next I download and run a regedit called: takeownership regedit. (Please search and download it yourself.) I then go to my OS drive and program file drive (Drives C: & D

Next I go to public folders and delete most of them (anything you want to share over a network you can choose to share under properties.) This is another 56MB worth of useless files gone. The folders will be replaced by windows later when it finds them missing but they will be empty.
I then merge all the information kept in default user and all users with my administrator files and delete all the files which are already in my administrator account. (i.e. start up, my pictures, desktop etc.) I also delete the entire guest account as I have it kept turned off and have no intention of turning it on. If it is turned on later I'm sure windows will create all the files needed plus 50MB more worth of junk to fill it.
I don't want extra files now finding their way onto C: drive clogging up the space I have just made so I change the location of all my "windows special folders" (i.e. junk folders that I never use anyway) onto another partition. This is done through my computer, C: drive, Users, Administrator. Then choose the folder eg. Downloads. Right click on it, go to properties, click on the location tab, move, type in another folder in another partition or browse and apply. Once you are finished any automatic saves or downloads go to a new partition. (Don't forget My Documents, Movies, Pictures etc.) I also don't use windows explorer or internet explorer so I delete the links folder and the favourites folder.
Next is to ensure programs are installed onto a different drive whenever you install. This is done by ALWAYS pushing custom install and/or choosing the directory the program goes in when you run an installion file. It's why I have partition D:.
This is about as far as I can go at the moment. I'm currently exploring with two regedits I created, one to change the installation folder which I run just before I intall a program which doesn't let me choose a folder, and one which I run as soon as I am finished. (Programs such as CCleaner) it seems to work (it did for Ccleaner, but not for Norton's or Google chrome - they still found their way onto C: drive) but I don't know what the long term effect of this will be will windows go searching for a file where it expects it to be? Any guesses, my two regedits (which are just changing drive and file names back and forth) are:
Change for installation:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
"SM_GamesName"="Games"
"SM_ConfigureProgramsName"="Set Program Access and Defaults"
"CommonFilesDir"="D:\\Obtrusive Programs\\Common Files"
"CommonFilesDir (x86)"="D:\\Obtrusive Programs\\Common Files"
"CommonW6432Dir"="D:\\Obtrusive Programs\\Common Files"
"DevicePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,69,00,6e,00,66,00,00,00
"MediaPathUnexpanded"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,\
6f,00,6f,00,74,00,25,00,5c,00,4d,00,65,00,64,00,69,00,61,00,00,00
"ProgramFilesDir"="D:\\Obtrusive Programs"
"ProgramFilesDir (x86)"="D:\\Obtrusive Programs"
"ProgramFilesPath"=hex(2):44,00,3a,00,5c,00,4f,00,62,00,74,00,72,00,75,00,73,\
00,69,00,76,00,65,00,20,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,73,00,\
00,00
"ProgramW6432Dir"="D:\\Obtrusive Programs"
Change post installation
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
"SM_GamesName"="Games"
"SM_ConfigureProgramsName"="Set Program Access and Defaults"
"CommonFilesDir"="C:\\Program Files\\Common Files"
"CommonFilesDir (x86)"="C:\\Program Files (x86)\\Common Files"
"CommonW6432Dir"="C:\\Program Files\\Common Files"
"DevicePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,69,00,6e,00,66,00,00,00
"MediaPathUnexpanded"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,\
6f,00,6f,00,74,00,25,00,5c,00,4d,00,65,00,64,00,69,00,61,00,00,00
"ProgramFilesDir"="C:\\Program Files"
"ProgramFilesDir (x86)"="C:\\Program Files (x86)"
"ProgramFilesPath"=hex(2):25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,\
00,69,00,6c,00,65,00,73,00,25,00,00,00
"ProgramW6432Dir"="C:\\Program Files"
I've tried to leave the folder names changed as per the first regedit but found that windows media player and media centre are always creating new files so end up placing crap everywhere, getting split up and eventually not working. Usually no great loss to me as I hate using anything microsoft but like I said I'm doing all this just to use the remote control so I currently need WMC working.
If anyone has any further advice on what can be deleted in C: or how to get rid of uneccessary windows files let me know. (And not through turning windows features off, because as a rule it doesn't seem to delete them, therefore no space saved.
Currently my C: is taking up 8.4 GB of a 20GB drive.
PS - why do I stick with windows and not go to linux? The answer is gaming. It's so much easier on windows. My current system will eventually be a dual boot linux. But for now I'm just concentrating on Windows.