Alright so I installed Win7 Pro x64 and want to accomplish this simple task:
All I want to do is have Win7 select a different hdd other than C: as the default location for installing program files.
So this is what i did...
I created a new folder in my "D" drive called "Program Files"
I went went into the registry and made the following changes:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
*changed "ProgramFilesDir(x86)" from "C" to "D"
*changed "ProgramFilesDir(x64)" from "C" to "D"
As expected it worked fine and new programs installed, by default would be installed in a separate drive.
Now, the problem I'm getting is now for some reason I can no longer defrag as well as access regedit.
When I try defragging I get "The diaolog could not be launched. Please try again." error.
When I try to access the registry, I get "Windows cannot find 'C:\Windows\regedit.exe'. Make sure you typed the name correctly and then try again."
The odd thing is I can go into the windows folder and SEE "regedit" file but even double clicking on that (normally or "run as admin") it STILL gives me that error!
Why not just manually change drive during installation you ask?
Reason being is this is a test so I know I can properly have this set up at my parents computer which I will also be installing Win7 for them and I want to keep the OS separate from any programs they will download over time.
Any ideas as to what went wrong?
All I want to do is have Win7 select a different hdd other than C: as the default location for installing program files.
So this is what i did...
I created a new folder in my "D" drive called "Program Files"
I went went into the registry and made the following changes:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
*changed "ProgramFilesDir(x86)" from "C" to "D"
*changed "ProgramFilesDir(x64)" from "C" to "D"
As expected it worked fine and new programs installed, by default would be installed in a separate drive.
Now, the problem I'm getting is now for some reason I can no longer defrag as well as access regedit.
When I try defragging I get "The diaolog could not be launched. Please try again." error.
When I try to access the registry, I get "Windows cannot find 'C:\Windows\regedit.exe'. Make sure you typed the name correctly and then try again."
The odd thing is I can go into the windows folder and SEE "regedit" file but even double clicking on that (normally or "run as admin") it STILL gives me that error!
Why not just manually change drive during installation you ask?
Reason being is this is a test so I know I can properly have this set up at my parents computer which I will also be installing Win7 for them and I want to keep the OS separate from any programs they will download over time.
Any ideas as to what went wrong?