Domain Controller OS: Windows Server 2008 R2
Client OS: Windows XP, Windows 7
- Windows XP client name:
Client1
- Windows XP client name:
Client2
I had login as abc.local\Q2020
on Client1
and accessing other Client2
shared folder via Start
> Run
> \\Client2
By defualt it is taking the Credential of the user which I have login i.e abc.local\Q2020
, while accessing the shared folder on Client2
.
I want that it must ask me a credential, so that i can give credential of different User, which has the rights of shared folder on Client2
Can you guide me - how can i give credential of different domain user while i am logged as abc.local\Q2020
?
Map a network drive to that network path and choose the option to use a different username and password.
from the CLI: net use * \\server\share password /user:domain\user
note the * will use the next available drive letter. If you prefer to use a specific driver letter, replace * with X:
Also note that you cannot simultaneously make two connections to a single server using two different user accounts. Type net use at the command prompt to see what connections are already open then net use \\server\share /delete to remove them before mapping the new drive.
The connection to the share must be deleted. You can either logout and back in, or follow one of the
Net Use
procedures below without having to logout.To delete all connections to a particular server, from Command Prompt type
replacing
servername
with the name or IP address of the computer or server.To delete a connection to a specific share, from Command Prompt type "
replacing
servername
with the name or IP address of the computer or server andsharename
with the name of the share.