P
Paul Kraemer
Hi,
I have several Win2k pro PC's in a small peer-to-peer
network. One of these PC's acts as a file server. All
the other PC's have a .bat file in the startup folder
that has the following command.
net use w:
\\FileServer\Sharename /user:FileServer\netuser password
....this way, users of these other pc's can access the
share using the 'netuser' account. This works for me
most of the time, but sometimes I get system error 1219 -
"The credentials supplied conflict with an existing set
of credentials."
This is always because the user is already logged on to
this share as someone other than 'netuser'. I can see
that this is true if I type 'net use' at the command
prompt - I can see the existing connection. I can get
around this by manually entering the following at the
command prompt...
net use \\FileServer\Sharename /delete
....after this, my startup batch file works fine. I would
like to make my startup batch file to work at startup all
the time without my intervention. I think Windows must
be automatically forming a connection to this share
before my .bat file can run. I'm just wondering where I
can look to see why Windows is creating this connection
and hopefully prevent it from happening.
Any input will be appreciated.
Thanks,
Paul
I have several Win2k pro PC's in a small peer-to-peer
network. One of these PC's acts as a file server. All
the other PC's have a .bat file in the startup folder
that has the following command.
net use w:
\\FileServer\Sharename /user:FileServer\netuser password
....this way, users of these other pc's can access the
share using the 'netuser' account. This works for me
most of the time, but sometimes I get system error 1219 -
"The credentials supplied conflict with an existing set
of credentials."
This is always because the user is already logged on to
this share as someone other than 'netuser'. I can see
that this is true if I type 'net use' at the command
prompt - I can see the existing connection. I can get
around this by manually entering the following at the
command prompt...
net use \\FileServer\Sharename /delete
....after this, my startup batch file works fine. I would
like to make my startup batch file to work at startup all
the time without my intervention. I think Windows must
be automatically forming a connection to this share
before my .bat file can run. I'm just wondering where I
can look to see why Windows is creating this connection
and hopefully prevent it from happening.
Any input will be appreciated.
Thanks,
Paul