The password is invalid for...

G

Guest

i'm having an authentication problem between the 2 windows xp sp2 laptops on
my home network (wireless). when i try a command like: net use s:
\\COMPUTER2\c$ (from COMPUTER1) i get an error message saying: The password
is invalid for \\COMPUTER2\c$. I'm logged in as administrator(alex) on
COMPUTER1 and the same administrator user/password pair exists and works on
COMPUTER2. A friend of mine who is very knowledgeable about networking tells
me there is no problem with this on windows 2000 and he doesn't know why i'm
having a problem with my windows xp pro computers. I've shut off firewalls,
wireless network security, i specified share files on this computer on
COMPUTER2 and i can't get this problem to go away yet. I care a great deal
about this because i'm working on a program that needs to access other
computers on it's network remotely (standard stuff that is supported thru UNC
paths including the computer name). my code is getting access denied and i
think whatever is causing net use to fail is the cause of that as well.
Thanks for reading!
 
L

Lanwench [MVP - Exchange]

Alex said:
i'm having an authentication problem between the 2 windows xp sp2
laptops on my home network (wireless). when i try a command like:
net use s: \\COMPUTER2\c$ (from COMPUTER1) i get an error message
saying: The password is invalid for \\COMPUTER2\c$. I'm logged in as
administrator(alex) on COMPUTER1 and the same administrator
user/password pair exists and works on COMPUTER2. A friend of mine
who is very knowledgeable about networking tells me there is no
problem with this on windows 2000 and he doesn't know why i'm having
a problem with my windows xp pro computers. I've shut off firewalls,
wireless network security, i specified share files on this computer
on COMPUTER2 and i can't get this problem to go away yet. I care a
great deal about this because i'm working on a program that needs to
access other computers on it's network remotely (standard stuff that
is supported thru UNC paths including the computer name). my code is
getting access denied and i think whatever is causing net use to fail
is the cause of that as well. Thanks for reading!

So, you are 100% sure that you are logging into your computer using the
identical name/password as exists on the other computer you're trying to map
to?

As a test, try

net use s: \\computer2\share /user:computer2\username <enter>
 
G

Guest

Lanwench said:
So, you are 100% sure that you are logging into your computer using the
identical name/password as exists on the other computer you're trying to map
to?

As a test, try

net use s: \\computer2\share /user:computer2\username <enter>

yes, i'm 100% sure about the username/password being identical on the other
computer and the password is not blank. the net use string you've provided
above is an improvement, unfortunately it causes this error:

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..

i never log in as anyone but "alex" an admin account on both computers,
thanks for your reply.
 
L

Lanwench [MVP - Exchange]

Alex said:
yes, i'm 100% sure about the username/password being identical on the
other computer and the password is not blank. the net use string
you've provided above is an improvement, unfortunately it causes this
error:

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..

i never log in as anyone but "alex" an admin account on both
computers, thanks for your reply.

Before mapping the drive -

net use * /del <enter>

Then try

net use x: \\computer\share /user:computer\username /persistent:no

Does that work?
 
G

Guest

Lanwench said:
Before mapping the drive -

net use * /del <enter>

Then try

net use x: \\computer\share /user:computer\username /persistent:no

Does that work?

gives me the invalid password message:

C:\Documents and Settings\alex>net use * /del
You have these remote connections:

Y: \\pc-file1-2kas\Archive
Continuing will cancel the connections.

Do you want to continue this operation? (Y/N) [N]: y
The command completed successfully.


C:\Documents and Settings\alex>net use s: \\D5TT4951\c$ /user:D5TT4951\alex
/per
sistent:no
The password is invalid for \\D5TT4951\c$.

Enter the password for 'D5TT4951\alex' to connect to 'D5TT4951':
 
G

Guest

Lanwench said:
Before mapping the drive -

net use * /del <enter>

Then try

net use x: \\computer\share /user:computer\username /persistent:no

Does that work?

no, gives me the invalid password error:

C:\Documents and Settings\alex>net use * /del
You have these remote connections:

Y: \\pc-file1-2kas\Archive
Continuing will cancel the connections.

Do you want to continue this operation? (Y/N) [N]: y
The command completed successfully.


C:\Documents and Settings\alex>net use s: \\D5TT4951\c$ /user:D5TT4951\alex
/per
sistent:no
The password is invalid for \\D5TT4951\c$.

Enter the password for 'D5TT4951\alex' to connect to 'D5TT4951':
 
G

Guest

Alex Smotritsky said:
Lanwench said:
Before mapping the drive -

net use * /del <enter>

Then try

net use x: \\computer\share /user:computer\username /persistent:no

Does that work?

gives me the invalid password message:

C:\Documents and Settings\alex>net use * /del
You have these remote connections:

Y: \\pc-file1-2kas\Archive
Continuing will cancel the connections.

Do you want to continue this operation? (Y/N) [N]: y
The command completed successfully.


C:\Documents and Settings\alex>net use s: \\D5TT4951\c$ /user:D5TT4951\alex
/per
sistent:no
The password is invalid for \\D5TT4951\c$.

Enter the password for 'D5TT4951\alex' to connect to 'D5TT4951':

entering the password gives me:

System error 5 has occurred.

Access is denied.


C:\Documents and Settings\alex>

access is denied is the problem when i try to connect programatically
 
L

Lanwench [MVP - Exchange]

Alex said:
Alex Smotritsky said:
Lanwench said:
Alex Smotritsky wrote:
:

Alex Smotritsky wrote:
i'm having an authentication problem between the 2 windows xp sp2
laptops on my home network (wireless). when i try a command like:
net use s: \\COMPUTER2\c$ (from COMPUTER1) i get an error message
saying: The password is invalid for \\COMPUTER2\c$. I'm logged
in as administrator(alex) on COMPUTER1 and the same administrator
user/password pair exists and works on COMPUTER2. A friend of
mine who is very knowledgeable about networking tells me there
is no problem with this on windows 2000 and he doesn't know why
i'm having a problem with my windows xp pro computers. I've shut
off firewalls, wireless network security, i specified share
files on this computer on COMPUTER2 and i can't get this problem
to go away yet. I care a great deal about this because i'm
working on a program that needs to access other computers on
it's network remotely (standard stuff that is supported thru UNC
paths including the computer name). my code is getting access
denied and i think whatever is causing net use to fail is the
cause of that as well. Thanks for reading!

So, you are 100% sure that you are logging into your computer
using the identical name/password as exists on the other computer
you're trying to map to?

As a test, try

net use s: \\computer2\share /user:computer2\username <enter>




yes, i'm 100% sure about the username/password being identical on
the other computer and the password is not blank. the net use
string you've provided above is an improvement, unfortunately it
causes this error:

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..

i never log in as anyone but "alex" an admin account on both
computers, thanks for your reply.

Before mapping the drive -

net use * /del <enter>

Then try

net use x: \\computer\share /user:computer\username /persistent:no

Does that work?

gives me the invalid password message:

C:\Documents and Settings\alex>net use * /del
You have these remote connections:

Y: \\pc-file1-2kas\Archive
Continuing will cancel the connections.

Do you want to continue this operation? (Y/N) [N]: y
The command completed successfully.


C:\Documents and Settings\alex>net use s: \\D5TT4951\c$
/user:D5TT4951\alex /per
sistent:no
The password is invalid for \\D5TT4951\c$.

Enter the password for 'D5TT4951\alex' to connect to 'D5TT4951':

entering the password gives me:

System error 5 has occurred.

Access is denied.


C:\Documents and Settings\alex>

access is denied is the problem when i try to connect programatically

Suspect it's due to the fact that you're trying to map to the admin share.
Have you tried using 'D5TT4951\administrator' and supplying *its* correct
password?

With your own account name, try to connect to another share - and make sure
the share permissions have everyone=full control, along with whatever
permissions you need on the files & folder(s) themselves
 
G

Guest

Lanwench said:
Alex said:
Alex Smotritsky said:
:

Alex Smotritsky wrote:
:

Alex Smotritsky wrote:
i'm having an authentication problem between the 2 windows xp sp2
laptops on my home network (wireless). when i try a command like:
net use s: \\COMPUTER2\c$ (from COMPUTER1) i get an error message
saying: The password is invalid for \\COMPUTER2\c$. I'm logged
in as administrator(alex) on COMPUTER1 and the same administrator
user/password pair exists and works on COMPUTER2. A friend of
mine who is very knowledgeable about networking tells me there
is no problem with this on windows 2000 and he doesn't know why
i'm having a problem with my windows xp pro computers. I've shut
off firewalls, wireless network security, i specified share
files on this computer on COMPUTER2 and i can't get this problem
to go away yet. I care a great deal about this because i'm
working on a program that needs to access other computers on
it's network remotely (standard stuff that is supported thru UNC
paths including the computer name). my code is getting access
denied and i think whatever is causing net use to fail is the
cause of that as well. Thanks for reading!

So, you are 100% sure that you are logging into your computer
using the identical name/password as exists on the other computer
you're trying to map to?

As a test, try

net use s: \\computer2\share /user:computer2\username <enter>




yes, i'm 100% sure about the username/password being identical on
the other computer and the password is not blank. the net use
string you've provided above is an improvement, unfortunately it
causes this error:

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..

i never log in as anyone but "alex" an admin account on both
computers, thanks for your reply.

Before mapping the drive -

net use * /del <enter>

Then try

net use x: \\computer\share /user:computer\username /persistent:no

Does that work?




gives me the invalid password message:

C:\Documents and Settings\alex>net use * /del
You have these remote connections:

Y: \\pc-file1-2kas\Archive
Continuing will cancel the connections.

Do you want to continue this operation? (Y/N) [N]: y
The command completed successfully.


C:\Documents and Settings\alex>net use s: \\D5TT4951\c$
/user:D5TT4951\alex /per
sistent:no
The password is invalid for \\D5TT4951\c$.

Enter the password for 'D5TT4951\alex' to connect to 'D5TT4951':

entering the password gives me:

System error 5 has occurred.

Access is denied.


C:\Documents and Settings\alex>

access is denied is the problem when i try to connect programatically

Suspect it's due to the fact that you're trying to map to the admin share.
Have you tried using 'D5TT4951\administrator' and supplying *its* correct
password?

With your own account name, try to connect to another share - and make sure
the share permissions have everyone=full control, along with whatever
permissions you need on the files & folder(s) themselves

i don't get what you mean by "administrator", each of my laptops have 2
admistrator users (alex and yakov (my dad)) i'm not aware of an administrator
account besides those that we created.

connecting to another share as you've suggested works but i think my problem
of getting access denied when i try to do stuff remotely in my program is
caused by the same thing that causes me to get blocked when i try to do the
net use command to c$. code and that net use command (to c$) work on my
friends network (windows 2000), but the exact same code/command doesn't work
on my network, something is off. something with the way i've configured
windows xp, my network or both.
 
L

Lanwench [MVP - Exchange]

Alex Smotritsky wrote:

i don't get what you mean by "administrator", each of my laptops have
2 admistrator users (alex and yakov (my dad)) i'm not aware of an
administrator account besides those that we created.

There is a built-in administrator account on all NT-based operating systems.
When you installed Windows XP Pro, you were asked to create a password for
it.
connecting to another share as you've suggested works

Does it work without providing credentials?
but i think my
problem of getting access denied when i try to do stuff remotely in
my program

What program?
is caused by the same thing that causes me to get blocked
when i try to do the net use command to c$. code and that net use
command (to c$) work on my friends network (windows 2000), but the
exact same code/command doesn't work on my network, something is off.
something with the way i've configured windows xp, my network or both.

I don't have simple file sharing enabled on my XP Pro machine here - do you?
That may be making a difference here.
I also don't see why you need to map to the admin share if another one
works -
 

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