How do I see what my admin privileges are?

Page 2 of 2 FirstFirst 12

  1. Posts : 16
    Windows 10
    Thread Starter
       #11

    Try3 said:
    Is there a specific job that you have in mind?

    Windows 10 Admin users & elevated Standard users [i.e temporarily Admin users] can change the time, mess about with drivers, ...

    Denis
    One client computer is not able to connect to the main printer that the other clients use, so I was going to try and install/reinstall the printer drivers to see if that fixes the issue. I was attempting to do this on the client's computer while logged in to my admin account, but 'User Account Control' prompts for a user name and password before the installation file is run. When I enter my admin login credentials, it says that my privileges need to be elevated, which I find weird considering that I am a part of the 'Built-in' and 'Key' admin groups.

    Also I am unable to adjust the 'User Account Control' settings on the client computer. And it does not matter if I run a program as administrator on that computer.
      My Computer


  2. Posts : 16,966
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #12

    machinegod9000 said:
    "User Account Control" prompts for a user name and password before the installation file is run
    As I think you know, that should only happen for a Standard user account trying to run an Admin command.
    An Admin should only get prompted with a dialog containing Yes, No buttons.

    Everybody calls these dialogs "Admin prompts". I've given their correct names below just for info. A generic name used by MS to refer to either of them is "ElevationUI".

    1 CredentialUI [Std account]


    2 ConsentUI [Admin account]


    machinegod9000 said:
    Also I am unable to adjust the "User Account Control" settings on the client computer. And it does not matter if I run a program as administrator on that computer.
    That is not working as it should.

    If you run the command
    Cmd prompt -
    Code:
    net user %UserName%
    PS window -
    Code:
    net user $env:username
    does the line
    Local Group Memberships
    confirm that you are part of the Administrators group?

    If so then I'd say there was a serious error in that Windows 10 installation.
    You'll need to switch to a functioning Admin account on the computer to try these repair tools but I've never seen anybody report this fault before so I don't know if they will be sufficient:
    Option 3 of SFC-DISM - TenForumsTutorials
    SFC can report irreparable errors and the note at the end of Option 3 gives you a DISM command to run in order to let Windows find replacement files. You must be connected to the internet at the time for it to search for replacements.
    If you do get irreparable errors then extract the SFC results list using Option 5 of the tutorial. That should produce a list that is small enough to post.
    Repair Install - TenForumsTutorials
    Despite its name, a Repair install is a repair procedure not an installation. The installed applications & user files should not be affected. I would always make a new system image before running a Repair install.


    Best of luck,
    Denis
      My Computer


  3. Posts : 16
    Windows 10
    Thread Starter
       #13

    Try3 said:
    As I think you know, that should only happen for a Standard user account trying to run an Admin command.

    If you run the command
    Cmd prompt -
    Code:
    net user %UserName%
    PS window -
    Code:
    net user $env:username
    does the line
    Local Group Memberships
    confirm that you are part of the Administrators group?
    The results from PowerShell is situated strangely.

    However, the results from CMD are organized, and it does confirm what groups I belong to.

    How do I see what my admin privileges are?-screenshot.png

    I had to run the lines from the server tower. The lines did not work when run from a normal desktop computer.
      My Computer


  4. Posts : 16,966
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #14

    machinegod9000 said:
    I had to run the lines from the server tower as the lines did not work when run on a normal desktop computer.
    I know nothing about Server.

    So what was the response when you ran the command on a Windows 10 computer?

    In a Windows 10 computer, not a Server, the command
    Code:
    net user
    should give a list of all usernames so you can pick out your own Admin account on that computer
    then you run
    Code:
    net user whatevertheusernameis
    so if it is fred
    Code:
    net user fred
    if the username is ready and waiting
    Code:
    net user "ready and waiting"

    These command should always work on any Windows 10 computer so if they continue to fail I suggest logging in to a working Admin account on that computer other than the one you tried before and then try the commands again.



    Denis
      My Computer


  5. Posts : 16
    Windows 10
    Thread Starter
       #15

    Try3 said:
    I know nothing about Server.

    So what was the response when you ran the command on a Windows 10 computer?

    In a Windows 10 computer, not a Server, the command
    Code:
    net user
    should give a list of all usernames so you can pick out your own Admin account on that computer
    then you run
    Code:
    net user whatevertheusernameis
    so if it is fred
    Code:
    net user fred
    if the username is ready and waiting
    Code:
    net user "ready and waiting"
    Denis
    When I type 'net user' into CMD (client side) it gives me the name of another admin, who I assumed would have elevated privileges. It shows me his name even though I'm logged into my account.

    How do I see what my admin privileges are?-default-account.jpg

    Just today I was given his login credentials (username and password) and used it when the 'User Account Control' prompted when trying to run a driver update for the printer on a client's computer. So when I use his credentials, the prompt accepts them - which confirms what I assumed.

    Just a reminder, my credentials do not work when inputting them into the 'User Account Control' prompt even though I'm an admin.

    I'm going to investigate as to why this is because I should have the same privileges. I'm going to use his credentials when logging into the server tower and see if there is something I can change with my admin privileges. I'm wondering if the 'DefaultAccount' part has anything to do with it.
    Last edited by machinegod9000; 27 Oct 2022 at 13:15.
      My Computer


  6. Posts : 16,966
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #16

    Net user lists all accounts. It does not matter which one you are logged into; it shows them all.
    It also lists a few other entries that Windows handles as accounts because its designers decided to do it that way: DefaultAccount, WDAGUtilityAccount, [sometimes these relics of OEM setting up procedures] defaultuser0 / defaultuser1

    What are you talking about in your last post? The Administrator entry?
    The Windows 10 account with the UserName Administrator is the Built-in Admin account.
    It is has UAC turned off by default but is otherwise the same as any other Admin user account.
    The Windows 10 Built-in Admin exists for one reason & one reason only, to be enabled by Windows to appear on the Safe mode login screen if Windows cannot detect any other Admin account on the computer.


    Denis
      My Computer


  7. Posts : 16
    Windows 10
    Thread Starter
       #17

    I figured it out.

    So when I looked into the profile of the previous IT admin (on Server Manager), I see that he is part of the 'Domain Admin' group, which I was not included in - but now I am. :)

    I can now use my log-in credentials to bypass the 'User Account Control' prompt.

    Thanks, for everyone's help.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:52.
Find Us




Windows 10 Forums