Can I connect to local share using net use command on local windows server?

%3CLINGO-SUB%20id%3D%22lingo-sub-1996856%22%20slang%3D%22en-US%22%3ECan%20I%20connect%20to%20local%20share%20using%20net%20use%20command%20on%20local%20windows%20server%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1996856%22%20slang%3D%22en-US%22%3E%3CP%3EI%20tried%20to%20connect%20to%20local%20share%20using%20net%20use%20command%20on%20windows%20server%202016.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20net%20use%20z%3A%20%5C%5C%3CEM%3Elocalhostname%3C%2FEM%3E%5C%3CEM%3Elocalsharename%3C%2FEM%3E%20%2Fuser%3A%3CSTRONG%3Euserid%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20I%20enter%20password%20for%20%3CSTRONG%3Euserid%3C%2FSTRONG%3E%2C%20it%20responds%20with%20error%20message%20saying%20wrong%20credential.%3C%2FP%3E%3CP%3EBut%20I%20can%20connect%20to%20this%20server%20from%20other%20windows%20server%20with%20exactly%20same%20command%20and%20password.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAm%20I%20missing%20something%20here%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1996856%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EManagement%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ENetworking%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1997963%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20I%20connect%20to%20local%20share%20using%20net%20use%20command%20on%20local%20windows%20server%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1997963%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F904916%22%20target%3D%22_blank%22%3E%40tabachans%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20user%20connected%20to%20Active%20Directory%20too%3F%3C%2FP%3E%3CP%3EIt%20is%20hard%20to%20say%20what%20causing%20this%20behavior%20%2C%20may%20be%20temporary%20issue%20with%20service%20and%20normally%20in%20case%20you%20restart%20your%20PC%2C%20the%20problem%20might%20be%20solved.%3C%2FP%3E%3CP%3EHowever%2C%20try%20check%20Event%20Viewer%20and%20you%20might%20see%20some%20errors%20where%20guide%20you%20through%20what%20caused%20this%20problem.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I tried to connect to local share using net use command on windows server 2016.

 

  net use z: \\localhostname\localsharename /user:userid

 

As I enter password for userid, it responds with error message saying wrong credential.

But I can connect to this server from other windows server with exactly same command and password.

 

Am I missing something here?

1 Reply

@tabachans 

Is this user connected to Active Directory too?

It is hard to say what causing this behavior , may be temporary issue with service and normally in case you restart your PC, the problem might be solved.

However, try check Event Viewer and you might see some errors where guide you through what caused this problem.