Knud Gert Ellentoft wrote:
> "Dan" <No_Sp@m.Net> skrev :
>
>> Som jeg skrev, så ønskede jeg at flytte HELE "Documents and
>> Settings", inkl. Foretrukne, Menuen Start, Skrivebordet og alle de
>> andre ting, således, at hvis jeg får brug for at omformatere mit
>> C-drev, så kan jeg blot geninstallere Windows, og igen lade systemet
>> pege på min S:\Documents and Settings, og det hele vil være
>> gen-etableret uden større problemer!
>
> Kan du ikke, du kan kun flytte undermapper.
--
fundet på:
http://www.dennislazo.com/cgi-bin/waterwheel/index.pl?case=win#mdands :
Moving Documents and Settings folder to another drive. Microsoft Knowledge
Base Article 236621 indicates a solution for moving the Documents and
Settings (D&S) Folder. However, this only applies to MS Windows Server 2000,
Windows 2000 Advanced Server, Windows 2000 Professional, and Windows 2000
Datacenter Server.
If you are using Windows XP, here are the steps which you could follow.
Note: By executing the steps indicated below, you are doing so in your own
risk. I can't guarantee that this is going to work, although it has always
worked perfectly in my machine, each time I would reinstall Windows XP.
To move The D&S Folder from one drive (C:) to another (D:):
1.. Open Windows Explorer
2.. Create a folder called "Documents and Settings" (without the quotes)
in drive D.
3.. Show all files and folders [Tools > Folder Options > View tab > Choose
"Show hidden files and folders" > Uncheck "Hide protected operating system
files" > Ok.]
4.. Create a profile with administrative permission and call it "mover"
(without the quotes) [Open Control Panel > Open User Accounts applet >
Create a new account > type "mover" without the quotes > Click on Next
Button > Choose Computer administrator > Click "Create Account" button.]
5.. Logout of Windows XP and use the "mover" account.
6.. Go to your current D&S folder (C:\Documents and Settings). You should
be able to see all the folders there, including the ones used by the system.
7.. Copy all the Folders inside C:\Documents and Settings to the new
location (D:\Documents and Settings). Notice that the LocalService,
NetworkService, and mover Folders cannot be copied because they are in use.
If this happens. Just delete the ones that have been created in the copy
process.
8.. Open RegEdit [Start > Run > regedit].
9.. Change all instances of C:\Documents and Settings to D:\Documents and
Settings. ***Make sure that you backup your registry first before changing
anything. Messing up with the Registry can be dangerous to your computer.***
10.. Change any entry which points to Documents and Settings to
D:\Documents and Settings\... including "\Device\HarddiskVolume1\Documents
and Settings\..." to "D:\Documents and Settings\...."
11.. Double check all the changes you have made before closing RegEdit.
12.. Do a cold boot of your computer. [Shutdown your computer and turning
it back on].
13.. Use the "mover" account again.
14.. Go through processes 8 until 11.
15.. Reboot your computer and use your original account.
16.. Your D&S setting should already be in drive D. Try renaming the
"Documents and Settings" folder in drive C to, let's say OLDD&S. If the
rename was successful, you have successfully moved your D&S folder from
drive C to drive D.
17.. Congratulations!
18.. Restore the settings of your Windows Explorer by reversing the
choices you made in step 3.
19.. Oh, and don't forget to remove the mover account you have created
before if everything is working fine now.
Easy, ain't it? Good luck!
Med venlig hilsen
Frede
frede-plesnerFJERN@mail.sonofon.dk
http://web.sonofon.dk/frede-plesner/