以管理员方式启动:
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
设定IP
set /p ip=输入IP地址最后一位:
netsh interface ip set address "本地连接" static 192.168.5.%ip% 255.255.255.0 192.168.5.254
netsh interface ip set dns "本地连接" static 192.168.11.243 primary
开启管理员账号并设置密码
net user administrator /active:yes
net user administrator Database
重启软件,如迅雷
taskkill /f /im Thunder.exe
delay 5000
start "" "C:\Program Files (x86)\Thunder Network\Thunder\Program\Thunder.exe"
网友评论