Link to home
Start Free TrialLog in
Avatar of loosain
loosain

asked on

I have a very restricted PC (gpo - not batch or command shell). how can i run a batch from gpo during log off process ?

I have a very restricted computer on which only a few applications are allowed. Batch and the cmd shell is of course prohibited. How can I still run a cleaning-batch when logging off by using the gpo ?
It is a Win 10 pro without Server or domain. I use the local gpo for non-admins.
Avatar of loosain
loosain

ASKER

It is a problem of rights. So is there any cahnce or way to start the script with admin rights ? I can´t use the script with gpo-shutdown. i have to use gpo-loggoff. This is my problem, because there the skript uses the rights of the current user...
ASKER CERTIFIED SOLUTION
Avatar of NVIT
NVIT
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of loosain

ASKER

I did convert bat2exe an so i could use runas with credentials to higher my rights