@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%
@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%