[Last Call] Learn how to a build a cloud-first strategyRegister Now


Remote desktop on a SBS 2003 VPN connection

Posted on 2006-07-11
Medium Priority
Last Modified: 2010-04-12
I using awindows PPTP VPN to access a network running SBS 2003 without ISA installed.  They are using sonicwall.  

My problem there are about 10 clients at this busniness.   I can access all of them by remote desktop but the strange thing is I can only access some of them by NET bios name the others I have to access by IP address.  I don't see any difference in the machines.   What could cause this?

Question by:hmcnasty
  • 2
LVL 78

Accepted Solution

Rob Williams earned 2000 total points
ID: 17090439
Name resolution over a VPN can be difficult to get working. The fact that you can connect to some but not others is odd, unless the DNS server is not updating records properly. You might want to check your DNS server to see if all computers have a Host (A) record.
It could also be that the workstation from which you are working has cached some of the host records. Running at a command line (case sensitive):
  nbtstat  -c
should list the name cache. See if that corresponds to the computers you can connect to.
  ipconfig  /flushdns
  nbtstat  -R
to flush the name cache and DNS as a test. After this if you cannot connect to any by name you will now that the names were cached.

A few other options you may want to look at for name resolution:
1) An option is to use the LMHosts file which creates a table of IP's and computer names. LMHosts is located in the Windows directory under c:\Windows (or WINNT)\System32\Drivers\Etc\LMHosts.sam , instructions are included within the file. Any line starting with # is just a comment and is ignored. Open the file with Notepad and add entries for your computers as below;      CompName       #PRE
Hit enter when each line is complete (important), then save the file without a file extension. To be sure there is no extension ,when saving enclose in quotations like "LMHosts". Now when you try to connect to a computer name it should find it as it will search the LMHosts file for the record before connecting.
More details regarding LMHosts file:
The drawback of the LMHosts file is you have to maintain a static list of computernames and IP addresses. Also if the remote end uses DHCP assigned IP's it is not a feasible option. Thus in order to be able to use computer names dynamically try to enable with some of the following options:
2) if you have a WINS server add that to the network cards configuration
3) also under the WINS configuration on the network adapter make sure NetBIOS over TCP/IP is selected
4) try adding the remote DNS server to your local DNS servers in your network card's TCP/IP configuration
5) verify your router does not have a "block NetBIOS broadcast" option enabled
6) test if you can connect with the full computer and domain name as  \\ComputerName.domain.local  If so, add the suffix DomainName.local to the DNS configuration of the virtual private adapter/connection [ right click virtual adapter | properties | TCP/IP properties | Advanced | DNS | "Append these DNS suffixes (in order)" | Add ]
LVL 78

Expert Comment

by:Rob Williams
ID: 17105122
Thanks hmcnasty,

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For a while, I have wanted to connect my HTC Incredible to my corporate network to take advantage of the phone's powerful capabilities. I searched online and came up with varied answers from "it won't work" to super complicated statements that I did…
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question