infamousjoeg
4/21/2017 - 4:01 PM

TGH - SysInternals AutoLogon via AIM

SysInternals AutoLogon via AIM

set scmd="C:\Program Files\CyberArk\ApplicationPasswordSdk\CLIPasswordSDK.exe" password /p AppDescs.AppID=AUTOLOGON /p query=Safe=AutoLogon_Accounts;Folder=Root;object=Workstation01 /p RequiredProps=Address,UserName /o PassProps.UserName,PassProps.Address,Password

for /f "tokens=1,2,3 delims=," %%A in ('"%scmd%"') do autologon %%A %%B %%C