Use "Run as administrator" with UAC disabled

Page 1 of 3 123 LastLast

  1. Posts : 8
    Windows 7 Pro x32
       #1

    Use "Run as administrator" with UAC disabled


    If you have UAC enabled you can start a program with administrator rights using "Run as administrator". But after disabling UAC this entry has no effect any more. As instance on my computer a have two user accounts. One for Internet and one for local usage. But some apps on my internet account need admin rights. This is an workaround for that problem using Sysinternals' psexec:

    0) you need to have an (admin) account with a password set, it won't work without having set a password to that user, i call that user "Administrator" here
    1) Download Sysinternals "PsTools" here: PsTools (direct link: http://download.sysinternals.com/Files/PsTools.zip)
    2) Extract the zip file to "C:\Program files\PsTools"
    3) Check wether "psexec.exe" is within "C:\Program files\PsTools"
    4) Press Win+R and type "regedit"
    5) navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile"
    6) create a backup: right click the key "exefile" and "Export" it to any folder (remember that folder if my workaround doesn't work for you)
    7) navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\runas\command"
    8) change the value of the string "(Default)" to "C:\Program Files\PsTools\PsExec.exe" -i -d -u Administrator "%1""
    9) delete the string "IsolatedCommand" (don't delete the value only)
    10) you have finished :)

    When using "Run as administrator" now a console will appear where you have to enter the password of Administrator.

    Important note: While typing the password no letters or signs will be printed out at the console! Just type and press the enter key.

    If you sometimes have problems with this solution you can backup the changed "exefile" key. So you can easily import the original or the modded backup.

    @Admin: Please move this tutorial to the tutorials forum and delete this line
    Last edited by hedak; 05 Sep 2010 at 15:29. Reason: Explained why to use this tutorial
      My Computer


  2. Posts : 3,612
    Operating System : Windows 7 Home Premium Edition 6.01.7600 SP1 (x64)
       #2

    i have uac disabled and in my context menu i still have the option "Run as administrator" ? are you saying the when you click it does not "Run as administrator" i am the only user on my machine so this has no relevance to single users?
      My Computer


  3. Posts : 409
    Win 10 Home Premium 64 Bit
       #3

    brianzion said:
    i have uac disabled and in my context menu i still have the option "Run as administrator" ? are you saying the when you click it does not "Run as administrator" i am the only user on my machine so this has no relevance to single users?
    ive never had to set anything "run as admin" everything i run has full admin rights it seems by default , i dont have UAC enabled and im the only user so maybe thats why , but ive never been troubled with any issues regarding admin rights even using command prompt
      My Computer


  4. Posts : 5,642
    Windows 10 Pro (x64)
       #4

    Here is a much easier way. Turn UAC on.
      My Computer


  5. Posts : 409
    Win 10 Home Premium 64 Bit
       #5

    logicearth said:
    Here is a much easier way. Turn UAC on.
    I cant , i hate it , its a waste of time and energy and as annoying as hell Just another pointless piece of software to fool us into thinking our pc's are safe in microsofts hands , i can set my firewall to be just as annoying if i want

    i have friends who are pc savvy they disable it as a matter of course with zero issues , i have family members who are not as savvy leave it switched on and call me up at least once a month to remove all the rogue software from thier pc's , waste of time , or they ring me up all the time "my pc is asking for permission to do such and such what do i do?"..........................................well you start by disabling UAC :)
      My Computer


  6. Posts : 4,466
    Windows 10 Education 64 bit
       #6

    I also have UAC turned off. It's an annoyance I can do without. I also still have the "run as administrator" context menu item and I have never had to use it.
      My Computer


  7. Posts : 8
    Windows 7 Pro x32
    Thread Starter
       #7

    With UAC disabled you still have "Run as administrator" in your context menu. But it doesnt work. On my computer a have two user accounts. One for Internet and one for local usage. But some apps on my internet account need admin rights. But as i said "Run as administrator" had no effect, because UAC is disabled.
      My Computer


  8. Posts : 3,612
    Operating System : Windows 7 Home Premium Edition 6.01.7600 SP1 (x64)
       #8

    archie123 said:
    logicearth said:
    Here is a much easier way. Turn UAC on.
    I cant , i hate it , its a waste of time and energy and as annoying as hell Just another pointless piece of software to fool us into thinking our pc's are safe in microsofts hands , i can set my firewall to be just as annoying if i want

    i have friends who are pc savvy they disable it as a matter of course with zero issues , i have family members who are not as savvy leave it switched on and call me up at least once a month to remove all the rogue software from thier pc's , waste of time , or they ring me up all the time "my pc is asking for permission to do such and such what do i do?"..........................................well you start by disabling UAC :)
    i agree its to much security and annoying if you have a decent security suite that should protect you
      My Computer


  9. Posts : 6,285
    Windows 10 Pro X64
       #9

    Maybe this will help: Vista: "Run as..." while UAC disabled - Vista Security

    Basically says Run as Administrator is a part of UAC and when UAC is disabled, RaS no longer does anything. The the "runas" command-line tool still exists and can be used.
      My Computer

  10.    #10

    Is there a reason why you would want Users prompted to "Run As Adminstrator" yet not want even a minimum level of UAC turned on?

    I know UAC is annoying and turn it off for my own installs or set to lowest for other installs. And it does indeed then disable Run as Admin making it the same as far as I can tell as running as hidden Admin.

    Perhaps the OP has other Users he doesn't want installing Programs. Yet doesn't want constant nag messages about what he is doing.

    They way I explain UAC to newbies is it might stop an internet intruder from running a program by asking you first, so dont' approve action you are not taking yourself at that moment. But most of the time it just asks you if you want to do what you are doing at the moment.

    Others?
      My Computer


 
Page 1 of 3 123 LastLast

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

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