mstsc免密码登录批处理文件
@echo off
Set SERVER=%~1%
echo %~1%
Set USERNAME=Administrator
Set PASSWORD=Huawei12#$
Cmdkey /generic:TERMSRV/%SERVER% /user:%USERNAME% /pass:%PASSWORD%
Start mstsc /v:%SERVER%
=======================
MSTSC 自动登录_generic:termsrv password 加密-CSDN博客
========================
批处理--连接远程桌面mstsc_mstsc批处理-CSDN博客
@Echo off
Set SERVER=172.26.188.32
Set USERNAME=Administrator
Set PASSWORD=55555
Cmdkey /generic:TERMSRV/%SERVER% /user:%USERNAME% /pass:%PASSWORD%
Start mstsc /v:%SERVER%
Timeout 1
Cmdkey /delete:TERMSRV/%SERVER%
电脑技术 2024-09-16 08:51:56 通过 网页 浏览(126)
共有0条评论!