分类: WINDOWS
2010-05-25 21:45:58
摘自网络:http://hi.baidu.com/25mlc/blog/item/dde6b8d4f52c3709a18bb7ab.html
方便起见,写个批处理,运行解决此问题,适用于XP
----------------------Cut the following code saved as *.cmd or *.bat files and run it--------------------------
@echo off
::RepairSysError67&ipc$ connecting
mode con: cols=30 lines=16
color 0f
sc config netlogon start= auto&sc start netlogon&sc config
netlogon start= disabled 2>nul
sc stop lanmanworkstation&sc config lanmanworkstation start=
disabled 2>nul
sc config lanmanworkstation start= auto&sc start lanmanworkstation
2>nul
cls
:again
set/p ip=输入ip地址:
if %ip% lss 255.255.255.255 (echo ip格式正确) else (echo
ip格式不正确,重新输入)&goto again
set/p usr=输入用户:
set/p pwd=输入密码:
net use %pwd% /user:%usr%
pause>nul
-----------------------------------------------------------------------------------------------------------------------------------
经常用XP空连接一台Server2003服务器,但今早我用net use "pwd" /user:adm 连接,出现系统出错67找不到网络名。出现此问题是Lanmanworkstation服务(服务里Workstation项)服务异常,进 services.msc 先停止此项服后再启动,第二步 启动Net Logon服务(若此服务原先为禁止,启动后再禁止也可),此时再使用IPC$空连接即可。Net Logon服务(支持网络上计算机 pass-through 帐户登录身份验证事件)与Workstation(Lanmanworkstation)依存关联。以下列出Lanmanworkstation关联信 息:
Lanmanworkstation 服务名称:Workstation