史萊姆論壇

史萊姆論壇 (http://forum.slime.com.tw/)
-   一般電腦疑難討論區 (http://forum.slime.com.tw/f17.html)
-   -   "我的文件"不見了 (http://forum.slime.com.tw/thread110570.html)

ooCatoo 2004-05-25 12:08 AM

"我的文件"不見了
 
大家好:

我使用WinXP,"我的文件"原本路徑為E:\document,一天,我把E:\document\. COPY 到 C:\Backup\,然後 format E:,再把 C:\Backup\. COPY 到 E:\document\,結果,"我的電腦"裡本來應該有的"我的文件"不見了,然後桌面上的"我的文件"按右鍵進去想更改路徑位置也不能改了(就是永遠只能是E:\document,不能改成別的路徑)。

請問我該怎麼讓"我的文件"重新出現在"我的電腦"裡,並且讓"我的文件"可以更改成其他路徑呢?

adulttw 2004-05-25 02:09 AM

特務大大提供的僅能供XP使用
若是9x/2000
請用底下這個
http://download.microsoft.com/downlo...US/Tweakui.exe

ooCatoo 2004-05-25 10:39 AM

感謝大大們∼

可是Tweakui還是沒辦法解決問題耶...

不過,我想到一個方法或許可以一試:

方法:
使用開機片開機,將該目錄名稱(E:\document)更名(rename),再重開機進入winXP,這時winXP的"我的文件"應該就會找不到該目錄,而有可能會要我重選。

但是這樣又出現另一個問題,我的磁碟格式是NTFS,硬碟是scsi的,手邊的開機片,不是認不到scsi,就是認到了,但是沒辦法像在dos模式下修改。:(

因此,我可能要再備份一次E:的資料,然後format,讓winXP的"我的文件"找不到該目錄,就可以替代上述方法了。只是,這樣要花比較長的時間在備份動作上...

謝謝大家喔∼

psac 2004-05-25 10:37 PM

因為這些在註冊表裡都是可擴充字串串值,都用了%USERPROFILE%這個系統變數,所以治本的方法就是用的方法,修改HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList項下相應的串值,改變對應的%USERPROFILE%變數的值。

做法:
1、新增一個自己的帳號,登入一次,退出。
2、已administrator登入,修改註冊表中關於自己帳號的那部分,見圖片
3、將Document and Setting 自己帳號目錄的東西移動到新位置
4、用自己的帳號登入,就可以了。

一直都是這麼做的
方法可行

但不是太徹底
比如我的帳號是「slime」
Q:
C:\Documents and Settings\slime\My Documents
這個目錄仍然在C碟,儘管這個目錄也在 Documents and Settings 目錄裡

但仍要通過其他方法轉移,有什麼方法一勞永逸?
A:
改註冊表的方法應該是包括My Document的。
除非你自己右鍵「我的文件」修改過路徑。
設定$USERPROFILE$,
另外,IE的臨時文件目錄也應該修改一下
還有微軟也提供安裝時將這個目錄允許重新定位..不過需要自己做光碟的說.!


Cannot Move or Rename the Documents and Settings Folder
適用於
This article was previously published under Q236621
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry

SYMPTOMS
If you try to move or rename the "Documents and Settings" folder in Windows, you receive the following error message:

"Documents and Settings is a Windows system folder and is required for Windows to run properly. It cannot be moved or renamed."
CAUSE
This behavior is by design.
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:
183245 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.


Restart the computer.
You can now safely remove the original "Documents and Settings" folder.
The information in this article applies to:
Microsoft Windows 2000 Server
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Professional
Microsoft Windows 2000 Datacenter Server


http://www.slime2.com.tw/forums/show...hreadid=110691

ooCatoo 2004-05-26 01:03 AM

感謝大大∼

上面的方法是要改變 C:\Documents and Settings 的位置,可是,目前我遇到的問題不是這個,不過,還是很感謝您!

在"我的文件"圖示按右鍵->內容,本來應該可以看到[移動]的按鈕,供使用者變更"我的文件"的路徑,可是,我的不見了...

最後,問題解決了,我把:群組原則 -> 使用者設定 -> 系統管理範本 -> Windows 元件 -> 桌面 裡的"禁止使用者變更[我的文件]路徑" 停用,現在在"我的文件"按右鍵,就可以變更路徑了!

BTW,上面 format HD 那一招無效∼ :Q

還有,"我的電腦"裡本來應該也會有一個"我的文件"的圖示,可是我的失蹤中...看看"群組原則"裡面可不可以把它找回來...

感謝大家∼


所有時間均為台北時間。現在的時間是 09:06 AM

Powered by vBulletin® 版本 3.6.8
版權所有 ©2000 - 2025, Jelsoft Enterprises Ltd.

『服務條款』

* 有問題不知道該怎麼解決嗎?請聯絡本站的系統管理員 *


SEO by vBSEO 3.6.1