Change Default Installation Directory Path Windows 7

Posted: 17/11/2012 in All Teched UP!, Bits and Bobs, Geek Stuff, Hacking, Tutorial, Vista, Windows, Windows 7, XP
Tags: , , , , , ,

Caintech.co.uk Please Note: Please ensure that you Back-up your Registry before attempting to modify it in anyway just in case you make a mistake. Here’s how:

  1. Depending on your version of Windows, do one of the following:
    • For Windows XP: Click Start > Run.
    • For Windows 7 or Vista: Click the Start button, and then click All Programs > Accessories > Run.
  2. In the Run dialog box, type the following text:

    regedit

  3. Click OK.

    If the User Account Control window appears, click Continue.

  4. On the File menu, click Export.
  5. In the File name box, type a name that you will remember, such as Registry Backup.
  6. Select a location where you want to save the Registration Entries (.reg) file, I suggest your desktop.
  7. Click Save.

Ok now that has been done lets get into the real technical stuff.

Changing the Default Installation Path in Windows 7 isn’t all that difficult, we all know that our Default Installation Path is C:\Program Files but if you want to change this to another Drive so that will become the Default Path for all new program Installations you can with a few clicks in the registry editor.

Ok for X64 Version User’s this simply Copy and Paste the following into the Run Box

%systemroot%\syswow64\regedit

For X32 Version User’s Go to Start and in the Search Box type in Regedit and Hit Enter to Open the Registry Editor

Now the Registry Editor will open

  • Ok now locate the following:- HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion

Now you will see that I have marked out the ProgramFilesDir for the X32 Version and ProgramW6432Dir the X64 Version and the reason for this you will need to change both if you are running a X64 Version.

So, If you have the X32 Version of Windows then choose the ProgramFileDir x86 path by Right Clicking and then Selecting Modify.

Then simply change the Drive Letter and Path to where you want to Install your Programs then Click OK

  • For X32 Version user’s, that it for you all done!

So, If you have the X64 Version of Windows then choose and Modify both ProgramFileDir x86 and ProgramW6432Dir path by Right Clicking and then Selecting Modify.

Then simply change the Drive Letter and Path to where you want to Install your Programs then Click OK

Now if you have messed it up and when you reboot your machine you get errors, a simple way to revert back to the previous version of the registry is to:

Reboot the machine  keep tapping F8 this will take you into ‘Safe Mode’

When the desktop boots double click on the .reg file you made earlier in this tutorial and when prompted with a warnig (as below) press ‘Yes’

Reboot and now you are back to how your registry was before you started (now print this tutorial out and try again)

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s