发现一篇不错的文章,转过来大家看看
修改XP的用户配置文件目录(USERPROFILE)
XP缺省的用户配置文件目录是C:/Documents And Settings/<user>,下面一般放特定用户的各种配置文件,比如Internet临时文件,cookie文件,等等。
但是由于C盘一般不大,所以当此文件夹大小增长时,就会耗尽C盘空间;没办法,只好寻找一种可以挪动该文件夹得方法,按如下步骤可以做。
修改注册表的ProfileImagePath值
首先必须找到该用户的SID,进入下列键值:
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/ProfileList/
一般而言,SID像以下形式:
S-1-5-21-1904620462-2100430276-3594733784-1009
找到和该用户match的SID,修改该SID下的ProfileImagePath为新的USERPROFILE路径
修改USER SHELL FOLDERS和SHELL FOLDERS
HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/User Shell Folders
HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/Shell Folders
你会发现在上述两项key下面,有各种键,比如Local Settings,APP Data之类的,修改这些键的值指向新的USERPROFILE
重新以该用户登入即可。
运行Set|grep USERPROFILE验证USERPROFILE确实被修改了
win7的修改方法
http://www.windows7home.net/how-to-move-user-data-folder-to-non-system-partition-in-windows-7vista/
As you know,windows 7/vista put all system data and user data on the same partition,normally it’s drive C.Under this condition we must backup our user data every time we re-install our windows 7/vista.From windows vista ,Microsoft supply us a tool mklink which can create a symbolic link under windows 7 or vista just as the command ln under unix/linux.Below is an example about how to put user data on non-system using mklink in windows 7.
1.Enable administrator account and set a password for it.You can refer How to enable or disable administrator account in windows 7
2.Logoff and login with administrator account
3.Relocate your user data to other non-system partion,for example from C:/users/J to D:/users/J
4.Use mklink to create a symbolic link from C:/users/J to D:/users/J
mklink /D C:/Users/J D:/users/J
5.Re-login use your own account,you will find nothing changed,but in fact your physical user data is on drive D.
6.Done.The next time you re-install your OS ,just use the same user name, remove C:/users/J then run the command of step 3 again then your user data is back.
win7的更加简单的方法:右键拖拽法(释放后选择“移动….”) 这个方法我已经验证过了,觉得最方便。建议在装完操作系统和建立用户后立即这样操作,以免有些程序没有按照规范编程而造成先前安装的程序无法使用了。xp是否也适合用这个方法,我就不知道了。
http://blogs.zdnet.com/Bott/?p=215
分享到:
相关推荐
使用Profwiz转移用户配置文件(Domain Migration User Profile Wizard 3.7 Personal Edition User Guide)
userprofileservice服务未能登陆,无法加载用户配置文件.pdf
可以将系统盘\Documents and Settings\User 下的文件永久定位到其它非系统盘的一款软件。
最新的Profwiz转移用户配置文件工具,Profwiz3.6方便快捷从此不再为加域用户文件迁移犯愁,适合大、中、小单位AD域部署推广。
User Profile Hive Cleanup 服务可帮助确保在用户注销时彻底终止用户会话。系统进程和应用程序有时候会在用户注销后维持与用户配置文件中的注册表项的连接。在这些情况下,用户会话无法彻底结束。这可能导致在下列...
XP用户配置文件管理工具 v1.0 在病毒泛滥,恶意软件横行的今天,采用硬盘保护卡或ghost保护自己的系统分区,已成为大多数采用的理想方案,然尔采用上述方法进行系统保护时,美中不足的是用户的配置文件往往也被...
10,在AD中修改用户属性--配置文件中的路径,填上文件夹的绝对路径而不是本地路径。 如果设置隐藏共享就要带$符号才能访问。 二:客户端登录: 11,在客户端用USER1帐号登录域。 12,可以...
用户(user)和用户组(group)相关的配置文件、命令或目录
如题,用户(User)和用户组(Group)配置文件详解.pdf
在弹出的“新工具栏—选择文件夹选项”对话框中,在文件夹路径输入对应快捷任务栏文件夹%userprofile%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch比较繁琐的路径,建议大家直接粘贴过去。...
user-home - 得到用户的主目录的路径
windir%_%userprofile%_XP下类似的变量的说明
通过rest服务在js中获取任意用户的userprofile信息
用户配置文件微服务已在Eureka Server中注册,因此其他服务可以在没有主机名和端口号的情况下在云上发现它 #CRUD操作 添加用户 {“ id”:4,“ userName”:“ panp”,“ password”:“ password”,“ ...
虚拟化常用的技术配置文档.user profile File配置详细的操作。结合思杰的虚拟桌面
找到conf/nginx.conf修改配置文件 #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_...
该配置文件可以直接放置到目录下,使用docker-compose up -d启动使用。 其中server_id=XX不能重复 在master中执行: grant replication slave,replication client on *.* to 'user1'@'%' identified by '1'; ...
0day 提权软件 支持2K/2K3/xp/win7 32 等 用法 : 使用cmd 打开 该软件 ,然后输入0day1.exe 会显示具体用法 增加个用户例如:0day1.exe net "user 123 123 /add
INTERVAL=60 5 存储追踪和告警文件的路径 user_dump_dest 指定记录 Oracle 用户进程产生的追踪和告警信息的文件的 存放路径 background_dump_dest 指定记录 Oracle 后台进程产生的追踪和 告警信息的...
关于UserProFile的操作,还在整理中......