中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-04 20:53
48,038 topics / 350,123 posts / today 0 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » [Help] Using the setacl (version 2.0) command to modify registry permissions
Printable Version  749 / 1
Floor1 hemyhon Posted 2007-04-11 04:30
新手上路 Posts 9 Credits 14
After setacl -on "HKEY_CURRENT_USER\1" -ot reg -actn ace -ace "n:administrators;p:full;m:deny", the registry key value can no longer be changed back with the reverse command. 0.87 could do it! Anyone who knows 2.0, please help,
Floor2 swiftwhite Posted 2007-06-05 02:23
初级用户 Posts 11 Credits 22
You should be able to do it by clearing all permission settings first. The command is as follows:
SetACL.exe -on CURRENT_USER\1 -ot file -actn ace -ace "n:administrators;p:full;i:sc,so;m:grant;w:dacl" -actn setprot -op dacl:p_nc -actn clear -clr dacl
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023