Windows 11 terminal admin elevation does not work

Pavel yannara Mirochnitchenko 11,716 Reputation points MVP
2021-12-05T11:23:13.347+00:00

I have Win10 and Win11 managed devices via Intune and for admin tasks, I use additional accounts which has AzureAD role assigned like Device Local Administrators. In Win10, elevating admin rights and executing run as admin works fine, in Win11 it doesn't. In Windows 11, after couple of tries entering admin credits via UAC, I get:

"The application cannot be started for the target user. Please login as the user and explicitly install this package."

So that terminal command line must be installed seperetly or something? Is this a bug?

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,242 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,376 questions
{count} vote

14 answers

Sort by: Most helpful
  1. Pavel yannara Mirochnitchenko 11,716 Reputation points MVP
    2021-12-14T05:55:46.103+00:00

    157267-image.png

    So this is the situation, I can't use Windows Terminal with admin previleges. I ensured, that no speicial security features was applied on the Win11 machine, excluded security baseline and everything. I also tried the same thing with local admin account (no Azure), same behavior! But my collegue has a Win11 home computer where he can launch it like that.

    0 comments No comments

  2. Pavel yannara Mirochnitchenko 11,716 Reputation points MVP
    2021-12-14T10:58:04.13+00:00

    I installed manual Win11 computer without Intune & Azure AD management and I get the same error!

    0 comments No comments

  3. Pavel yannara Mirochnitchenko 11,716 Reputation points MVP
    2022-02-24T09:43:50.243+00:00

    I have tested this again, "home" computer installed via MS account and added secondary local account, the Windws Terminal UAC works. But if the computer is imported to Intune and managed with MDM, it doesn't.


  4. pilgi3 21 Reputation points
    2022-03-23T11:41:07.687+00:00

    In the last Insider Preview Microsoft has changed back to Windows Powershell in WinX menu (Thank you!)
    186069-grafik.png

    0 comments No comments

  5. Pavel yannara Mirochnitchenko 11,716 Reputation points MVP
    2022-09-20T20:32:09.52+00:00

    Since new build is released, could someone try this, is this issue fixed or not? :D