|  | 
 
| electronixtar 铂金会员
 
        
 
 
 
 积分 7493
 发帖 2672
 注册 2005-9-2
 状态 离线
 | 
| 『楼 主』:
 [求助]如何用命令修改注册表权限
 
使用 LLM 解释/回答一下 
 
 
如何在用命令修改注册表某个键值的权限?改文件用cacls,但是改注册表那?我主要是想应用到批处理中
 
 Last edited by tigerpower on 2006-5-7 at 09:16 ]
 
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 ]
 
 
 
 |  | 
|  2006-5-4 20:00 |  | 
|  | 
 
| electronixtar 铂金会员
 
        
 
 
 
 积分 7493
 发帖 2672
 注册 2005-9-2
 状态 离线
 | 
| 『第 2 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
翻了半天Help and Support Center和MSDN,发现似乎只有WMI可以 
After flipping through the Help and Support Center and MSDN for a long time, it seems that only WMI can be used. 
 
 
 |  | 
|  2006-5-9 17:58 |  | 
|  | 
 
| tigerpower 中级用户
 
    大师兄
 
 
 积分 377
 发帖 99
 注册 2005-8-26
 状态 离线
 | 
| 『第 3 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
PowerShell的文件对象和注册表键对象都有一个"SetAccessControl"的方法,不过我对.NET不是很熟,用户手册里没提到,具体用法不是太清楚,你有兴趣可以看一下。 
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. 
 
 
 |  | 
|  2006-5-9 21:08 |  | 
|  | 
 
| IceCrack 中级用户
 
    DOS之友
 
 
 积分 332
 发帖 168
 注册 2005-10-6
 来自 天涯
 状态 离线
 | 
| 『第 4 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
我也不知道你所说的是否包括使用第三方工具,我搜了一下,在不使用工具的话好像是没有一个命令的。如果用工具的话还行。用setacl。这个挺简单的。看一下他的帮助就行了。
 
 (ps:百度是一个好东东。要好好的利用才行)
 
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.)
 
 
 
 
附件
1:  setacl.rar (2006-7-13 08:29, 4.82 KiB, 下载附件所需积分 1 点
,下载次数: 221) 
 |  | 
|  2006-7-13 08:29 |  | 
|  | 
 
| electronixtar 铂金会员
 
        
 
 
 
 积分 7493
 发帖 2672
 注册 2005-9-2
 状态 离线
 | 
| 『第 5 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
尽量不用第三方的~~呵呵,不如echo一个vbs再cscript,呵呵 
Try not to use third-party ones~~ Hehe, why not echo a VBS file and then cscript it, hehe 
 
 
 
 |  
                  |  
 C:\>BLOG http://initiative.yo2.cn/
 C:\>hh.exe ntcmds.chm::/ntcmds.htm
 C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
 |  | 
|  2006-7-13 15:55 |  | 
|  | 
 
| 29yzh 新手上路
 
  
 
 
 
 积分 18
 发帖 7
 注册 2006-12-20
 状态 离线
 |  | 
|  2006-12-26 07:10 |  | 
|  | 
 
| slore 铂金会员
 
        
 
 
 
 积分 5212
 发帖 2478
 注册 2007-2-8
 状态 离线
 |  | 
|  2007-2-17 07:54 |  | 
|  | 
 
| cold1 新手上路
 
  
 
 
 
 积分 3
 发帖 2
 注册 2007-4-1
 状态 离线
 | 
| 『第 8 楼』:
 试用。
 
使用 LLM 解释/回答一下 
 
 
不知道怎样使用,只能摸索。 
I don't know how to use it, so I can only grope. 
 
 
 |  | 
|  2007-4-1 03:59 |  | 
|  | 
 
| a201341717 贫困用户
 
 
 
 
 
 积分 -2
 发帖 20
 注册 2007-1-30
 状态 离线
 | 
| 『第 9 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
d顶了 
 
 
 
 
 |  
                  |  [img=2,1]http://c.py99.net/pic/f?v=20074/31311547.jpg[/img]
 |  | 
|  2007-4-4 02:28 |  | 
|  | 
 
| loungewfj 新手上路
 
  
 
 
 
 积分 6
 发帖 2
 注册 2007-1-16
 状态 离线
 | 
| 『第 10 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
不知道, 同学习 
I don't know, same as the classmate study 
 
 
 |  | 
|  2007-4-4 23:25 |  | 
|  | 
 
| 6622186 高级用户
 
     
 
 
 
 积分 894
 发帖 411
 注册 2007-2-17
 状态 离线
 | 
| 『第 11 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
为什么不用第三方工具? 只要好用, 有何不可? 再说支持工具算不算第三方工具, 如果算的话,这个版本是支持工具, 下一个版本就是自带了. 可能这样说也许太牵强, 但是不要把第三方工具这个概念过于绝于化.
 
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. 
 
 
 
 |  
                  |  @set c=     不知则觉多,知则觉少,越知越多,便觉越来越少.        --- 知多少.
 @for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul
 
 
 
 |  | 
|  2007-4-23 11:33 |  | 
|  | 
 
| xynn 初级用户
 
   
 
 
 
 积分 28
 发帖 12
 注册 2007-5-3
 状态 离线
 | 
| 『第 12 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
regini电脑里没有,是外部命令? 
Regini is not in the computer, is it an external command? 
 
 
 |  | 
|  2007-5-3 15:52 |  | 
|  | 
 
| darkradx 高级用户
 
     
 
 
 
 积分 972
 发帖 420
 注册 2004-5-16
 状态 离线
 |  | 
|  2007-5-17 14:15 |  | 
|  | 
 
| wdxs 新手上路
 
  
 
 
 
 积分 2
 发帖 1
 注册 2006-3-17
 状态 离线
 | 
| 『第 14 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
regini电脑里没有,是外部命令? 
Regini is not in the computer, is it an external command? 
 
 
 |  | 
|  2007-5-26 20:17 |  | 
|  | 
 
| c945124 新手上路
 
  
 
 
 
 积分 8
 发帖 3
 注册 2007-4-17
 状态 离线
 |  | 
|  2007-6-1 09:49 |  |