修改注册表即可。
REGEDIT4
[HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Network]
"Installed"="1"
[HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Network/Real Mode Net]
"transport"=""
"netcard"=""
"LoadRMDrivers"=hex:00,00,00,00
"preferredredir"="VREDIR"
[HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Network/LanMan]
[HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Network/LanMan/SUNCO]
"Flags"=dword:00000103
"Type"=dword:00000000
"Path"="C://SUNCO"
"Parm2enc"=hex:04,a8,7e
"Parm1enc"=hex:06,a8,7c
"Remark"=""
看看这段代码就明白了