标题:
[系统相关]
批处理如何删除组策略“拒绝从网络中访问这台计算机”设置中的guest用户
[打印本页]
作者:
zhsh1128
时间:
2016-5-1 10:07
标题:
批处理如何删除组策略“拒绝从网络中访问这台计算机”设置中的guest用户
本帖最后由 pcl_test 于 2016-5-2 18:11 编辑
如题。先谢。
作者:
wnsdt
时间:
2016-12-11 15:30
echo [Unicode]>>%temp%\okshare\admin_sec.inf
echo Unicode=yes>>%temp%\okshare\admin_sec.inf
echo [Version]>>%temp%\okshare\admin_sec.inf
echo signature="$CHICAGO$">>%temp%\okshare\admin_sec.inf
echo Revision=1>>%temp%\okshare\admin_sec.inf
echo [Privilege Rights]>>%temp%\okshare\admin_sec.inf
echo sedenynetworklogonright = >>%temp%\okshare\admin_sec.inf
echo senetworklogonright = Everyone,Administrators,Users,Power Users,Backup Operators,guest>>%temp%\okshare\admin_sec.inf
secedit /configure /db %temp%\okshare\admin_sec.sdb /cfg %temp%\okshare\admin_sec.inf /log %temp%\okshare\admin_sec.log /quiet
欢迎光临 批处理之家 (http://www.bathome.net/)
Powered by Discuz! 7.2