Change default program files installation path in Windows 7

Change default program files installation path in Windows 7

Files and C:\Program Files (x86) directories. If the hard drive you have the operating system installed on is running out of space though, or you just want to have the OS on a separate SSD, you might want to consider changing these default installation paths.

Be warned before you go on though! Microsoft does not officially support changing installation directories (see here). You are responsible for all consequences.

Furthermore, since we are going to edit the Windows registry for our causes, you should have that backed up first in case something goes wrong. Here’s how:

Now that you have been warned, let’s get started: Open a Run…prompt and enter regedit. I will be referring to our new installation path as E:\Program Files and E:\Program Files (x86), so replace these paths with the ones you want to have (you can choose other names as well). Now browse the left registry pane for theHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion key. Click on that key once to show its contents and locate the ProgramFilesDir and ProgramFilesDir (x86):

Reg-edit Screenshot

Double click those values and change C:\Program Files toE:\Program Files as well as C:\Program Files (x86) toE:\Program Files (x86). Furthermore it might be safe to change all other paths directing to the old directories to point at the new ones as well. That’s it if you are on a 32bit system, close the registry and reboot your computer.

64bit users have one more step to go. Close the registry and open another Run… prompt. This time, enter%systemroot%\sysWOW64\regedit. Another registry windows will open. Repeat the exact same steps here that you have done before. Afterwards, close the registry and reboot your computer.


See original  instructions at:

Also see:

Windows 7 Installation Tips and Tricks

How to create a Windows 7 installation partition

This concept can be used to perform clean installs as well as perform recovery tasks. Potentially think about a larger system/restore partition large enough to hold other files, such as saving system backup images to this drive and maybe portable apps/tools.

Geek Tip from the video: shift + f10 launches a command prompt from within the windows installation process.

Fix Windows USB/DVD Download Tool when unable to copy files

A user account trick to hide accounts from the login screen:

If you have an account with Administrator-level permissions on the system, you should be able to delete the account using the

net user

command from an elevated command prompt.

In the Start Menu’s search bar, type


. When “cmd.exe” is highlighted in the search results, press CTRL+SHIFT+ENTER. You should get a UAC prompt. After the UAC prompt, you should see a CMD window with the title

Administrator: C:\Windows\System32\cmd.exe


From there, use

net user

as you normally would to delete a user account:

net user [username] /delete

For more information about

net user


Once done the user account still exists but it is not visible in the login screens visibly it is souly in the background existing for tasks not daily desktop work, this is handy for hidden admin accounts or other accounts that are used for specific purposes like password protected file sharing (very handy!).