Recusa automática do prompt do UAC para binário e / ou caminho específicos

1

É possível recusar automaticamente os prompts do UAC de um binário ou caminho específico? (Como se o usuário tivesse clicado "não" ou como se o GPO estivesse configurado para recusar automaticamente)

    
por Zulgrib 24.12.2017 / 02:07

1 resposta

0

RunAsInvoker compatibilidade shim parece fazer o truque.

The RunAsInvoker compatibility fix enables an application to start by using the token inherited from the parent process. The RunAsInvoker fix overrules both installer detection and manifest processing, and will determine the elevation state for the entire application after it is applied.

The RunAsAdmin compatibility fix should be considered as a possible resolution if the application prompts for elevation, but can also run successfully as a Standard User. If the application is elevating because of installer detection, you should use the SpecificNonInstaller compatibility fix. If the application is elevating the current context because the developer included a manifest specifying the requireAdministrator run-level, then this compatibility fix should be used. This fix specifies that the application does not require elevation.

    
por 24.12.2017 / 03:25

Tags