Q: "Always Run as Administrator" and software plugin files


  1. Posts : 258
    Windows Home Premium (64)
       #1

    Q: "Always Run as Administrator" and software plugin files


    If I set a program (.exe file) to "Always Run as Administrator", as described in this tutorial: Run as Administrator, are those elevated privileges passed onto plugins (.dll files) that the program may load?

    If not, is there a way to assign those elevated privileges to the .dll files so that they can write to those areas? (Other than turning User Account Control off completely.)

    I am thinking of Digital Audio Workstation host programs, which may load several synth and FX plugins. Some of those plugins would wish to write into sub-folders in the ...\Program Files folder.
      My Computer


  2. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
       #2

    DarkStar GT said:
    Some of those plugins would wish to write into sub-folders in the ...\Program Files folder.
    Hi DarkStar,

    I speak under correction here, and I hope others will correct me if I am wrong, but I think the answer is NO because the \Program Files folder is protected by the UAC function.

    Have you tried your program if UAC is turned down one notch from the default setting?

    Regards,
    Golden
      My Computer


  3. Posts : 1,261
    Windows 7 Professional 32-bit SP1
       #3

    Golden said:
    DarkStar GT said:
    Some of those plugins would wish to write into sub-folders in the ...\Program Files folder.
    Hi DarkStar,

    I speak under correction here, and I hope others will correct me if I am wrong, but I think the answer is NO because the \Program Files folder is protected by the UAC function.

    Have you tried your program if UAC is turned down one notch from the default setting?

    Regards,
    Golden
    Actually, if a program is run as Administrator, then any processes it spawns will also be run as Administrator. This is why programs should not be run as Administrator unless absolutely necessary.
      My Computer


  4. Posts : 2,039
    Several, including Windows 7 x64 Ultimate
       #4

    DarkStar GT said:
    If I set a program (.exe file) to "Always Run as Administrator", as described in this tutorial: Run as Administrator, are those elevated privileges passed onto plugins (.dll files) that the program may load?
    Yes. So be careful what plugins you use, some VST and other stuff can be quite nasty! :)

    Not always a good idea to "Run as Administrator", especially if you can avoid it.

    Regards....Mike Connor
      My Computer


  5. Posts : 258
    Windows Home Premium (64)
    Thread Starter
       #5

    Yes, I'd like to avoid it too.

    A couple of examples;
    (a) IK Multimedia products write into ...Program Files\IK Multimedia\<productname>\Presets and ...\Preferences
    (b) Toontrack's EZPlayer writes into ...\Program Files\Toontrack\EZplayer\Mounts
      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 03:56.
Find Us