我试图通过部署脚本连接到远程服务器并在那里部署服务.
我首先说明“Net use”并发送服务器的凭据.
但在这里我得到系统1219错误:
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”但被告知没有连接对服务器开放.
是什么赋予了?
1.启动命令提示符
- cmd.exe
2.查看当前的网络共享
- C:\>net use
- New connections will not be remembered.
- Status Local Remote Network
- -------------------------------------------------------------------------------
- OK G: \\srv\share Microsoft Windows Network
- OK H: \\fqdn\user$ Microsoft Windows Network
- \\zombie-srv\share Microsoft Windows Network
- The command completed successfully.
3.删除僵尸坐骑
- C:\>net use /DELETE \\zombie-srv\share
- \\zombie-srv\share was deleted successfully.
4.以另一个用户身份安装共享
- C:\>net use z: \\zombie-srv\c$/USER:domain\admin_user
- Enter the password for 'domain\admin_user' to connect to 'zombie-srv':
- The command completed successfully.
你也可以试试
- net help use
有关如何操作net命令的更多详细信息.