中国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-02 14:17
48,038 topics / 350,123 posts / today 1 new / 48,251 members
WinPE、PowerShell及其它命令行系统专区 » [Help] How to modify registry permissions using commands
Printable Version  14,303 / 35
Floor1 electronixtar Posted 2006-05-04 20:00
铂金会员 Posts 2,672 Credits 7,493
How to modify the permissions of a certain key value in the registry using commands? The cacls is used to modify files, but how about the registry?
I mainly want to apply it in batch processing

[ Last edited by tigerpower on 2006-5-7 at 09:16 ]
Floor2 electronixtar Posted 2006-05-09 17:58
铂金会员 Posts 2,672 Credits 7,493
After flipping through the Help and Support Center and MSDN for a long time, it seems that only WMI can be used.
Floor3 tigerpower Posted 2006-05-09 21:08
中级用户 Posts 99 Credits 377
The file objects and registry key objects in PowerShell both have a "SetAccessControl" method. However, I'm not very familiar with.NET, and it's not mentioned in the user manual, so I'm not too clear about the specific usage. You can take a look if you're interested.
Floor4 IceCrack Posted 2006-07-13 08:29
中级用户 Posts 168 Credits 332 From 天涯
I also don't know whether what you said includes using third-party tools. I searched, and it seems there isn't a single command without using tools. If using tools, it's okay. Use setacl. It's quite simple. Just look at its help.

(ps: Baidu is a good thing. We should make good use of it.)

Attachments
setacl.rar (4.82 KiB)
Floor5 electronixtar Posted 2006-07-13 15:55
铂金会员 Posts 2,672 Credits 7,493
Try not to use third-party ones~~ Hehe, why not echo a VBS file and then cscript it, hehe
Floor6 29yzh Posted 2006-12-26 07:10
新手上路 Posts 7 Credits 18
Heh
Floor7 slore Posted 2007-02-17 07:54
铂金会员 Posts 2,478 Credits 5,212
Floor8 cold1 Posted 2007-04-01 03:59
新手上路 Posts 2 Credits 3
I don't know how to use it, so I can only grope.
Floor9 a201341717 Posted 2007-04-04 02:28
贫困用户 Posts 20 Credits -2
Floor10 loungewfj Posted 2007-04-04 23:25
新手上路 Posts 2 Credits 6
I don't know, same as the classmate study
Floor11 6622186 Posted 2007-04-23 11:33
高级用户 Posts 411 Credits 894
Why not use third-party tools? As long as they work well, why not? Besides, is a support tool considered a third-party tool? If it is, this version is a support tool, and the next version will be built-in. Maybe this statement is a bit far-fetched, but don't be too absolute about the concept of third-party tools.
Floor12 xynn Posted 2007-05-03 15:52
初级用户 Posts 12 Credits 28
Regini is not in the computer, is it an external command?
Floor13 darkradx Posted 2007-05-17 14:15
高级用户 Posts 420 Credits 972
Floor14 wdxs Posted 2007-05-26 20:17
新手上路 Posts 1 Credits 2
Regini is not in the computer, is it an external command?
Floor15 c945124 Posted 2007-06-01 09:49
新手上路 Posts 3 Credits 8
How should WMI be done?
1 2 3  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023