View Single Post
  #8 (permalink)  
Old May 3rd 10, 03:42 PM posted to microsoft.public.windows.vista.installation_setup
Badger[_3_]
external usenet poster
 
Posts: 180
Default How to move "Program Files" to another drive/partition

Why try so hard to complicate a proven operating system?
All you are doing is slowing the system down.

"Gew" wrote in message
...

I have another theory on solving this issue.
I'd like to keep NTFS junction points out of the picture.
Therefor, my solution goes something like this.

Change the following registry key:
-HKEY LOCAL
MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ ProgramFilesDir\-

This is Windows main reference on %PROGRAMFILES%. Thing is, Windows
itself is locking many of the files within this folder, so you can't
re-target the whole folder right away. So, grab an
FreeDOS/MSDOS/Hiren/whatever boot disc, and then move (eg. -'ren
"C:\Program Files" "D:\Progs"'-)

Some people say you could just boot into fail-safe mode, and you'd be
able to rename the directory. I haven't tried it, so I wouldn't know. To
be honest, I havn't tried this method at all, it's all theory for now.
But it sounds like a plan. Just to be safe, after successfully booting
with the new main registry key, plus the changed directory, you could
search the registry in its whole for oldisch \Program files\ entries,
and pull a simple "Replace all" on that.

So, any thoughts, ideas?


--
Gew
Posted via http://www.vistaheads.com