Change Default 64-Bit Install Directory in Regedit
By default, 64-bit versions of Windows install modern applications to
the C:\Program Files directory. If your primary drive is
running low on storage or you prefer to keep your software on a
secondary drive, you can change this default path using the Windows
Registry Editor (Regedit). This guide walks you through the exact steps
to modify the registry keys responsible for the 64-bit installation path
safely and effectively.
Step-by-Step Guide to Changing the 64-Bit Install Path
Step 1: Open the Registry Editor
- Press
Windows Key + Rto open the Run dialog box. - Type
regeditand pressEnter. - Click Yes when prompted by User Account Control (UAC).
Step 2: Navigate to the CurrentVersion Key
In the left sidebar of the Registry Editor, navigate to the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
Step 3: Modify the 64-Bit Installation Values
In the right-hand pane, locate the following string values responsible for 64-bit software paths:
ProgramFilesDir: Double-click this entry and change its Value data to your desired path (for example,D:\Program Files).ProgramW6432Dir: Double-click this entry and set the Value data to the exact same path you specified inProgramFilesDir.
Note: Leave ProgramFilesDir (x86) untouched unless
you also wish to redirect 32-bit applications to another
location.
Step 4: Close and Restart
- Click OK to save the changes.
- Close the Registry Editor.
- Restart your computer to ensure the system and installer services recognize the new configuration.
Important Considerations
- Existing Installations: Changing this registry setting only affects new program installations. Previously installed software will remain in the old directory and will not be moved automatically.
- Do Not Delete the Original Directory: Do not delete
the original
C:\Program Filesfolder. Core Windows components and system utilities rely on the default system drive path to function properly. - Installer Compatibility: Some hardcoded third-party
installers ignore registry preferences and will still attempt to install
to the
C:drive by default. In those cases, select the custom or advanced installation option within the installer to manually choose your folder.