Quantcast
Channel: Spiceworks Community - Latest topics
Viewing all articles
Browse latest Browse all 182860

Group Policy / Scheduled Task / Shutdown

$
0
0

Hi

I am running a script that initiates a shutdown and prompts the logged on user whether or not to cancel it.

If I run the script manually it works fine.

If I manually create a Scheduled Task on my computer, and run it as 'Users' it works fine.

However, I cannot create a scheduled task in group policy that will accomplish this for all computers. The shutdown process will initiate, but the user prompt to cancel does not appear. I have tried various different accounts to run it as, system, builtin users, authenticated users, local service, %LogonUser% etc.

Any help would be much appreciated.

Thanks

Mark

EDIT -

I've just got this working by creating the gp scheduled task in the user section, enabling 'run in logged-on user's security contect' on the task, and also enabling loopback processing.


Viewing all articles
Browse latest Browse all 182860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>