net use [drive:] [sharedfolder] password /user[domain\username]
like:
net use e: \\usrsvr002\smithmark Ue345Ii /user:pdc01
legends: password full user name
disconnect
net use e: /d
Stopping automatic login with different account
start-->run--> rundll32.exe keymgr.dll, KRShowKeyMgr