Re: Documents & Settings Folder



Bearwood
07-10-2005, 12:47 AM
Hi William

Brilliant reply, just the ticket. Operation completed successfully without
problems using article 314843 and your comments especially HOMEDRIVE,
%SystemDrive% and DOCUME~. Took a few dry runs first. Shifted Documents and
Settings from C: to E: drive. You need at least two users with administrator
status.

Important thing is to change registry for each user in turn. Search until
nothing is found for Documents and Settings and also Docume~. Do not log back
in to recheck because the act of logging in produces registry entries for
C:\Documents and Settings.

Note: after rebooting and deleting the C:\Documents and Settings folder and
its contents. There are residual entries in the registry for the default user
in C:\ in HKEY_CURRENT _USER\Software\Microsoft\Media Player\Setup\Created
Links. Just change them to point to your new folder and reboot again.

Many Thanks
Anthony L P Burk.

"William M. Quarles" wrote:

> Someone sent me a copy of that document and it was missing a lot of things,
> so I will tell you everyting that needs to be done.
>
> You need to follow the directions at
> <http://support.microsoft.com/default.aspx?scid=kb;en-us;314843>. You may
> find it helpful to start you computer in safe-mode command prompt mode (hit
> F8 I think at boot) and log in to the generic Administrator account, copy the
> folders with
> xcopy "C:\Documents and Settings\" "D:\Documents and Settings\" /c/h/e/k/r/v
> (add /y if you want to ignore overwrites). The /c switch makes the program
> ignore errors, so you will have to go back in with a different
> administrator-level account and run
> xcopy "C:\Documents and Settings\Administrator\" "D:\Documents and
> Settings\Administrator\" /c/h/e/k/r/y/v
> in order to copy the missing files. This is better than copying with the
> GUI because /v makes it verify all writes, which I am not sure that the GUI
> does.
>
> On step 11, you use regedit or some third-party Windows Registry editor
> (most safely done in safe-mode command prompt again) and you need to search
> for flat out "Documents and Settings" (no quotes). You will come up with
> entries that look like foo -> and need to be changed to bar
> %systemdrive%\Documents and Settings -> D:\Documents and Settings (change
> these two first)
> %systemroot%\Documents -> D:\Documents and Settings (change these two first)
> C:\Documents and Settings -> D:\Documents and Settings
> C?\Documents and Settings -> D?\Documents and Setings
>
> In one registry key HOMEPATH data just has \Documents and Settings (you
> don`t need to put D: for that one) you need to go up one key to HOMEDRIVE and
> change the HOMEDRIVE key data from C:\ to D:\ .
>
> I'm not sure how to handle the "HardDiskVolume1" keys but they seem to fix
> themselves.
>
> When you are done with that you need search for what the Microsoft Knowledge
> base article leaves out: DOCUME~1 (or whatever the 8-character name for your
> Documents and Settings folder is, you find that by right-clicking on the
> folder and choosing properties). Again,
> C:\DOCUME~1 -> D:\DOCUME~1
> C?\DOCUME~1 -> D?\DOCUME~1
>
> You might find another HOMEPATH key such as above, the same rule applies.
>
> Some keys might go blank, and others might change themselves back. If you
> have changed the %systemdrive%\Doc... and %systemroot%\Doc... keys, the ones
> that keep switching should fix themselves after you reboot.
>
> On to step 12, reboot, go back to safe-mode command prompt and log in to a
> different administrator-level account than the one that you did the registry
> changes with, and your command prompt should come up at D:\Documents and
> Settings\username\. If not then you have screwed up. In either case run
> regedit again and verify that everything is at D where it should be.
>
> Reboot again into normal mode, and run a file search (Start, Search...).
> Search for text within the files for "Documents and Settings" and "Docume~N,"
> (no obviously omittable punctuation, N is the number in the eight-character
> name of the old directory) looking in all files and folders including system
> and hidden files. Both searches will take a long time, but this is necessary
> because some programs keep settings outside of the registry. Edit their
> configuration files using notepad substituting C for D. You might want to
> reboot again for fun, but you should be good to go after this.
>
> And of course, delete the old Documents and Settings folder.
>
> Let me know if you need any further assistance.


Re: Documents & Settings Folder