Windows 10: Elevating to administrator not possible when standard user log in via RDP

Discus and support Elevating to administrator not possible when standard user log in via RDP in Windows 10 Network and Sharing to solve the problem; I am using Remote Desktop to connect to another Windows 10 machine - which I log in with a standard user.Sometimes I wish to run tasks eg installing... Discussion in 'Windows 10 Network and Sharing' started by WRD313, Sep 7, 2021.

  1. WRD313 Win User

    Elevating to administrator not possible when standard user log in via RDP


    I am using Remote Desktop to connect to another Windows 10 machine - which I log in with a standard user.Sometimes I wish to run tasks eg installing updated software or running command prompt as admin requiring administrator privileges. f I log into the desktop with a standard user not via RDP, running as administrator will prompt me to enter the user name and password of the administrator which I provide, and then press "yes" and then I will have the required admin privleges to complete the task..But if logged into RDP as a standard user and I try to "run as administrator" ... it will d

    :)
     
    WRD313, Sep 7, 2021
    #1

  2. Elevating/Accquiring the Admin Token in Administrator vs Standard Accounts in Windows

    I've recently been confused by how UAC works between Standard accounts and Administrator accounts,

    As we all know, when UAC is turned on, UAC allows Standard Accounts or Administrator accounts in Admin Approval Mode to gain access to the administrator token in order to perform tasks that require administrative access to the machine - allowing us to switch
    tokens without switching users,

    However, it appears that switching tokens is not really what happens: A while ago, I ran an application that would modify the shell (explorer.exe). I ran the program in a Standard Account, but it needed elevated access: therefore, I used UAC to supply admin
    credentials so it could complete. I did not seen any change to the shell; I then logged into the administrator account whose credentials I used and I saw that the shell in that account had been changed, which was obviously not what I wanted

    It appeared to me that UAC was just basically a "Run-as user" type deal where it actually ran the program as that user. This meant that I wasn't just running it elevated: I was literally running the program as that user,

    My question is: is it possible for a standard account to use the administrator token but actually run the program as a standard user and use the current user's profile? Otherwise, it seems to me that if you need to do any administrator tasks, you are pretty
    much required to log in to an administrator account which defeats the whole purpose of UAC - since UAC runs a program as the administrator, rather than using just the administrator rights,

    Is this separation of token and profile possible? Or do all users just have to be administrators in that case? It seems to me this would account for many organizations just granting full administrator access to all users,

    Can someone please shed some light on this?

    I would like to know if it would have been possible to supply an administrator token to the said program, but run that program in the current user account, not the user account of the administrator whose credentials were supplied - in other words, would it
    have been possible to modify the shell in the Standard account with that program? The goal would be to launch the process as the logged in user (regardless of current privileges) with administrative rights, not as a process under an account with admin rights.

    I am not referring to Admin Approval Mode or how UAC works. I already know that if UAC is set to a secure setting, even Administrators will be prompted and unless it is turned off, administrators use the standard token by default. I am talking about when
    the administrator token is gained, is it possible to still run the process as the logged in user, just with the admin token? (not using Run As 'user' but maybe something like run as/with 'token'), etc... In this way, it would be using generic administrative
    privileges rather than one user's administrative privileges.

    Is this at all possible, or have I just pointed out a feature not in Windows by design or something?

    Would I, to achieve the goal described here, have to perhaps turn the standard account into an administrator account any time anything that requires elevation needs to be done, and then turn it back into a standard account when done? Based on comments, it appears
    that this is not possible and that seems to be a flaw in the OS because it makes UAC basically useless.

    Hope this makes sense,
     
    InterLinked CEO, Sep 7, 2021
    #2
  3. skim33 Win User
    User Account Control displays administrator names

    Hi Devlin,

    Thank you for replying and for taking the time to help me with this. I made the suggested adjustments for the standard user and it does prompt me to enter credentials, but only for the password. The username portion of the prompt displays both of the admin
    accounts (names) I created on the machine. If possible I would like to have the prompt with blank boxes for the user name and the password.
     
    skim33, Sep 7, 2021
    #3
  4. Elevating to administrator not possible when standard user log in via RDP

    Standard user account created shows Administrator on Windows 10

    Hello,



    Thank you for posting on Microsoft Community. We regret the inconvenience caused and will assist you in resolving the issue.



    Before assisting further, I would like to ask you few questions:

    • Are you logging in using a Microsoft account on any of the created two user accounts?
    • Have you created 2 local account with administrative privileges on the computer?


    Please be informed that Local user account as well as
    Microsoft user account
    can be considered as Standard user account. A
    Standard user account is the user account which do not have any administrative privileges.



    It is possible to create two or more accounts with administrative privileges on computers running with Windows 10 operating system.



    If you want to convert one of the user account as a standard account, I suggest you to follow the steps below and check if the issue is resolved.



    • Press Windows logo key on the keyboard, type Control panel in the search box and select the top most search result.
    • Select User Accounts and click on Change account type
      from the window.
    • Click on the user account and select Change the Account type option.
    • Select Standard and click on Change account type
      button from the window.
    • Close the window and check if the changes are effective.


    Write to us with the answers to the above questions and the status of the issue on the same post for further assistance. Your reply is most important for us to ensure we assist you accordingly.



    Thank you.
     
    Likhitha V, Sep 7, 2021
    #4
Thema:

Elevating to administrator not possible when standard user log in via RDP

Loading...
  1. Elevating to administrator not possible when standard user log in via RDP - Similar Threads - Elevating administrator possible

  2. how do I log in as administrator as a standard user ?

    in Windows 10 Gaming
    how do I log in as administrator as a standard user ?: I tried searching youtube tutorials but none of them work.I need help please. https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-log-in-as-administrator-as-a-standard/33150091-3070-45cc-a303-748419fb6f18
  3. how do I log in as administrator as a standard user ?

    in Windows 10 Software and Apps
    how do I log in as administrator as a standard user ?: I tried searching youtube tutorials but none of them work.I need help please. https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-log-in-as-administrator-as-a-standard/33150091-3070-45cc-a303-748419fb6f18
  4. Is it possible to Change from Standard User back to Administrator

    in Windows 10 Gaming
    Is it possible to Change from Standard User back to Administrator: I recently unwittingly changed my user status from administrator to standard user and can not now perform some of the administrator functions i.e DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /RestoreHealth or use...
  5. Is it possible to Change from Standard User back to Administrator

    in Windows 10 BSOD Crashes and Debugging
    Is it possible to Change from Standard User back to Administrator: I recently unwittingly changed my user status from administrator to standard user and can not now perform some of the administrator functions i.e DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /RestoreHealth or use...
  6. Is it possible to Change from Standard User back to Administrator

    in Windows 10 Software and Apps
    Is it possible to Change from Standard User back to Administrator: I recently unwittingly changed my user status from administrator to standard user and can not now perform some of the administrator functions i.e DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /RestoreHealth or use...
  7. Elevate only user on laptop to administrator

    in Windows 10 Software and Apps
    Elevate only user on laptop to administrator: My kid 12 yrs has a laptop win 10. I would like to give him administrative rights.Under accounts there is no "Family and Other" setting, which is often referred to when addressing this problem.There is no other account visible, so there is no administrator that can give him...
  8. Elevate only user on laptop to administrator

    in User Accounts and Family Safety
    Elevate only user on laptop to administrator: My kid 12 yrs has a laptop win 10. I would like to give him administrative rights.Under accounts there is no "Family and Other" setting, which is often referred to when addressing this problem.There is no other account visible, so there is no administrator that can give him...
  9. Run application as administrator account, when logged in as standard user without providing...

    in AntiVirus, Firewalls and System Security
    Run application as administrator account, when logged in as standard user without providing...: I have an application that needs to be run as administrator to function correctly. The account that needs to run this is a user account. I have found a number of discussions on how to do this and a lot have pointed to creating a shortcut akin to the below: runas...
  10. Higher Power Consumption when not logged into via RDP?

    in Windows 10 Ask Insider
    Higher Power Consumption when not logged into via RDP?: [ATTACH] Hey Guys I'm running a small home "server" PC constisting of a AMD 3400G, B450 Tomahawk and 16GB RAM. At softwareside it's running Windows 10 1903, Newest AMD driver and it's balanced Power Plan. The PC is running headless, if I need to check something I login...