Net use doesn't work w/o NetBEUI

P

Paul Kraemer

Hi,

I have an pc running XP Pro named 'myserver' that acts as
a file server on my small subnet. It has one shared
folder called 'myshare', for which I have granted network
permission and NTFS permission to one local user account
called 'netuser'. In order to access this shared folder
from other pc's on my subnet, I want users to access it
using this 'netuser' account. To allow this, I have
created a batch file with the following line...

net use w: \\myserver\myshare /user:myserver\netuser
password

....I put this batch file in the startup folder of
everyone who needs access to this share. Once the drive
letter is mapped, they are able to access the share.
This works on pc's running both WinXP and Win2k, but (at
least on XP), it only works when I am running NetBEUI as
well as TCP/IP.

When I am running just TCP/IP, my net use command
returns 'System error #53 - the network path was not
found.' I can see MyServer if I go to My Network Places
| View Workgroup computers, but if I double-click on it,
I get "\\MyServer is not accessible. You might not have
permission to use this network resource. Contact the
administrator of this server to find out if you have
access permissions. The network path was not found."

If I go back to the command prompt, and type NET VIEW, I
see all the pc's in my workgroup, including \\MyServer.
If I type NET VIEW \\MyServer, I get system error #53
again (network path not found).

If anyone could explain why this works when I have
NetBEUI installed but not when I just have TCP/IP
installed, and how I can make it work without NetBEUI,
I'd really appreciate it.

Thanks,
Paul
 
B

Bob Willard

Paul said:
Hi,

I have an pc running XP Pro named 'myserver' that acts as
a file server on my small subnet. It has one shared
folder called 'myshare', for which I have granted network
permission and NTFS permission to one local user account
called 'netuser'. In order to access this shared folder
from other pc's on my subnet, I want users to access it
using this 'netuser' account. To allow this, I have
created a batch file with the following line...

net use w: \\myserver\myshare /user:myserver\netuser
password

...I put this batch file in the startup folder of
everyone who needs access to this share. Once the drive
letter is mapped, they are able to access the share.
This works on pc's running both WinXP and Win2k, but (at
least on XP), it only works when I am running NetBEUI as
well as TCP/IP.

When I am running just TCP/IP, my net use command
returns 'System error #53 - the network path was not
found.' I can see MyServer if I go to My Network Places
| View Workgroup computers, but if I double-click on it,
I get "\\MyServer is not accessible. You might not have
permission to use this network resource. Contact the
administrator of this server to find out if you have
access permissions. The network path was not found."

If I go back to the command prompt, and type NET VIEW, I
see all the pc's in my workgroup, including \\MyServer.
If I type NET VIEW \\MyServer, I get system error #53
again (network path not found).

If anyone could explain why this works when I have
NetBEUI installed but not when I just have TCP/IP
installed, and how I can make it work without NetBEUI,
I'd really appreciate it.

Thanks,
Paul

NET USE works on my XP PCs on a pure-TCP/IP LAN. Check that you
have NetBIOS enabled over TCP/IP: Click on Start, ControlPanel,
Network, RightClick on LocalAreaConnection; Click on Properties,
TCP/IP, Properties, Advanced, WINS; Click on Enable NetBT.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top