`
tonynju
  • 浏览: 75466 次
  • 性别: Icon_minigender_1
  • 来自: 浙江嘉善
社区版块
存档分类
最新评论

更改C:\Documents and Settings中的用户档案目录

阅读更多
更改Windows系统用户档案目录:

在Windows XP中,该目录信息存储在注册表中
注册表项是:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ProfilesDirectory(在修改注册表之前请做好备份)
你需要修改更根目录的ProfilesDirectory项,以及对应于各个用户的子节点S-1-5-xxxxxxxxxxxxxxxxxx中的相应项

不要忘了复制先前的用户文档文件夹到新的目录,包括Default User\ 和 All Users\,NetworkService\ 和 LocalService\目录中的文件可以跳过。在移动一个用户的档案文件是,你需要登录到另一个用户

转移Windows系统用户档案目录到新的文件夹的正常顺序如下:
1.新建新的用户档案目录
2.修改注册表,如上所述
3.如果当前用户是User1,复制非当前用户的档案文件到新目录
4.使用另一个账户登录,复制User1的档案文件到新目录
5.重启计算机,使用User1登录


原文:

Changing the location of your Windows user profiles directory

In Windows XP, the location is stored under

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ProfilesDirectory

You should change it there as well as in the S-1-5-xxxxxxxxxxxxxxxxxx nodes under it, corresponding to the different users on the system.

Don't forget to copy the files in the former user profiles directory over to the new one, including those for Default User\ and All Users\,
but you may skip the NetworkService\ and LocalService\ directories. You should also login as a different user from the account whose contents you are transferring.

The proper order for switching over to the new directory is:

   1. Create the new user profiles directory.
   2. Edit the registry as outlined above.
   3. Reboot for the registry changes to take effect.
   4. Log-in as the users for which you want to change the profile directory to. (this is needed so that Windows will recreate the user profile files and directory correctly)
   5. Reboot again, then log-in as a different user (e.g. Administrator) from the one whose files you wish to copy over to the new user profiles directory.
   6. Copy all the files in the old profiles directory for the user to the newly created one.

分享到:
评论

相关推荐

    C:\Documents and Settings\Administrator\桌

    - **Documents and Settings:**:这是一个旧版本Windows(如Windows XP)中的用户文件夹路径,用于存储用户的个人文件、设置和应用数据。在较新的Windows版本(如Windows Vista及以后的版本)中,此文件夹已被...

    Documents and Settings\Administrator

    标题“Documents and Settings\Administrator”指的是Windows操作系统中的一个默认用户配置文件夹,通常在系统分区(通常是C盘)下可以找到。这个文件夹是为管理员级别的用户账户存储个人设置、文档和其他用户数据的...

    win7旗舰版打开“C-Documents and Settings”.docx

    在Windows 7旗舰版操作系统中,"C:Documents and Settings"目录是一个特殊的位置,它在Windows XP和更早版本中是用户配置文件的默认存储位置。然而,在Windows 7中,用户配置文件已经被转移到新的位置"C:\Users"。...

    c盘中可以删除的文件.docx

    `Documents and Settings`目录包含了每个用户的个人设置和数据。以下是可以考虑删除的部分: 1. `C:Documents and SettingsAll UsersApplication DataMicrosoftUser Account PicturesDefault Pictures` - 这个目录...

    win7 documents and settings文件夹怎么解锁访问.docx

    - 找到"C:\Users"目录下的"Default"文件夹,这是Windows 7中"Documents and Settings"的替代位置。如果你需要访问旧的"Documents and Settings",可能需要在C盘的其他位置寻找。 - 右键点击"Default"或原来的...

    Windows 系统文件重定向工具

    AppData 应用程序数据目录 C:\Documents and Settings\User name\Application Data Cookies Cookies路径 C:\Documents and Settings\User name\Cookies Desktop 桌面路径 C:\Documents and Settings\User name\...

    修改GHOST文件做自己的系统

    6. 修改桌面壁纸:添加Bliss.bmp或Wallpaper1.bmp文件到C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft目录下。 7. 添加桌面壁纸:在windows\web\Wallpaper1文件夹下添加壁纸...

    outlook2007打开个别excel附件出现:无法建立档案,请在要建立档案的资料夹上单击右键,先择属性,查看您对这个资料夹的权限

    该文件夹位于 `c:\Documents and Settings\%USER_NANE%\local settings\Temporary Internet Files`,其中 `%USER_NANE%` 是当前用户的用户名。 2. OLK# 文件夹:OLK# 文件夹是 Outlook 2007 用于保存和打开附件的...

    DB2数据库备份及恢复详解.doc

    C:\Documents and Settings\Administrator>db2 connect to ncc user nccwykpi using nccwykpi 2. 显示数据库应用状态 使用 db2 list applications 命令显示数据库应用状态,例如: C:\Documents and Settings\...

    CATIA制图国标设置.doc

    3. 于 C:\Documents and Settings\All Users\Application Data\DassaultSystemes\ReferenceSettingPath 目录下建立 B14 的数据夹,用于储存 CATIA V5 管理者的共享设定。 四、CATIA 设置文件路径设置 需要设置 ...

    maya 插件安装教程

    - `C:\Documents and Settings\\My Documents\maya\7.0\scripts` 2. **货架脚本文件**(`shelf_插件名.mel`) - **定义**:这些文件包含了定制的货架按钮命令,可以快速调用特定的功能。 - **安装路径**: - `C...

    自定义cmd命令,打造自己的个性命令 .txt

    C:\Documents and Settings\Administrator>doskey xiaohei=echo Bad Command or FileName C:\Documents and Settings\Administrator>xiaohei ``` 5. **恢复`dir`命令**: ```cmd C:\Documents and Settings\...

    Win7系统中的环境变量PATH怎么修改.docx

    - `%ALLAPPDATA%`:表示`C:\Documents and Settings\All Users\Application Data`。 - `%ALLUSERSPROFILE%`:表示`C:\Documents and Settings\All Users`。 - `%APPDATA%`:表示`C:\Documents and Settings\[当前...

    delphi 与文件路径相关的字符串操作

    ss := 'C:\DocumentsandSettings\wy\MyDocuments\RAD Studio\Projects\Project1.exe'; s := ExtractFilePath(ss); // 返回 "C:\DocumentsandSettings\wy\MyDocuments\RAD Studio\Projects\" ``` 2. **`...

    flashGameMaster2.9.zip

    C:\Documents and Settings\Administrator\Application Data\Macromedia\Flash Player\#SharedObjects\随机数\小游戏网站\ (网上玩的) C:\Documents and Settings\Administrator\Application Data\Macromedia\...

    soft\内网用户加入域的方法

    - 恢复收藏夹:从“C:\Documents and Settings\单机用户名\收藏夹”复制到“C:\Documents and Settings\域用户名\收藏夹”。 - 恢复快速启动栏:需要手动配置,通过右键点击“开始”菜单,选择属性,然后调整快速...

    gdal安装与工程配置

    - 在VC项目中新增链接`include`和`lib`路径,并将`C:\Documents and Settings\Administrator\gdal`目录下的`gdal14.dll`等文件复制到项目的debug目录下。 8. **头文件集成**: - 将`gdal_priv.h`头文件加入到您的...

    怎么把桌面移到D盘

    1. 在D盘根目录下创建一个名为"Documents and Settings"的文件夹,这是Windows XP系统中用户配置文件的默认位置。请注意,如果你使用的是Windows Vista或更高版本,这个路径可能会有所不同。 2. 在"Documents and ...

Global site tag (gtag.js) - Google Analytics