日期:2014-05-17 浏览次数:20825 次
net user administrator "" reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /t reg_sz /d "1" /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /t reg_sz /d "administrator" /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /t reg_sz /d "" /f
------解决方案--------------------
不要开启guest共享,如是XP的话,一是为经典登录方式,二是去掉空密码只能本地登录限制,三是关闭防火墙即可
如楼主想用界面操作,直接输gpedit.msc改组策略,输services.msc关闭防火墙,如嫌麻烦直接输以下命令后即可右键设共享的账户
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" /v forceguest /t reg_dword /d 0 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" /v limitblankpassworduse /t reg_dword /d 0 /f net user guest /active:no sc config sharedaccess start= disabled net stop sharedaccess /y