`
tonynju
  • 浏览: 74381 次
  • 性别: 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.

分享到:
评论

相关推荐

    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\...

    桌面云处理桌面图标不一致问题

    3) 进入“C:\Documents and Settings\Administrator”,复制NTUSER.DAT、ntuser.ini到“C:\Documents and Settings\Default User” 。 4) 将“Administrator”用户下收藏夹和桌面的内容复制到“Default User”对应...

    flashGameMaster2.9.zip

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

    五子棋 源码

    c:\documents and settings\kjl801\桌面\vc.net 五子棋源码\dib.cpp(537) : warning C4244: '=' : conversion from 'ULONGLONG' to 'DWORD', possible loss of data BestDlg.cpp AboutDlg.cpp Generating Code... ...

    星外提权工具

    C:\Documents and Settings\All Users\Application Data\Microsoft\Media Index\ C:\php\PEAR\ C:\Program Files\Zend\ZendOptimizer-3.3.0\ C:\Program Files\Common Files\有的杀毒 防火墙目录有权限 C:\7i24....

    高效文件搜索(SearchMyFiles) v2.90 中文绿色版.rar

    例如:如果你要扫描整个C盘驱动器,但不要搜索C:\ Windows和C:\Documents and Settings,您应该输入C:\在基本文件夹,C:\Windows;C:\Documents and Settings在设置排除的文件夹。 文件通配符:指定扫描的文件...

    myeclipse svn 修改用户名和密码

    解决方案: ...C:"Documents and Settings"[YourUserName]"Application Data"Subversion" 3. 如果你用的SVNKit, 找到以下目录并删除.keyring文件. [eclipse]"configuration"org.eclipse.core.runtime

    delphi2010 完美破解

    安装好后,将“rs2010arch.slip”WinXP复制到“C:\Documents and Settings\All Users\Application Data\Embarcadero”下(根据安装时的用户目录可能不同),WinVista或Win7复制到“C:\ProgramData\Embarcadero”下...

    Delphi2010完美破解包_3615

    安装好后,将“rs2010arch.slip”WinXP复制到“C:\Documents and Settings\All Users\Application Data\Embarcadero”下(根据安装时的用户目录可能不同),WinVista或Win7复制到“C:\ProgramData\Embarcadero”下...

    simplified1927298252005.zip

    在主机上设置路径,包括文件名(例如C:\ Documents and Settings \ User \ My Documents \ Bluetooth Recieved \ new.txt),然后单击表单上的“刷新文件路径”按钮。 将txt文件从蓝牙设备发送到主机组件,并观察...

    fujflashck.zip

    富士通修改bios,如加入slic证书等,用官方工具刷机是会报错的,必须要校验和 。 开 dos 输入 fujflashck bios_data.rom ...形式如下:C:\Documents and Settings\xxxx\Local Settings\Temp\FlashAid40.tmp

    Boson NetSim7.02绝对可用破解版part1(有两部分分开发)

    之後Internet Explorer,打以下地址C:\Documents and Settings\All Users\Application Data\Boson Software\Boson NetSim for CCNP 7.0(如果你的系统盘是其他盘,就把C相应的修改过来) 替换附件mscon43demo.dll,注意:...

    Boson NetSim7.02绝对可用破解版.part2(有两部分分开发的)

    之後Internet Explorer,打以下地址C:\Documents and Settings\All Users\Application Data\Boson Software\Boson NetSim for CCNP 7.0(如果你的系统盘是其他盘,就把C相应的修改过来) 替换附件mscon43demo.dll,注意:...

    ROS2.9.27汉化包--秋风整理

    C:\Documents and Settings\Administrator(根据个人使用的当前用户名修改)\Application Data\Mikrotik\Winbox winbox是读取的本机从ROS下载来后的dll文件在操作系统中的缓存。这样可以说 是绿色版本,不会破坏原有...

    [Maya骨骼插件].AdvancedSkeleton_v3.1.For.Autodesk.Maya.ByB.G

    运行SETUP文件(Setup.exe)选择目标文件夹注意:目标文件夹必须是您的Maya用户目录例如:C:\ Documents and Settings \用户名\ My Documents \maya\ 2008 \完成安装。运行Maya.现在,你会发现一个新的工具栏'...

    Navicat数据存放位置和备份数据库路径设置

     对 于已经安装完毕的用户而言,请打开MySQL安装目录中的“my.ini”文件,使用查找功能,输入“datadir”进行定位,你会看到默认的数据存放 位置通常是:“系统盘:Documents and SettingsAll UsersApplication ...

    谷歌浏览器美化版 SVN 2475 (2008.9.23)

    系统的目录(C:\Documents and Settings\Administrator\Local Settings\Application Data) 建立一个名称为chrome或chromium的文件夹(用来存放缓冲文件和用户的配置文件); 现在此文件夹里的内容已经移动到了...

    netterm 5.4中文免注册版 支持win7 打印机兼容性强

    如果不是中文的 在C:\Documents and Settings\Administrator\Application Data\InterSoft Common修改netterm.ini 中将 LANGUAGE=ENGLISH修改成LANGUAGE=SCHINESE

    Zend Studio 无法启动的问题解决方法

    于是乎,我就把Zend Studio 再安装一次覆盖... 解决办法: 更改C:\Documents and Settings\User\ZDE\config_x.x 的目录名称为 C:\Documents and Settings\User\ZDE\config_x.x-old 再重新设定及注册一下 zend 的注册码

    windows XP 系统关闭445端口方法

    C:\Documents and Settings\Administrator>netstat -a -n Active Connections Proto Local Address Foreign Address State TCP 0.0.0.0:135 0.0.0.0:0 LISTENING UDP 0.0.0.0:1026 *:* UDP 0.0.0.0:1037 *:* ...

Global site tag (gtag.js) - Google Analytics