Unable to run command as administrator

Anonymous
2022-10-24T19:01:27+00:00

On my kid's computer, I am the administrator. But when I am logged in as my kid, then attempt to run something as an administrator, I get a dialog box like that shown below. It says, "To continue enter admin username and password". But as you can see, there is no way to continue, no place to enter a username or password. This certainly seems like a bug to me. Any ideas how I can run apps as an administrator on my kids PC?

FYI, this is the latest version of Windows 11.

Windows for home | Windows 11 | Security and privacy

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

11 answers

Sort by: Most helpful
  1. Anonymous
    2022-10-25T06:58:35+00:00

    Hello zBernie,

    Good to see you in Microsoft Community.

    Firstly, could you let me know the specific system version? Please check it (you can display it by pressing the Win key + R key, and entering "winver", then press Enter), and only send the relevant information without PII in the next reply.

    Did this happen in all applications or in specific applications (Windows built-in applications or third-party applications)?

    You can change the Windows User Account Control (UAC). Win*+* Q to open the search box, type "UAC" and press Enter*, open the "User Account Control Settings" interface, and then suggest that you set it to "Notify me only when apps try to make changes to my computer(default)", this is the default option.*

    Disclaimer*: Follow these steps to temporarily disable* User Account Control (UAC). However, keep in mind that if you do so, your device may be vulnerable to threats. So please turn on it immediately once the issue is fixed.

    You can then switch to log in to your administrator account and make sure that it is working properly (confirm its administrator rights). Open the Control Panel path as shown in the figure below, and then check whether there is the word Administrator under your account name.

    Image

    Meanwhile, you may Perform a clean boot, this is a mode of disabling third-party services or software, which could help rule out the interference of these elements.

    Disclaimer*: A “clean boot” starts Windows with a minimal set of drivers and startup programs. It helps to determine whether a background program is interfering with your game or program and to isolate the cause of a problem.*

    These steps of "clean boot" might look complicated at first glance. However, to avoid any trouble for you, please follow them in order and step-by-step so that it will help you get you back on track.

    If anything is unclear, please do not hesitate to let me know.

    Best Regards,

    Mosken_L - MSFT | Microsoft Community Support Specialist

    0 comments No comments
  2. Anonymous
    2022-10-25T14:09:42+00:00

    Okay, here's the deal -- When I'm logged into the computer using my kids account, then try to run something as administrator, it works as expected. BUT, when I remote into my kids computer using his account, then try to run something as administrator, I get the dialog box shown below. You can see the "Yes" button is missing, and there is no way to continue except press "No" and exit.

    This problem has nothing to do with third party software, I get the same dialog box shown below if I try to run a PowerShell script as administrator, or anything for that matter. Also, the UAC settings are set to the default.

    This is Windows 11 version: 22H2 OS Build 22621.674

    0 comments No comments
  3. Anonymous
    2022-10-27T09:53:12+00:00

    Hello zBernie,

    Good to see you in Microsoft Community.

    Have you tried temporarily disabling UAC (turning it to the minimum) and then seeing if it works?

    Disclaimer*: Follow these steps to temporarily disable* User Account Control (UAC). However, keep in mind that if you do so, your device may be vulnerable to threats. So please turn on it immediately once the issue is fixed.

    Meanwhile, please confirm your child's account type, is it a regular local account, a Microsoft account, or something else?

    And then how do you do it remotely? Using Windows Remote Desktop or third-party remote software?

    If anything is unclear, please do not hesitate to let me know.

    Best Regards,

    Mosken_L - MSFT | Microsoft Community Support Specialist

    0 comments No comments
  4. Anonymous
    2022-10-27T11:19:23+00:00

    It doesn't matter which setting I have User Account Control set at, I always get the broken dialog box shown below. This occurs when I remote into my kids computer using HIS account. If I log into the computer directly using HIS account, then try to run something which requires elevated privileges, I'm prompted to enter my admin account PIN, and it works.

    To clarify this only does not work when I'm remoted into my kids computer using his account.

    0 comments No comments
  5. VARADHARAJAN K 9,541 Reputation points Volunteer Moderator
    2022-10-27T11:55:30+00:00

    I think you created a KID account as a guest, so in the guest account, some applications cannot be installed.

    For a temporary solution, change the KID account to administrator account, then install that particular application, once installed, change back to a guest account.

    0 comments No comments