Page 1 of 2 12 LastLast
  1.    15 Jun 2017 #1
    Join Date : Aug 2015
    Posts : 52
    Windows 10

    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 ComputerSystem Spec
  2.    15 Jun 2017 #2
    Join Date : Jun 2016
    Los Angeles
    Posts : 1,036
    Windows 10 Pro

    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 ComputerSystem Spec
  3.    15 Jun 2017 #3
    Join Date : Aug 2015
    Posts : 52
    Windows 10
    Thread Starter

    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 ComputerSystem Spec
  4.    15 Jun 2017 #4
    Join Date : Jul 2015
    Posts : 3,712
    10 Pro

    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 ComputerSystem Spec
  5.    15 Jun 2017 #5
    Join Date : Aug 2015
    Posts : 52
    Windows 10
    Thread Starter

    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 ComputerSystem Spec
  6.    15 Jun 2017 #6
    Join Date : Jul 2015
    Posts : 3,712
    10 Pro

    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 ComputerSystem Spec
  7.    15 Jun 2017 #7
    Join Date : Aug 2015
    Posts : 52
    Windows 10
    Thread Starter

    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 ComputerSystem Spec
  8.    15 Jun 2017 #8
    Join Date : Jul 2014
    Serbia
    Posts : 10,433
    W10 Insider + Linux

    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 ComputersSystem Spec
  9.    15 Jun 2017 #9
    Join Date : Aug 2015
    Posts : 52
    Windows 10
    Thread Starter

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


    Click image for larger version. 

Name:	2017-06-15 at 10-23-08.jpg 
Views:	19 
Size:	12.6 KB 
ID:	139575

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

    Thanks

    Andy
      My ComputerSystem Spec
  10.    15 Jun 2017 #10
    Join Date : Jul 2014
    Serbia
    Posts : 10,433
    W10 Insider + Linux

    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 ComputersSystem Spec

 
Page 1 of 2 12 LastLast


Similar Threads
Thread Forum
Context menu "Properties" uses "o" shortcut instead of "r"
One of our Win10 laptops has a context menu with "Properties" that uses shortcut key "r". The other uses key "o" which conflicts with "open". I have no idea how it got corrupted. Suggested locations in the registry for context menu doesn't list it....
General Support
Monitor taking longer and longer to "wake up" in the morning
Hello My Windows10 has suddenly started taking longer and longer for my monitor to come to life first thing in the morning. It now seems to take about 2 - 3 minutes! And it seems that I need to press the "Source" button on the screen as well....
Graphic Cards
DVD drives will no longer recognize discs after the latest "update"
I have two DVD-RW/CDR drives that will no longer recognize valid discs since the latest Windows 10 update. I upgraded from Win 7 just over a month ago, and they seemed to work fine. The system information shows that they are good drives, but they...
Drivers and Hardware
Solved "This app is no longer available" message every bootup
Hi, I had a windows 10 auto update the other day and since then the following message popsup in message centre everytime I bootup; This app is no longer available Intel widi is no longer available because it doesn't work on this...
Software and Apps
Devices no longer appear on "This PC" after upgrading Win8 to Win10
My external hard disks , and one MP3 player (all USB devices) are no longer recognized, nor appear on "This PC", after I upgraded my Windows 8.1 to Windows 10 OS. Other devices, such as my Android phone USB connection still works well. I made...
Drivers and Hardware
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 16:20.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums