|
本帖最后由 窄口牛 于 2023-1-31 08:30 编辑
@echo off
color a
SET /P part= 请输入您要挂载的分区(只需字母)Enter确认:
reg load "hklm\SOFTWARE_ON_%part%" %part%:\windows\system32\config\software
reg load "hklm\SAM_ON_%part%" %part%:\windows\system32\config\sam
reg load "hklm\SECURITY_ON_%part%" %part%:\windows\system32\config\security
reg load "hklm\SYSTEM_ON_%part%" %part%:\windows\system32\config\system
reg load "HKEY_USERS\.DEFAULT_ON_%part%" %part%:\windows\system32\config\DEFAULT
reg load "HKEY_USERS\Administrator_ON_%part%" %part%:\Users\Administrator\NTUSER.DAT
reg load "HKEY_USERS\Default_ON_%part%" %part%:\Users\Default\NTUSER.DAT
reg load "HKEY_USERS\Administrator_ON_%part%_xp" "%part%:\Documents and Settings\Administrator\NTUSER.DAT"
reg load "HKEY_USERS\Default_User_ON_%part%_xp" "%part%:\Documents and Settings\Default User\NTUSER.DAT"
reg load "HKEY_USERS\All_Users_ON_%part%_xp" "%part%:\Documents and Settings\All Users\NTUSER.DAT"
start %windir%\regedit
@echo off
color a
SET /P part= 请输入您要卸载的分区(只需字母)Enter确认:
reg unload "hklm\SOFTWARE_ON_%part%"
reg unload "hklm\SAM_ON_%part%"
reg unload "hklm\SECURITY_ON_%part%"
reg unload "hklm\SYSTEM_ON_%part%"
reg unload "HKEY_USERS\.DEFAULT_ON_%part%"
reg unload "HKEY_USERS\Administrator_ON_%part%"
reg unload "HKEY_USERS\Default_ON_%part%"
reg unload "HKEY_USERS\Administrator_ON_%part%_xp"
reg unload "HKEY_USERS\Default_User_ON_%part%_xp"
reg unload "HKEY_USERS\All_Users_ON_%part%_xp"
置顶回复层下载最终成品。
|
评分
-
查看全部评分
|