RunAsRole Issues

  • If you use the “RunAsRole.exe /wait” command to run a Python script, the

    input/output cannot be redirected for versions of Python below 3.0.0. (Ref:

    45061a)

  • The Run As Role menu is not available on the start screen in Windows 8 or

    Windows 2012 or later because Microsoft doesn’t support any custom context

    menu on the start screen. User has to go to the Windows desktop in order to

    launch an application using Run As Role context menu. (Ref: 35487a)

  • When running “RunAsRole.exe /wait sc.exe” with no argument provided to

    sc.exe, sc.exe will prompt

    • Would you like to see help for the QUERY and QUERYEX commands? [ y | n ]:
    • Typing ‘y’ or ‘n’ doesn’t do anything because the input cannot be successfully redirected to sc.exe. (Ref: 47016b)
  • It is not recommended to change zone via Run As Role since the role that is

    in use may no longer be available once after leaving from the previous zone

    during the change zone process. (Ref: 58043a)

  • On Windows Server 2008 R2 and Windows 7, if the Agent machine has no

    internet connection and the .NET CLR settings

    (checkCertificateRevocationList) is set to True, the MFA authentication will

    be failed because the CLR is unable to verify the certificate through

    internet. The workaround is to enable the internet connection or turn off

    the CLR settings (set checkCertificateRevocationList to False which is also

    the default value). (Ref: CS-40147)