Compatibility Privilege Level setting will not take


  1. Posts : 4
    Windows 7 Enterprise
       #1

    Compatibility Privilege Level setting will not take


    Hello I hope I chose the right sub for this question.

    I have been running Visual Studio as an administrator for quite a long time. The first time I launched it as an administrator, Windows remembered the setting and it's been that way ever since, which was actually a nice feature up until all my admin privs were revoked. Now I cannot launch VS at all without admin privs.

    Our Windows Administrator came over and tried checking and unchecking the "Run this program as an administrator" option, from the Compatibility tab for devenv.exe. He did this several times, plugging in his admin privs over and over again, but the setting never took. It still launches as Administrator every time and I can't use it.

    Anyone else seen this behavior? I've been googling around for half an hour and no solution yet.
      My Computer


  2. Posts : 1,049
    Windows 7 Pro 32
       #2

    Hi and welcome to SevenForums!

    Check in the shortcut tab too, button Advanced, there's a Run as administrator option there as well.
      My Computer


  3. Posts : 4
    Windows 7 Enterprise
    Thread Starter
       #3

    We actually considered that, which is why we focused on the actual executable, figuring if it wouldn't launch from there, it wouldn't launch from anywhere.

    The bizarre thing is the "Run program as Administrator" box was actually not checked initially. He said when he solved the problem for someone else, that he had to check it, verify that it took, then uncheck it and verify again.

    Now every time we uncheck it, click apply, click OK, then go back in to see if it took...it's checked again.
      My Computer


  4. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #4

    Hello Stonecoder, and welcome to Seven Forums.

    How odd. You might check to see if you may be able to use OPTION THREE below to remove it using the registry. :)

    Compatibility Mode
      My Computer


  5. Posts : 4
    Windows 7 Enterprise
    Thread Starter
       #5

    We actually uninstalled and re-installed the software, which worked at first but reverted back the next day.

    I solved it from the registry as suggested. This site provided the clue https://www.corelan.be/index.php/200...s-2008-server/

    The setting was in my specific user though, not HKEY_CURRENT_USER as the article suggests. A registry search for RUNASADMIN should fix it.
      My Computer


  6. Posts : 4
    Windows 7 Enterprise
    Thread Starter
       #6

    Brink's link would have also provided the clue and can be considered a solution. I missed Compatibility Mode link before.
      My Computer


  7. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #7

    Perfect. Glad we could help some. :)
      My Computer


 

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