Run as administrator command

Bat 文件内容:

@echo
runas /user:administrator cmd
echo
pause

-------------

1327: Logon failure: user account restriction. Possible reasons are blank password...

 

Solution: 在command line 中输入:net user administrator /active:yes

-------------

再次启动bat文件,即可。

posted @ 2017-05-12 11:11  ~乖乖~  Views(642)  Comments(0Edit  收藏  举报