robocopy "C:\Program Files (x86)" "E:\Program Files (x86)" /E /COPYALL /XJrmdir "C:\Program Files (x86)" /S /Q
kopiert Programme auf E: (vom Stick aus gesehen, von Windows aus ist das D:)
robocopy "C:\Program Files" "E:\Program Files" /E /COPYALL /XJdann noch ProgramData
rmdir "C:\Program Files" /S /Q
mklink /J "C:\Program Files" "D:\Program Files"
robocopy "C:\ProgramData" "F:\ProgramData" /E /COPYALL /XJ
rmdir "C:\ProgramData" /S /Q
mklink /J "C:\ProgramData" "E:\ProgramData"
und User (--> auf Platte E:)robocopy "C:\Users" "F:\Users" /E /COPYALL /XJ
rmdir "C:\users" /S /Q
mklink /J "C:\Users" "E:\Users"3) Pfade in der Registry anpassen
Windows booten, regedit starten und folgende Pfade anpassen:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
CommonFilesDir D:\Program Files\Common Files
CommonFilesDir (x86) D:\Program Files (x86)\Common Files
CommonW6432Dir D:\Program Files\Common Files
ProgramFilesDir D:\Program Files
ProgramFilesDir (x86) D:\Program Files (x86)
ProgramW6432Dir D:\Program Files
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Default e:\Users\Default
ProfilesDirectory e:\Users
ProgramData d:\ProgramData
Public e:\Users\Public
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
Common Desktop E:\Users\Public\Desktop
Common Start Menu D:\ProgramData\Microsoft\Windows\Start Menu
CommonVideo E:\Users\Public\Videos
CommonPictures E:\Users\Public\Pictures
Common Programs D:\ProgramData\Microsoft\Windows\Start Menu\Programs
CommonMusic E:\Users\Public\Music
Common Administrative Tools D:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
Common Startup D:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
Common Documents E:\Users\Public\Documents
OEM Links D:\ProgramData\OEM Links
Common Templates D:\ProgramData\Microsoft\Windows\Templates
Common AppData D:\ProgramData
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\Shell Folders
Common Desktop E:\Users\Public\Desktop
Common Start Menu D:\ProgramData\Microsoft\Windows\Start Menu
CommonVideo E:\Users\Public\Videos
CommonPictures E:\Users\Public\Pictures
Common Programs D:\ProgramData\Microsoft\Windows\Start Menu\Programs
CommonMusic E:\Users\Public\Music
Common Administrative Tools D:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
Common Startup D:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
Common Documents E:\Users\Public\Documents
OEM Links D:\ProgramData\OEM Links
Common Templates D:\ProgramData\Microsoft\Windows\Templates
Common AppData D:\ProgramData
Personal E:\Users\MH_64\Documents\
Zum Schluß noch unter folgendem Schlüssel alle Pfade mit 'c:\Users\' anpassen
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
*) Mit Windows 7 hab ich es erfolgreich ausprobiert, vieles spricht dafür, daß es mit anderen Windows-Versionen auch funktioniert.
| E-Mail an den Autor | Homepage |