Possible Duplicate:
Delete Cached Windows Network Share Passwords

I am running Windows 7 x64 Professional.

If I connect to a Windows 2003 server via \servername, and it connects me without prompting me for credentials, how do I see what username was used to make the connection?

link|improve this question

75% accept rate
Actually this turns out to be a duplicate of a question I already asked: superuser.com/questions/10790/… – David Mackintosh Jan 26 '11 at 15:28
feedback

closed as exact duplicate by Diago Jan 26 '11 at 18:35

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

2 Answers

start > CMD > echo %username%

That should work

link|improve this answer
Nope, that tells me who I'm logged into the local computer as. – David Mackintosh Jan 26 '11 at 15:26
feedback
Start -> CMD -> net use

Shows which network shares and network PCs you are logged in to and with what user name.

link|improve this answer
Nope: just shows the network connections: wiki.xdroop.com/gallery2/v/Random/2011-01/… – David Mackintosh Jan 26 '11 at 16:22
Strange, I could've sworn it shows the username too. Sorry. Edit: The only indirect way I can imagine is trying to map the share in question with NET USE \\pc\share /user:hello. If it does not return the error that you can't map the same share with different user names you should have the correct user name... – sinni800 Jan 27 '11 at 9:11
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.