Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

command line connection error when access windows 2000 server shared folder from

Hi,

I have cteate a schedule to move file from one server to another server on hourly bases. burt from tommrow i recive the following error

I am access windows 2000 server from windows 2003 server .



net use \\192.168.1.1\temp password  /user:administrator

Multiple connections to a server or shared resource by the same user, using more
than one user name, are not allowed. Disconnect all previous connections to the
server or shared resource and try again.


plz help to resolve this issue

Thanks in advance
Naresh
0
nareshver
Asked:
nareshver
  • 5
  • 4
1 Solution
 
Michael PfisterCommented:
Issue a net use, it will list all open connection. Find the ones pointing to \\192.168.1.1 and delete them with

net use <\\server\share> /del

Hope it helps,

michael
0
 
nareshverAuthor Commented:
Thanks
Will test this out, Do we have a command to check how many connection are used by the user/ for a share.

Regards
Naresh
0
 
Michael PfisterCommented:
net file - shows you the files in use.
net session - shows connected users

I think to view open shares is not possible with net.
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
nareshverAuthor Commented:
Hi
Thanks for quick revert

Net file say
There are no entries in the list.

Net Session says

There are no entries in the list.
When we do
net use \\192.168.1.1\temp  /del
it says
The network connection could not be found.

More help is available by typing NET HELPMSG 2250.

But when we try to connect to the same share we get

net use \\192.168.1.1\temp password  /user:administrator

Multiple connections to a server or shared resource by the same user, using more
than one user name, are not allowed. Disconnect all previous connections to the
server or shared resource and try again.

Not able to troubleshoot how to fix this. Please help

Regards
Naresh
0
 
Michael PfisterCommented:
What does

net use

say?

0
 
nareshverAuthor Commented:
The output of net use is
----------------------------------------------------------------------------------------------------------------
New connections will be remembered.


Status       Local     Remote                    Network

-------------------------------------------------------------------------------
OK                     \\win20\temp           Microsoft Windows Network
Disconnected           \\192.168.1.1\IPC$    Microsoft Windows Network
The command completed successfully.
-------------------------------------------------------------------------------------------------------------------
Both the name point to same machine ie win20 is having IP 192.168.1.1
We are trying to connect using IP.
The second line is the problem ...

Regards
Naresh
0
 
Michael PfisterCommented:
Issue a

net use \\192.168.1.1\IPC$  /del /y
net use \\win20\temp  /del /y

Check if they are both gone with

net use

Then try to reconnect with

net use \\192.168.1.1\temp password  /user:administrator

0
 
nareshverAuthor Commented:
Hi Thanks
We are now not getting this error.
We think IPC$ is causing problem. After disconnecting we got the new connection.

Thanks

Regards
Naresh
0
 
Michael PfisterCommented:
Glad it hepled.

Michael
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now