Run as administrator -> This file does not have a program associated..

Page 1 of 2 12 LastLast
  1.    09 May 2016 #1

    Run as administrator -> This file does not have a program associated..


    There seems to be a permanent "Run as administrator" entry in my right-click context menu. If I click on this for anything but an executable or shortcut to an executable, Windows 10 throws the below error, even if I do have a program associated with the file type.

    Click image for larger version. 

Name:	Untitled.png 
Views:	49 
Size:	3.9 KB 
ID:	78953
      My ComputerSystem Spec

  2. davidhk's Avatar
    Posts : 5,251
    windows 10 Home threshold2
       09 May 2016 #2

    Not sure what you want......................
    Would you want to get rid of the Run As Admin ?
    If yes, use this tutorial :
    http://www.sevenforums.com/tutorials...ndows-7-a.html

    Step 3 To Remove "Run as administrator" from the Context Menu
      My ComputerSystem Spec

  3.    10 May 2016 #3

    Why would you want to open a non-exectable file with administrator rights ? That was never an option.
      My ComputersSystem Spec

  4.    10 May 2016 #4

    Some software patches require the need to choose run-as-admin.
      My ComputerSystem Spec

  5.    10 May 2016 #5

    This is a wild guess -- are you attempting to use explorer.exe to tree-climb, pick something, click on that something? If so, it's possible that your explorer.exe operations are corrupt. I can fix Windows 7 when this happens, however, I do not know how to fix Windows 8+ or 10, if it is indeed an explorer.exe corruption problem.
      My ComputerSystem Spec

  6.    29 May 2016 #6

    There seems to be some confusion about this ... so, here are a couple screen-shots to help show what's happening.

    The first one shows me right-clicking on a TXT file. You'll notice the option for "Run as administrator". If I opt for this, it will generate the error from my original post.
    Click image for larger version. 

Name:	Untitled.png 
Views:	5 
Size:	29.3 KB 
ID:	82255

    The second one shows me right-clicking on an EXE file. It also has "Run as administrator". If I opt for this, it will work as expected.
    Click image for larger version. 

Name:	Untitled2.png 
Views:	5 
Size:	29.9 KB 
ID:	82256

    It's worth noting that this computer is an upgrade from Windows 7, and not a clean install.

    Windows 7 never had the option to "Run as administrator" for anything but executable files. I have no clue where this option is coming from in Win10.
      My ComputerSystem Spec

  7. Brink's Avatar
    Posts : 34,471
    64-bit Windows 10 Pro build 18290
       29 May 2016 #7

    Hello Itwally, :)

    You shouldn't have "Run as administrator" on a non executable file like a .log file. This is why you are getting the error.

    It seems like you may have used something that added "Run as administrator" to the context menu of all files?

    If you like, downloading and merging the .reg file below should remove "Run as administrator" from the context menu of .log files. If you have any other file types this happens with afterwards, then please let me know what they are, and I'll modify the .reg file to include them as well.

    Remove_bad_Run_as_administrator.reg
      My ComputersSystem Spec

  8.    02 Jun 2016 #8

    Brink said: View Post
    Hello Itwally, :)

    You shouldn't have "Run as administrator" on a non executable file like a .log file. This is why you are getting the error.

    It seems like you may have used something that added "Run as administrator" to the context menu of all files?

    If you like, downloading and merging the .reg file below should remove "Run as administrator" from the context menu of .log files. If you have any other file types this happens with afterwards, then please let me know what they are, and I'll modify the .reg file to include them as well.

    Remove_bad_Run_as_administrator.reg
    Brink,

    Run as admin is available or all file types. I'm fairly certain it was not under Windows 7.

    I looked over your REG file, and allowed it to modify the registry. No dice. Wherever this context menu entry is coming from, it isn't HKCR\* or HKCR\.log

    Thanks
      My ComputerSystem Spec

  9. Brink's Avatar
    Posts : 34,471
    64-bit Windows 10 Pro build 18290
       02 Jun 2016 #9

    In that case, use the Find and Find next feature in Registry Editor to search for runas to see what locations it's under. Post them here, and I'll be happy to take a look to see what shouldn't be there before deleting anything.
      My ComputersSystem Spec

  10.    02 Jun 2016 #10

    I don't get Run as administrator for any but executable files.
      My ComputersSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
What I don't understand is why with administrator rights, I can't access or delete files or even save files to the Windows folder. I also don't have the option if I right click to run File Explorer with Administrator rights. 29268 If I...
When I launch a recent folder or any folder linked on the pinned taskbar icon for File Explorer it launches what appears to cmd.exe with "Administrator" and the folder path in the top bar. the folder is also displayed in the command prompt itself....
How to Add 'Run as administrator' to MSI File Context Menu in Windows 10 Some legitimate applications require a full administrator access token (elevated) to perform their functions or tasks. For example, when a program that you are trying to run...
How to Add 'Run as administrator' to VBS File Context Menu in Windows 10 Some legitimate applications require a full administrator access token (elevated) to perform their functions or tasks. For example, when a program that you are trying to run...
In Windows 8.1 i can easily elevate all program to run as administrator via Local Policy. in Windows 10. when i use that method most of metro apps even setting and control panel screw up because they using metro GUI instead windows GUI.
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 11:05.
Find Us