net use driveleter: \\IP\share password /user:username
net use driveleter: \\IP\share password /user:username
Admin Tools — Local Security — Local Policy — Security find Network Security: Lan Manager Authentication Level — Set value to Send LM & NTLM respones Or HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSA\ Double click on LmCompatibilityLevel, and set the value to 1.
http://blogs.techrepublic.com.com/itdojo/?p=1561