对于Windows用户来讲,当下最流行的还是win7操系、以后的趋势肯定是win10,只是时间的考验
相信大家在用windows系统的时,一直有个问题在困扰大家包括我
就是刚装的sys,无论是98、Me、2K、03、xp、Vista、W2008、W7、W8、W10还是各种WinServer 刚装完的时候特别好用(犹如边疆的泉水清又纯),但用不了多久,就会出现开机启动慢、起来后更慢
相信各位PC操控者最头疼的问题莫过于此,只要中标、被强制流氓soft、系统未优化、不管你的配置有多高,CPu有多少核,都白搭,你只有两眼发痴目光呆滞的看着PC,想砸又无能为力,不砸又难解心头之恨-------ok~今天就分享一个更改目录的办法!进入正文
每个sys都有AppData,一般的用户名都是Administrator,默认状态下,开机进Win桌面后,所有启动的或run中的缓存、临时Temp、各种software、所产生的appdata都在User的文件夹下
我以Win7为例(Win10也是一样的目录)
从你的Windows登录进去后,所有运行的software产生的数据、漫游、非漫游、每个soft对应产生的目录都被写到里面,下面这个图红色圆圈默认情况下是 C:\user\Aministrator
我这里是是已经修改好的,Appdata意思就是应用程序数据,它里面有三个子文件夹 local,locallow和roaming
以上这些说的是因为这些东西在作祟,但你还不能删了它们,1是你删不掉,2是删了也会在新建,我的观点就是,不惹你,不杀你我把你请到鸟不生蛋的地方
除了这里面的三个外 红字文件夹 里面的东西随便删
C:\Users\用户名\AppData\Local\Temp 里面临时文件
C:\Users\用户名\AppData\Local\Microsoft\Windows\Temporary Internet Files IE缓存文件(默认隐藏)
C:\Users\用户名\AppData\Local\Microsoft\Windows\History 浏览器历史记录(默认隐藏)
PC用久了,C的空间越来越小,系统也越来越卡主要就是因为用户的AppData目录越来越大,东西越来越多(另外还有win的temp和ie的缓存,不懂的找度娘吧)
C盘在我的脑海里就是纯Sys,能不装东西就不装东西(也可能我对这块比较洁癖)
移动步骤
先装个PE,进PE后,手动复制C:\Users\用户名\ 到E:\ (记住是整个用户名文件夹整体复制,E:\随便你写D\E\F 只要离开c就ok。不要看网上的帖子移动AppData文件夹,治标不治本)
进册表 找到 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
修改 Shell Folders 和User Shell Folders 下面的值就是我们要修改的内容,你看到的就是我已经修改好的
User Shell Folders 右边红色方框的值 %USERPROFILE% 难点
我们与其一个一个的改 %USERPROFILE% 不如直接改它的源头
找到 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
把Profilelist 下的最长的两个目录里的值 这是我改好的,你们的应该是C:\user\administrator
这里记录了系统中所有帐户的配置文件路径,分别在各个用户所对应的SID项之下,其中的“ProfileImagePath”
字符串值就是%USERPROFILE%的值了------千万注意,这里你改了之后就不用一个一个的去改了
改完之后,重启一下,进系统后先把C:\user\administrator\AppData目录删除,如果能,直接把administrator目录给删了就行了
大功告成!!
这样改完之后吗,只要你的电脑不中毒,空间充足,你老了,它也一直很年轻
顺便将三个注册表打包了,下面的代码你不想吐的话就不要看。直接复制我的就可以,把路径改成自己的就OK
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders] "AppData"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00, 4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52, 00,6f,00,61,00,6d,00,69,00,6e,00,67,00,00,00 "Cache"=hex(2):45,00,3a,00,5c,00,54,00,65,00,6d,00,70,00,5c,00,49,00,6e,00,74, 00,65,00,72,00,6e,00,65,00,74,00,20,00,34,4e,f6,65,87,65,f6,4e,00,00 "Cookies"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00, 4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52, 00,6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,00, 73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c, 00,43,00,6f,00,6f,00,6b,00,69,00,65,00,73,00,00,00 "Desktop"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00, 4c,00,45,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,00,00 "Favorites"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00, 4c,00,45,00,25,00,5c,00,46,00,61,00,76,00,6f,00,72,00,69,00,74,00,65,00,73, 00,00,00 "History"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00, 4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,4c, 00,6f,00,63,00,61,00,6c,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00, 66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,00,48,00,69, 00,73,00,74,00,6f,00,72,00,79,00,00,00 "Local AppData"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00, 49,00,4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c, 00,4c,00,6f,00,63,00,61,00,6c,00,00,00 "My Music"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00, 4c,00,45,00,25,00,5c,00,4d,00,75,00,73,00,69,00,63,00,00,00 "My Pictures"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49, 00,4c,00,45,00,25,00,5c,00,50,00,69,00,63,00,74,00,75,00,72,00,65,00,73,00, 00,00 "My Video"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00, 4c,00,45,00,25,00,5c,00,56,00,69,00,64,00,65,00,6f,00,73,00,00,00 "NetHood"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00, 4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52, 00,6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,00, 73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c, 00,4e,00,65,00,74,00,77,00,6f,00,72,00,6b,00,20,00,53,00,68,00,6f,00,72,00, 74,00,63,00,75,00,74,00,73,00,00,00 "Personal"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00, 4c,00,45,00,25,00,5c,00,44,00,6f,00,63,00,75,00,6d,00,65,00,6e,00,74,00,73, 00,00,00 "Programs"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00, 4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52, 00,6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,00, 73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c, 00,53,00,74,00,61,00,72,00,74,00,20,00,4d,00,65,00,6e,00,75,00,5c,00,50,00, 72,00,6f,00,67,00,72,00,61,00,6d,00,73,00,00,00 "Recent"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c, 00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52,00, 6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,73, 00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,00, 52,00,65,00,63,00,65,00,6e,00,74,00,00,00 "SendTo"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c, 00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52,00, 6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,73, 00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,00, 53,00,65,00,6e,00,64,00,54,00,6f,00,00,00 "Startup"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00, 4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52, 00,6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,00, 73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c, 00,53,00,74,00,61,00,72,00,74,00,20,00,4d,00,65,00,6e,00,75,00,5c,00,50,00, 72,00,6f,00,67,00,72,00,61,00,6d,00,73,00,5c,00,53,00,74,00,61,00,72,00,74, 00,75,00,70,00,00,00 "Start Menu"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49, 00,4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00, 52,00,6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f, 00,73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00, 5c,00,53,00,74,00,61,00,72,00,74,00,20,00,4d,00,65,00,6e,00,75,00,00,00 "Templates"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00, 4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52, 00,6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,00, 73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c, 00,54,00,65,00,6d,00,70,00,6c,00,61,00,74,00,65,00,73,00,00,00 "{374DE290-123F-4565-9164-39C4925E467B}"=hex(2):25,00,55,00,53,00,45,00,52,00, 50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,44,00,6f,00,77,00,6e, 00,6c,00,6f,00,61,00,64,00,73,00,00,00 "PrintHood"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00, 4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52, 00,6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,00, 73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c, 00,50,00,72,00,69,00,6e,00,74,00,65,00,72,00,20,00,53,00,68,00,6f,00,72,00, 74,00,63,00,75,00,74,00,73,00,00,00 Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders] "!Do not use this registry key"="Use the SHGetFolderPath or SHGetKnownFolderPath function instead" "AppData"="E:\\administrator\\AppData\\Roaming" "Local AppData"="E:\\administrator\\AppData\\Local" "My Video"="E:\\administrator\\Videos" "{1B3EA5DC-B587-4786-B4EF-BD1DC332AEAE}"="E:\\administrator\\AppData\\Roaming\\Microsoft\\Windows\\Libraries" "My Pictures"="E:\\administrator\\Pictures" "Desktop"="E:\\administrator\\Desktop" "History"="E:\\administrator\\AppData\\Local\\Microsoft\\Windows\\History" "NetHood"="E:\\administrator\\AppData\\Roaming\\Microsoft\\Windows\\Network Shortcuts" "{56784854-C6CB-462B-8169-88E350ACB882}"="E:\\administrator\\Contacts" "Cookies"="E:\\administrator\\AppData\\Roaming\\Microsoft\\Windows\\Cookies" "Favorites"="E:\\administrator\\Favorites" "SendTo"="E:\\administrator\\AppData\\Roaming\\Microsoft\\Windows\\SendTo" "Start Menu"="E:\\administrator\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu" "My Music"="E:\\administrator\\Music" "Programs"="E:\\administrator\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs" "Recent"="E:\\administrator\\AppData\\Roaming\\Microsoft\\Windows\\Recent" "CD Burning"="E:\\administrator\\AppData\\Local\\Microsoft\\Windows\\Burn\\Burn" "PrintHood"="E:\\administrator\\AppData\\Roaming\\Microsoft\\Windows\\Printer Shortcuts" "{7D1D3A04-DEBB-4115-95CF-2F29DA2920DA}"="E:\\administrator\\Searches" "{374DE290-123F-4565-9164-39C4925E467B}"="E:\\administrator\\Downloads" "{A520A1A4-1780-4FF6-BD18-167343C5AF16}"="E:\\administrator\\AppData\\LocalLow" "Startup"="E:\\administrator\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup" "Administrative Tools"="E:\\administrator\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Administrative Tools" "Personal"="E:\\administrator\\Documents" "{BFB9D5E0-C6A9-404C-B2B2-AE6DB6AF4968}"="E:\\administrator\\Links" "Cache"="E:\\Temp\\Internet 临时文件" "Templates"="E:\\administrator\\AppData\\Roaming\\Microsoft\\Windows\\Templates" "{4C5C32FF-BB9D-43B0-B5B4-2D72E54EAAA4}"="E:\\administrator\\Saved Games" "Fonts"="C:\\Windows\\Fonts" "administrator Video"="E:\\administrator\\Videos" "administrator Pictures"="E:\\administrator\\Pictures" "administrator Music"="E:\\administrator\\Music" Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList] "ProfilesDirectory"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72, 00,69,00,76,00,65,00,25,00,5c,00,55,00,73,00,65,00,72,00,73,00,00,00 "Default"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00, 76,00,65,00,25,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,44,00,65,00,66, 00,61,00,75,00,6c,00,74,00,00,00 "Public"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76, 00,65,00,25,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,50,00,75,00,62,00, 6c,00,69,00,63,00,00,00 "ProgramData"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69, 00,76,00,65,00,25,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,44,00, 61,00,74,00,61,00,00,00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-18] "Flags"=dword:0000000c "State"=dword:00000000 "RefCount"=dword:00000001 "Sid"=hex:01,01,00,00,00,00,00,05,12,00,00,00 "ProfileImagePath"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f, 00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00, 5c,00,63,00,6f,00,6e,00,66,00,69,00,67,00,5c,00,73,00,79,00,73,00,74,00,65, 00,6d,00,70,00,72,00,6f,00,66,00,69,00,6c,00,65,00,00,00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-19] "ProfileImagePath"=hex(2):43,00,3a,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77, 00,73,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,50,00,72,00,6f,00, 66,00,69,00,6c,00,65,00,73,00,5c,00,4c,00,6f,00,63,00,61,00,6c,00,53,00,65, 00,72,00,76,00,69,00,63,00,65,00,00,00 "Flags"=dword:00000000 "State"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-20] "ProfileImagePath"=hex(2):43,00,3a,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77, 00,73,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,50,00,72,00,6f,00, 66,00,69,00,6c,00,65,00,73,00,5c,00,4e,00,65,00,74,00,77,00,6f,00,72,00,6b, 00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,00,00 "Flags"=dword:00000000 "State"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-3880342755-295460319-945441334-1000] "ProfileImagePath"=hex(2):45,00,3a,00,5c,00,41,00,64,00,6d,00,69,00,6e,00,69, 00,73,00,74,00,72,00,61,00,74,00,6f,00,72,00,00,00 "Flags"=dword:00000000 "State"=dword:00000100 "Sid"=hex:01,05,00,00,00,00,00,05,15,00,00,00,e3,54,49,e7,df,5d,9c,11,36,4a,5a, 38,e8,03,00,00 "ProfileLoadTimeLow"=dword:00000000 "ProfileLoadTimeHigh"=dword:00000000 "RefCount"=dword:00000001 "RunLogonScriptSync"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-3880342755-295460319-945441334-500] "ProfileImagePath"=hex(2):45,00,3a,00,5c,00,41,00,64,00,6d,00,69,00,6e,00,69, 00,73,00,74,00,72,00,61,00,74,00,6f,00,72,00,00,00 "Flags"=dword:00000000 "State"=dword:00000100 "Sid"=hex:01,05,00,00,00,00,00,05,15,00,00,00,e3,54,49,e7,df,5d,9c,11,36,4a,5a, 38,f4,01,00,00 "ProfileLoadTimeLow"=dword:00000000 "ProfileLoadTimeHigh"=dword:00000000 "RefCount"=dword:00000001 "RunLogonScriptSync"=dword:00000000
普及一下小知识
常用:
%USERPROFILE% =C:\Users\用户名
%SystemRoot% =C:\WINDOWS
%SystemDrive% =C:
%APPDATA% =C:\Users\用户名\AppData\Roaming
%LOCALAPPDATA% =C:\Users\用户名\AppData\Local
%windir% =C:\WINDOWS
%Path% =C:\Windows\system32;C:\Windows;
%ProgramData% =C:\ProgramData
%ProgramFiles% =C:\Program Files
%ProgramFiles(x86)% =C:\Program Files (x86)
以上全部手写,良心大作,如有雷同,绝不可能!