• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Windows Login scripts

TMPadmin

Golden Member
I have a program I want to install using my login script. But through group policies I have locked out any .exe for all users. How can I elevate privileges for that install then take them away? I'm using GP's login script and have a different script just for the install. I'm sure there is a parameter but I don?t know it, nor can I find it. But I'm looking.

Thanks for any help!
 
Login scripts always run in the context of the logging in user. So you have two choices. You can either run the install in a Startup script (which runs as the LocalSystem account) or you can use a tool like CPAU which lets you run a process as another user account.
 
Originally posted by: mikecel79
Login scripts always run in the context of the logging in user. So you have two choices. You can either run the install in a Startup script (which runs as the LocalSystem account) or you can use a tool like CPAU which lets you run a process as another user account.

I thought there was a way to elevate privileges in a GP login script. I just read that it was possible but can't find the way. I have come across a few third party ways but would like to not get that involved.

Thanks!
 
Originally posted by: TMPadmin
Originally posted by: mikecel79
Login scripts always run in the context of the logging in user. So you have two choices. You can either run the install in a Startup script (which runs as the LocalSystem account) or you can use a tool like CPAU which lets you run a process as another user account.

I thought there was a way to elevate privileges in a GP login script. I just read that it was possible but can't find the way. I have come across a few third party ways but would like to not get that involved.

Thanks!
Login scripts will always run in the context of the user. Your thinking about Startup scripts. These run in the context of LocalSystem. I would look into them if you don't want to use a 3rd party utility.

 
Back
Top