Hi Sanjib,
You could try the following Windows native commands separately to gather the domain account status of the user logging in the remote machine.
- query session /server:nameoftheworkstation | query user
- net user /domain remoteusername
------------------------------
Jega Avinasinathan
Customer Support Engineer
Blue Prism
------------------------------
Jega Avinasinathan
Customer Support Engineer
Blue Prism