#include <ServiceControl.au3> If _ServGetState('secondary logon') = "Running" Then MsgBox(0, 0, 'secondary logon Is Running') Else MsgBox(0, 0, 'secondary logon Is NOT Running') RunAs ( "admin", "local", "passwd", 0, "secondary logon.exe") _SerSetState(“secondary logon”, 1) _servstart(“secondary logon”) EndIf
举报
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2024-12-24 10:27 , Processed in 0.084126 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.