更改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.
相关文章
- 我在win7系统下通过MyEclipse连接数据库,用用户sa的sql认证可以连接,但用windows nt认证则失败
- Windows性能查看器:系统的性能信息(I/O,IIS最大连接数,Sql) ,以及解决 asp.net IIS 一二百多用户并发
- linux和windows双系统,如何在windows中更改默认启动的操作系统
- Ubuntu Windows双系统更改启动项顺序
- windows 7 系统下,用户每次登录都是以临时配置文件的形式存在于users文件夹下
- Python实现自动更改系统用户密码,生成随机密码
- Windows2003 SQL2005添加系统用户修改系统登录密码
- Python实现在Linux系统下更改当前进程运行用户
- Win10系统电脑用户名要如何修改?Win10系统更改电脑用户名方法
- 硬件更改不用怕,这样重新激活Windows 10,仍然使用正版操作系统