Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed a 60GB SSD for the Windows 7 OS. I want to keep most software off it and install to the D:\ drive. Can I change the default installation drive?

share|improve this question

You can change the registry key of


from c:\Program Files to whatever you want to be your default install folder

share|improve this answer

No, you can't. Most software will let you install to another drive though at installation time if you choose custom. But you can't force it because it uses the %HOMEDRIVE% environment variable and if you change that, Windows will cease to function.

According to Microsoft, this functionality is by design.

share|improve this answer
Plus some programs just hardcode it. – surfasb Jul 6 '11 at 4:41
I think it is more likely that installers default to %PROGRAMFILES%. – paradroid Jul 6 '11 at 4:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.