如题,我实在不知道该怎么搞,可以告诉我么!学习一下嘛!
谢谢,还有啊!如果是改注册表请详细讲解一下,因为我不太懂注册表哦!
谢谢,还有啊!如果是改注册表请详细讲解一下,因为我不太懂注册表哦!
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
@echo off
rem server版
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters" /v AutoShareServer /t reg_dword /d 0 /f
rem pro版
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters" /v AutoShareWks /t reg_dword /d 0 /f
rem 禁止空连接进行枚举
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" /v restrictanonymous /t reg_dword /d 1 /f
rem 关闭共享服务
sc config lanmanserver start= disabled
sc stop lanmanserver