Answers:
如果接受的答案给您这个错误;
System error 1219 has occurred.
Multiple connections to a server or shared resource by the same user, using
more than one user name, are not allowed. Disconnect all previous connections
to the server or shared resource and try again.
您需要先删除现有共享。如果您着急的话,这将使所有人员无所适从,而不管服务器是什么。
NET USE * /DELETE
如果要更加精确并保留其他共享,请使用以下命令列出服务器上的现有共享;
NET VIEW \\SERVERNAME
然后删除有冲突的共享;
NET USE \\SERVERNAME\SHARENAME /DELETE
最后,使用接受的答案将成功;
NET USE \\SERVERNAME\SHARENAME /u:USERNAME
Enter the password for 'USERNAME' to connect to 'SERVERNAME':
The command completed successfully.