Start GPO script as administrator

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Start GPO script as administrator

Message par Clippy »

I need to install a software using a login script, which is distributed by the GPO.
Currently it is starting, but it is not run as an administrator, so the installation is not done.

How can I make this script run as an administrator in the login to install??

Note: All users have an administrator user, so it is okay to run with the current user as long as it is started "as administrator"
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: Start GPO script as administrator

Message par Clippy »

Any user configuration items, including login scripts are run with the user's permissions. In order to run a script (or software installation) with elevated permissions you need to either run it using Computer configuration, which will run as local system, or use group policy preferences to create a scheduled task and configure the desired credentials.
Répondre

Revenir à « Active Directory & Entra »