Why is SMB removed from Vista Home after automatic update?
Hello.Since the last automatic update of Vista accessing file shares on other computers does not work any longer.Because of this it is impossible to access any files on other computers or file servers any more!The Ethereal trace shows that Vista only tries to establish a WebDAV session. If this does not work Vista does not try to start an SMB session but simply shows an error message.For me this means that Vista Home is not able to do SMB any more because it does not even try to send SMB blocks.Why does SMB not work any longer? Is there anything I did wrong? Can I repair it?Configuration information:- Windows firewall is off- Norton firewall is offMore symptom information below.MartinC:\Users\martin>net use z: \\192.168.178.18\martinSystemfehler 53 aufgetreten.Der Netzwerkpfad wurde nicht gefunden.(In English: "System error 53 - the network path was not found)Ethereal trace while doing the "net use" command: Time Source Destination Protocol Info0.000000 192.168.178.20 192.168.178.18 TCP 49954 > http [SYN] ...0.001006 192.168.178.18 192.168.178.20 TCP http > 49954 [RST, ACK] ...0.497125 192.168.178.20 192.168.178.18 TCP 49954 > http [SYN] ...0.498039 192.168.178.18 192.168.178.20 TCP http > 49954 [RST, ACK] ...0.701037 192.168.178.20 Broadcast ARP Who has 192.168.178.22? ...0.997162 192.168.178.20 192.168.178.18 TCP 49954 > http [SYN] ...0.998122 192.168.178.18 192.168.178.20 TCP http > 49954 [RST, ACK] ...1.671220 192.168.178.20 Broadcast ARP Who has 192.168.178.22? ...2.671221 192.168.178.20 Broadcast ARP Who has 192.168.178.22? ... (I found out that Vista wants to send some routing information to 192.168.178.22. I do not know why.)The same happens when typing "\\192.168.178.18\martin" in Start Menu->Run... and when using the "Extras -> Connect network drive" command in the file explorer.If the server has a HTTP server running (in the example above there was none) Vista gets some error messages from the HTTP server (because WebDAV is not supported) and the same error message is printed.--- EDIT ---It becomes even more obscure:I stopped the WebDAV service ("WebClient") in the Computer->Administrate->Services pane.Now I tried to connect to a network drive (I tried "\\192.168.178.18\martin" and "\\martin-blade\martin").Result: There is no network traffic at all. No data is sent over the network card. Windows returns the error message 67: "Network name not found" without even trying to contact any server.--- EDIT ---The reason is: NetBIOS does not work any more since the last update. The following piece of code should look for a NetBIOS resource named "martin-blade<20>" in the LAN and then connect to it. Instead the program causes no network traffic at all but Windows simply returns error codes. #include <winsock.h>#include <wsnetbs.h>#include <stdio.h>main(int argc,char **argv){ WSADATA wsa; int i,j; SOCKET n; struct sockaddr_nb soanb; WSAStartup(1,&wsa); for(i=-1000;i<=0;i++) { soanb.snb_family=AF_NETBIOS; soanb.snb_type=0; /* unique */ /* name[15] is the port; <SP> means: SMB port */ memcpy(soanb.snb_name,"MARTIN-BLADE ",16); n=socket(AF_NETBIOS,SOCK_SEQPACKET,i); if(n!=INVALID_SOCKET) { j=connect(n,(struct sockaddr *)&soanb,sizeof(soanb)); printf("%i: Connect returned %i\n",i,j); closesocket(n); } } WSACleanup(); return 0;}Without NetBIOS SMB does not work, of course.
December 29th, 2007 11:59pm

Hello. I've got the answer.In the network settings, if you click on a network connection (e.g. LAN network), settings -> TCP/IP v4 -> configure -> advanced -> WINS you can tell windows if the network card is able to do NetBIOS or not.The last automatic update changed the setting to "Only if the DHCP server allows it".Therefore file sharing did not work any longer.If any developer of MS reads this: Changing settings automatically is very dangerous because some functions do not work any longer in this case.Martin
Free Windows Admin Tool Kit Click here and download it now
January 1st, 2008 7:23pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics