Re: NET USE in 2k3
- From: Ian <gruntyonline@xxxxxxxxxxx>
- Date: Sat, 01 Oct 2005 09:15:49 +0100
John Schneider wrote:
Apologies,"Ian" wrote:
John Schneider wrote:
I have a laptop running Windows 2003 server, a Desktop running Windows XP Pro, and a batch file that I use once a week to synchronize some files between the two. A line in the batch file that maps a drive on the laptop to a shared drive on the Desktop worked in Windows 2000 server but doesn't work in 2k3.
The laptop is a corporate machine, and part of our corporate domain. The XP box is part of my home network, with the stock named workgroup MSHOME. At home, I'll plug the laptop into my home network. This is the line I use to map the drive:
net use J: \\DesktopName\SharedFolderName Password /user:UserName
This worked fine in Win 2k, but since I installed 2k3, that line now gives me the error:
System error 67 has occurred.
The network name cannot be found.
If I substitute "DesktopName" with the actual address, such as 192.168.1.103 (all the machines at home are on a network/router), it maps just fine. The only problem with hardcoding that address is that whenever the router is recycled, the Desktop will probably get a new address.
I know I'm missing something obvious here, but I just can't figure this one out.
John Schneider
Have you setup RRAS to allow broadcast name resolution?
Try using deskopname.domainname ie \\desktop01.mydomain.local
Ian
Ian,
Thanks for the response, but I'm not familiar with RRAS. Is this something new with 2k3?
The XP box I'm trying to connect to is not part of a domain, but just the standard MSHOME workgroup. Unfortunately, I'm in the office now and won't be able to test this until tonight. Are you saying that I should try it like this:?
net use J: \\DesktopName.MSHOME.local\SharedFolderName Password /user:UserName
Thanks again, John
I assumed you would be trying to access the corporate network from home (rather than the other way round).
Your corprate machine will be preconfigured to use the company's name servers and dependant on your VPN setup broadcast name resolution my be disabled - Probably safer to use IP Address to connect to the machine
Ian e.g net use J: \\192.168.1.10\SharedFolderName Password /user:UserName .
- Follow-Ups:
- Re: NET USE in 2k3
- From: John Schneider
- Re: NET USE in 2k3
- Prev by Date: Re: MRxSmb Error on W2k3 DC?
- Next by Date: DNS secondary zones - Transfer from Master vs. Reload from Master
- Previous by thread: Re: Active Directory DNS Replication and Delegation
- Next by thread: Re: NET USE in 2k3
- Index(es):
Relevant Pages
|