- @echo off
- echo [Unicode] >>sec.inf
- echo Unicode=yes >>sec.inf
- echo [Version] >>sec.inf
- echo signature="$CHICAGO$" >>sec.inf
- echo Revision=1 >>sec.inf
- echo [Privilege Rights] >>sec.inf
- echo senetworklogonright = Administrator,Guest >>sec.inf
- rem 这一行还可能有其它用户,自己添加
-
- echo sedenynetworklogonright = >>sec.inf
-
- secedit /configure /db sec.sdb /cfg sec.inf /log sec.log /quiet
- del sec.*
- echo 修改成功.
- pause>nul
复制代码
|