User Mode VS Service Mode

I see what you mean; handling UAC, I wasn’t seeing an error after launching an application like procmon unless I had the UiRobot Tray open although it launched the application successfully.

  1. UAC will popup

    Error message: Cannot find the UI element corresponding to this selector: 
    
  2. Handling UAC (i.e. lowering it to the lowest of low settings), procmon.exe launches but UiRobot / process fails to detect given selector.

  3. Configure procmon.exe to run as administrator,

    Error message: The requested operation requires elevation. (Exception from HRESULT: 0x800702E4)
    
  4. Configured UiRobot Service to run as a non-local service account.

    Error message: Could not start executor. A required privilege is not held by the client. (Exception from HRESULT: 0x80070522)
    

So far the only way I’ve found around it is to Disable “User Account Control: Run all administrators in Admin Approval Mode”.

1 Like