GPO Script – How to Start as Administrator

batchgroup-policywindows

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"

Best Answer

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.