如何將 Documents and Settings完整移到另依個磁碟機





Niise
2002-09-01, 05:01 PM
有個問題請教一下..

將Documents and Settings 移動到D:\下之後
要如何讓系統知道我的Documents and Settings已經移動了呢?
謝謝

ps希望所有使用者皆會變動到新的位置




Schnaufer
2002-09-01, 05:06 PM
  Cannot Move or Rename the Documents and Settings Folder (Q236621) (http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q236621)

Niise
2002-09-02, 09:59 AM
最初由 Schnaufer 發表
  Cannot Move or Rename the Documents and Settings Folder (Q236621) (http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q236621)

雖然她不建議移動
但還是可以藉由登錄修改呢
來試試看好了


RESOLUTION
To specify a different folder for the "Documents and Settings" folder during installation, follow these steps:
Use the /UNATTEND switch with Winnt.exe or Winnt32.exe and insert the following entry into the Unattend.txt file, where z:\foldername is the path and folder name you want:
[GuiUNattended]
ProfilesDir = z:\foldername
Install Windows. The path you included in the Unattend.txt file is used instead of the default "Documents and Settings" folder.
For additional information about unattended setup of Windows 2000, click the article number below to view the article in the Microsoft Knowledge Base:
Q183245 Windows 2000 Unattended Setup Parameters
MORE INFORMATION
NOTE: The following section provides information about a configuration that Microsoft does not support. We provide this information for informational purposes only; Microsoft makes no guarantee that this configuration functions properly.

WARNING: Microsoft strongly recommends against renaming any system folder. Catastrophic system failure or an unstable computer could result if you rename system folders. If implemented, a backup should be made of the system before attempting this procedure.

To rename or move the "Documents and Settings" folder, use the appropriate method.
User-specific
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

NOTE: This method does not relocate key Windows components. Use this method if you require only user-specific data to be moved.

To specify a different folder for the "Documents and Settings" folder after you install Windows for a particular user, follow these steps:
Identify the user's profile path. There are two methods to identify the profile path. Either by user path settings or user SID. The user SID method is preferred.
User SID method
Use the GETSID tool from the Windows Server Resource Kit to obtain the SID. Use syntax similar to the following example:
GETSID \\SERVER1 UserName \\SERVER1 UserName
Once you obtain the SID, use Regedit.exe or Regedt32.exe to select the user's SID under the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
User path setting
Log on to the computer as the user, and then type SET at a command prompt. Note the setting for USERPROFILE, and then close the command prompt window.
Log on as an administrator of the computer.
Use Registry Editor to add the USERPROFILE setting to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Click the registry key, and then click Find on the Edit menu.
In the Find box, type the value of the USERPROFILE setting, and then click Find Next.
Change the ProfileImagePath value to use the new path you want in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList registry key.
Close Registry Editor, and then log on as the user. Type SET at the command prompt to verify the path has changed.
Entire Folder
NOTE: This method relocates key Windows components. Use this method only if you require the "Documents and Settings" folder to be moved or renamed and you cannot use the Unattend.txt file to change the name during installation.

To specify a different folder for the entire "Documents and Settings" folder, including key system components, follow these steps:
Log on to the computer as an administrator.
Create a new folder.
Open the current "Documents and Settings" folder.
On the Tools menu, click Folder Options, and then click the View tab.
Under Advanced settings click Show hidden files and folders, and then click to clear the Hide file extensions for known file types and Hide protected operating system files check boxes.
Click OK.
Click and drag to copy all the folders to the new folder, except for the currently logged on users folder.
In Control Panel, double-click System, and then click the User Profiles tab.
Copy the current user's profile to the new folder.
Click OK, close Control Panel, and then log off and log on to the computer as an administrator again.
In Registry Editor, click Find on the Edit menu.
Type documents and settings, and then click Find.
Replace the value data or rename the value or registry key to the new path for each and every registry key and value that contains the original path. NOTE: You must complete this change for every instance in the registry or your computer may not start. It is imperative that you update all registry keys and values with the new path.

ericshei
2003-04-20, 09:44 PM
看起來好像只能一個一個user條改,而不能把"Documents and Settings"整個指到別的地方,是不是這樣呀!!呵....在下的英文不大行.. ^^

Bratte
2003-04-21, 11:18 AM
其實一些 Tweak 的工具程式都可以有變通的方式可以用
例如 (共享軟體) system mechanic 3.7h http://www.iolo.com/
以下是它的修改方式
Customize Windows Settings > Systwm > Windows Paths
由這裡可以指定(改變)一大堆作業系統預設目錄的路徑

Niise
2003-04-29, 08:55 PM
最初由 Bratte 發表
其實一些 Tweak 的工具程式都可以有變通的方式可以用
例如 (共享軟體) system mechanic 3.7h http://www.iolo.com/
以下是它的修改方式
Customize Windows Settings > Systwm > Windows Paths
由這裡可以指定(改變)一大堆作業系統預設目錄的路徑

這方法已經有中文知識庫可以看了
我已經可以正確的在安裝時指定了
謝謝指教

purk
2004-03-11, 09:43 PM
最初由 Niise 發表
這方法已經有中文知識庫可以看了
我已經可以正確的在安裝時指定了
謝謝指教 可以提供一下 這篇中文知識庫的連結嗎
thx

ycl
2004-03-11, 10:27 PM
http://support.microsoft.com/default.aspx?scid=kb;zh-tw;256986