Obtaining a list of all programs that are run with elevated privileges


  1. Posts : 4
    Windows 7 Ultimate x64
       #1

    Obtaining a list of all programs that are run with elevated privileges


    Anybody has any idea, how to obtain a complete list of EXEs that have the setting "run as an administrator" enabled? Obviously checking them manually one by one isn't a solution. Just point me in general direction (registry path, group policies, file attribute...). I'm stuck. Thanks.
      My Computer


  2. Posts : 2,497
    Windows 7 Pro 64 bit
       #2

    Welcome to the forum.

    Most executable files, including exe, cpl, msc, and more, will have this option. The context menu provides the option based on the file extension. This includes old DOS executables that predate UAC.
      My Computer


  3. Posts : 4
    Windows 7 Ultimate x64
    Thread Starter
       #3

    Thank you, I know that. But the setting does not modify the binary itself. It has to be saved somewhere and by that I do not mean a tick box in GUI, I mean where this mark is physically saved, e.g. some registry key, or within NTFS itself (like compression and/or encryption, etc.). That is what I need to know and am unable to google out.
      My Computer


  4. Posts : 4
    Windows 7 Ultimate x64
    Thread Starter
       #4

    I decribe my problem more generally: I have a Win7 PC to fix, which after malware infection remains in a state when various executables have "elevated rights" option enabled. Randomly over all hard drive. That causes UAC prompt to pop up, when running Word, for example. I will not resort to turning UAC off because of security, nor can't I let it in this state either, for same reason. Manually unticking them all one-by-one would inflame my index finger.. :) So I am looking for some easy way, short of complete reinstall (which is not needed, PC is clean and runs fine, except for this).
      My Computer


  5. Posts : 4
    Windows 7 Ultimate x64
    Thread Starter
       #5

    So, I have found it! How could I miss it? For info, it's here:
    Code:
    HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
    for current user

    and
    Code:
    HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
    for all users. You can close this thread.
      My Computer


  6. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #6

    Just a thought.

    You might consider a Clean Install again. Any infection that has changed that many permission settings can be lingering in your system.

    I know you posted your system is clean. I personally would not take the chance.
    I would also change all passwords to everything. (Banking, credit cards ect.) With all those permissions changed, your passwords may already be gathered.

    I would change the passwords using another known clean computer.
      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 06:46.
Find Us