Skip to content

Feature request: Run as different user, allow smartcard #480

Open

Description

@Bill-Stewart

Right now if we choose Run as for a tab and specify a specific user account, we are only asked for a password when we start that tab.

This request is to allow smartcard access in this dialog (not just password).

Activity

  1. cbucher commented on Jun 4, 2018

    @cbucher
    Owner

    image

    image

    Please, try this documented option.

  2. Bill-Stewart commented on Jun 4, 2018

    @Bill-Stewart
    Author

    Thank you. I had that option selected already. The trick is to leave the "run as" username blank in the tab configuration.

    I can now authenticate with the smartcard, but when I enter my PIN, I see the following error message, and the new tab does not open:

    Unable to create shared objects (reason: (SetEntriesInAcl)No mapping between account names and security IDs was done.
    )!

  3. cbucher commented on Jun 5, 2018

    @cbucher
    Owner

    Have you tried to logon with smartcard account?
    Verify if the smartcard account exists in your AD.
    Verify your account have permissions to read account properties form AD.

  4. Bill-Stewart commented on Jun 5, 2018

    @Bill-Stewart
    Author

    Hi Christophe, thanks for the reply. I use the smartcard to run applications using different credentials on a daily basis from this account, so I can use the smartcard in a normal manner everywhere else.

    This is my tab configuration:

    image

  5. cbucher commented on Jun 8, 2018

    @cbucher
    Owner

    Knowing that your smartcard works in other applications is no help.
    Smart card only store user/password. You/I don't know what others applications are doing with this account.

    Your user account (on witch ConsoleZ is running) cannot create security descriptor for the smartcard account.
    To understand why, we must understand :

    • if your account is too limited
      -- this is a domain account ?
      -- this is a local account ?
    • smartcard account has special purpose
      -- can you logon with smartcard account ?
      -- this is a domain account ?
  6. Bill-Stewart commented on Jun 8, 2018

    @Bill-Stewart
    Author

    Hi Christophe, thanks. The account that I start ConsoleZ with (my normal logon account) is a domain account but not member of local Administrators group - it is member of local Users group (by virtue of being member of Domain Users, which is member of local Users group).

    Smartcard user account is also a domain account, but it is a member of local Administrators group.

    I can use my normal logon account account to Shift+right click applications using the smartcard. The SysInternals ShellRunas tool also works.

    For example, I can use Shift+right click on a PowerShell icon and choose "Run as different user," insert smartcard, enter PIN, and PowerShell launches as the smartcard user.

  7. cbucher commented on Jun 14, 2018

    @cbucher
    Owner

    Hi

    Can you try this experimental version and report popups you can see during test.

  8. Bill-Stewart commented on Jun 19, 2018

    @Bill-Stewart
    Author

    Hi Christophe, when I run this experimental version, I now see three dialog boxes:

    image

    image

    image

  9. Bill-Stewart commented on Jul 31, 2018

    @Bill-Stewart
    Author

    I am now running Windows 10, build 1803. Same behavior as documented here (same error message).

  10. tamr commented on Mar 28, 2025

    @tamr

    image

    And if it silently crashes on "Run as", uncheck this option and that would fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions