|
qq43142691
中级用户
  
积分 327
发帖 152
注册 2007-5-4
状态 离线
|
 『楼 主』:
批处理组策略导入于导出
使用 LLM 解释/回答一下
本批处理可以批量导入组策略的散规则。
也可以自己做好规则后导出
或者用下面的脚本也可以导出.....忘版主能分辨是非...要是我真的是要发木马
之类的东西.请版主 封我IP 封我ID ...
本人 bbs.verybat.org 版主
bbs.icafe8.com 顺网网维大师论坛批处理板块版主...
不是某些人乱说我发木马我就真的是发了木马..忘版主予以澄清
@echo off
title 组策略之 IP策略 + 软件策略 导出工具℡ by 彬^|℡ 更新日期:2008/12/16
color 0a
set 策略=已导出的策略
if not exist %策略% md %策略%
REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\IPSec\Policy\Local "%策略%\ip策略.reg">nul
REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\0\Hashes "%策略%\Dorp散列规则.reg">nul
REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\0\Paths "%策略%\Dorp路径规则.reg">nul
REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\262144\Paths "%策略%\允许的路径规则.reg">nul
start mshta vbscript:CreateObject("Wscript.Shell").popup("IP策略+软件策略成功导出到目录下",10,"彬提示你:",64)(window.close)
exit
Last edited by qq43142691 on 2009-1-21 at 15:16 ]
This batch can batch import the loose rules of group policy.
It can also export after making the rules yourself.
Or the following script can also be used to export... I hope the moderator can distinguish right from wrong... If I really want to post a trojan or something, please let the moderator block my IP and my ID...
I am the moderator of bbs.verybat.org
the moderator of the batch processing section of the Shunwang Network Maintenance Master Forum bbs.icafe8.com...
It's not that some people slander me for posting a trojan and I really did post a trojan.. I hope the moderator can clarify.
@echo off
title Group Policy - IP Policy + Software Policy Export Tool ℡ by Bin^|℡ Update Date: 2008/12/16
color 0a
set Policy=Exported Policy
if not exist %Policy% md %Policy%
REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\IPSec\Policy\Local "%Policy%\ip policy.reg">nul
REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\0\Hashes "%Policy%\Dorp Hash Rules.reg">nul
REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\0\Paths "%Policy%\Dorp Path Rules.reg">nul
REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\262144\Paths "%Policy%\Allowed Path Rules.reg">nul
start mshta vbscript:CreateObject("Wscript.Shell").popup("IP Policy + Software Policy successfully exported to directory",10,"Bin Reminds You:",64)(window.close)
exit
Last edited by qq43142691 on 2009-1-21 at 15:16 ]
此帖被 -6 点积分 点击查看详情 评分人:【 nipo 】 | 分数: +2 | 时间:2008-5-18 00:25 | 评分人:【 yishanju 】 | 分数: -8 | 时间:2009-1-21 14:47 |
|
附件
1: WinSoft-源码.rar (2007-9-8 06:52, 6.06 KiB,下载次数: 677)
|
|
2007-9-8 06:52 |
|
|
wudixin96
银牌会员
    
积分 1928
发帖 931
注册 2007-1-6
状态 离线
|
|
2007-9-8 09:13 |
|
|
sndy
新手上路

积分 11
发帖 8
注册 2007-8-22
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
哇。。我找了很久的东西。终于找到了,太谢谢了。顶起
Wow. I've been looking for this for a long time. Finally found it, thank you so much. Give it a thumbs up
|
|
2007-9-10 01:01 |
|
|
hntigger
新手上路

积分 11
发帖 8
注册 2006-10-11
状态 离线
|
|
2007-9-10 07:17 |
|
|
ruinedone
新手上路

积分 16
发帖 8
注册 2007-9-8
状态 离线
|
|
2007-9-10 09:21 |
|
|
zyfcxp
初级用户
 
积分 41
发帖 24
注册 2007-9-4
状态 离线
|
|
2007-9-11 03:11 |
|
|
dosmania
初级用户
 
积分 172
发帖 54
注册 2007-1-2
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
TMD,卡巴这个贱人,吓我一跳,大惊小怪的``
TMD, Kaba is such a nuisance, scared me, making a big fuss``
|
|
2007-9-11 19:21 |
|
|
dosmania
初级用户
 
积分 172
发帖 54
注册 2007-1-2
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
代码很不错``其中可以用reg query 查询的方法查询注册表里 Uninstall 项中WinRAR里的值,以获取WinRAR 的安装路径。解压缩也可以用WINDOWS系统自带的命令行工具。
The code is very good. Among them, the method of using reg query can be used to query the values in the Uninstall item of the registry for WinRAR to obtain the installation path of WinRAR. Decompression can also use the command-line tool built into the WINDOWS system.
|
|
2007-9-11 19:41 |
|
|
grade1984
初级用户
 
积分 26
发帖 13
注册 2007-9-15
状态 离线
|
|
2007-9-15 19:01 |
|
|
rdingding
初级用户
 
积分 21
发帖 11
注册 2006-10-20
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
学习ing,这下重装机设置一下搞定了,呵呵
Learning. Now the settings for Heavy Load are done, heh
|
|
2007-9-22 12:18 |
|
|
fierd
新手上路

积分 16
发帖 8
注册 2007-9-22
状态 离线
|
|
2007-9-22 17:09 |
|
|
175891641
初级用户
 
积分 82
发帖 30
注册 2007-7-3
状态 离线
|
|
2007-9-23 18:42 |
|
|
lk5258
新手上路

积分 14
发帖 9
注册 2007-9-24
状态 离线
|
|
2007-9-25 13:11 |
|
|
qq43142691
中级用户
  
积分 327
发帖 152
注册 2007-5-4
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
谁能告诉我怎么用命令行制作 zip 压缩包和解压缩。。。感激不尽。。。
Who can tell me how to use the command line to make a zip archive and extract it... Thanks a lot...
|
|
2007-9-25 17:50 |
|
|
hdzc
初级用户
 
积分 146
发帖 86
注册 2007-10-1
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
卡巴卡巴卡巴卡巴卡巴卡巴
Kabaka kabaka kabaka kabaka kabaka kabaka
|
|
2007-10-1 14:35 |
|