写个bat文件
reg delete 注册表目录
权限不够的表象,reg
in
i ***.
in
i后再删
in
i 文件的格式:注册表目录 [权限]
例子一个:
xxxx是和项目有关的东西,隐去了,这个bat文件reg delete后面都是目录的名字- -
注意有权限的注册表删除的时候,如果a目录下有b,b目录下有c,c下面没有目录了,删除的顺序是c,b,a,只给a目录设权限删a目录删不掉,因为b,c没有继承a的权限
哦,在regini的配置文件里把3个都设权限,然后bat里只reg delete a不知道行不行,忘试了
limit.ini
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\xxxx[1 5 7]
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\ictBus\xxxx[1 5 7]
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\xxxx\xxxx\1&2d12bed1&0&0000 [1 5 7]
del.bat
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx}\0001" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\xxxxxx" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\xxxxx" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\xxxx" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\xxxx" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\xxxx" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\xxxx" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\Root\LEGACY_xxxx" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\ControlSet002\Enum\xxxx" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\xxxx" /f
regini limit.ini
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\xxxx\xxxx\1&2d12bed1&0&0000" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\xxxx\xxxx" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\xxxx" /f
regini 权限代码表
1 - Administrators 完全访问
2 - Administrators 读取访问
3 - Administrators 读取、写入访问
4 - Administrators 读取、写入、删除访问
5 - Creator 完全访问
6 - Creator 读取、写入访问
7 - everyone 完全访问
8 - everyone 读取访问
9 - everyone 读取、写入访问
10 - everyone 读取、写入、删除访问
11 - Power Users 完全访问
12 - Power Users 读取、写入访问
13 - Power Users 读取、写入、删除访问
14 - System Operators 完全访问
15 - System Operators 读取、写入访问
16 - System Operators 读取、写入、删除访问
17 - System 完全访问
18 - System 读取、写入访问
19 - System 读取访问
20 - Administrators 读取、写入、执行访问
21 - Interactive User 完全访问
22 - Interactive User 读取、写入访问
23 - Interactive User 读取、写入、删除访问