Use normal command prompt. Do not run as admin.
net use /p:yes
net use [Drive Letter]: [\\shared_drive_path\shared_drive_name]
Example:
net use H: \\mysharedrivepath\mydrivename
Enter the user name for 'shared_drive_path': domain_name\user_name
Example:
Enter the user name for 'mysharedrivepath': mydomain\myuserid
Enter the password for 'shared_drive_path': <password>
Example:
Enter the password for 'mysharedrivepath': <password>