Can no longer "Run as Administator"

Page 1 of 2 12 LastLast

  1. Posts : 100
    Windows 10
       #1

    Can no longer "Run as Administator"


    Hi,

    I just updated Win10 on my machine. It took well over an hour to run, and has added quite a nice selection of features. The minor (not!) problem though, as now I can't "Run as Administrator"! I see the option when right clicking the program, but if I click on it nothing happens (I used to get an alert, asking me if I wanted to do it). Are there any bits I can check? I really need it, as I'm doing a server move today, and need to edit the `hosts` file to check the site works, before we put the DNS live

    Cheers

    Andy
      My Computer


  2. Posts : 4,791
    Windows 11 Pro 64 Bit 22H2
       #2

    If you right click a program and choose Run As Administrator, Nothing will happen, the program will Run As Administrator just like you asked. If you have UAC turned off, you will not get the Alert asking if you want to run the program.
    How to Turn User Account Control On or Off in Windows 10 - Articulate Support
    User Account Control Step-by-Step Guide
      My Computer


  3. Posts : 100
    Windows 10
    Thread Starter
       #3

    Hi,

    I never used to have to do that. I would right click > Run as Administrator > click the confirm button the alert, and voila. It's literally this morning this has started (after the last update). I don't really want to turn off UAC fully, as that leaves me open to virus/malware/hacks :/

    UPDATE: I just tried disabling UAC, but no joy either.

    Cheers

    Andy
      My Computer


  4. Posts : 5,478
    2004
       #4

    Do you have any users that are members of administrators group? Run net localgroup administrators from command prompt to check..

    Code:
    Windows PowerShell
    Copyright (C) 2016 Microsoft Corporation. All rights reserved.
    
    PS C:\Windows\system32> net localgroup administrators
    Alias name     administrators
    Comment        Administrators have complete and unrestricted access to the computer/domain
    
    Members
    
    -------------------------------------------------------------------------------
    Hali
    Administrator
    The command completed successfully.
    
    PS C:\Windows\system32>
      My Computer


  5. Posts : 100
    Windows 10
    Thread Starter
       #5

    Thanks. Thisis what I get:

    Code:
    Microsoft Windows [Version 10.0.15063]
    (c) 2017 Microsoft Corporation. All rights reserved.
    
    
    C:\Users\Andy>net localgroup administrators
    Alias name     administrators
    Comment        Administrators have complete and unrestricted access to the computer/domain
    
    
    Members
    
    
    -------------------------------------------------------------------------------
    Administrator
    Andy
    The command completed successfully.
    
    
    
    
    C:\Users\Andy>
    Also, as an attempt to get the functionality back, I have uninstall the KB4022725 path (but not the other major Windows one). Unfortunately this still didn't help
      My Computer


  6. Posts : 5,478
    2004
       #6

    Not sure then, sorry. You could try rebooting, running sfc /scannow and/or make another user Andy2 (that is member of Administrators group) and see if any of those work.
      My Computer


  7. Posts : 100
    Windows 10
    Thread Starter
       #7

    Thanks. My brother who works in IT support at a local office, has said the update has caused mayhem at their office as well. Good job Microsoft :/
      My Computer


  8. Posts : 19,518
    W11+W11 Developer Insider + Linux
       #8

    Copy this to a text editor and save as InstallTakeOwnership.reg. It will make a RC entry.

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\*\shell\runas]
    @="Take Ownership"
    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\*\shell\runas\command]
    @="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
    "IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"

    [HKEY_CLASSES_ROOT\Directory\shell\runas]
    @="Take Ownership"
    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\Directory\shell\runas\command]
    @="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"
    "IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"
      My Computers


  9. Posts : 100
    Windows 10
    Thread Starter
       #9

    Thanks. Unfortunately I get this error when trying to run:


    Can no longer "Run as Administator"-2017-06-15-10-23-08.jpg

    I created it as a .txt file, then renamed it to the .reg, and then tried to run it

    Thanks

    Andy
      My Computer


  10. Posts : 19,518
    W11+W11 Developer Insider + Linux
       #10

    Here, you can pick it up here where I just sent it to: Zippyshare.com It's a .zip file with both, install/uninstall take ownership .reg files.
    P.S.
    Here it is also in Tutorials. Add Take Ownership to Context Menu in Windows 10 Windows 10 Customization Tutorials
      My Computers


 

  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:30.
Find Us




Windows 10 Forums