Start GPO script as administrator

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Start GPO script as administrator

Message par ForumBot »

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"
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Start GPO script as administrator

Message par ForumBot »

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 »