?
Solved

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

Posted on 2016-11-13
3
Medium Priority
?
142 Views
Last Modified: 2016-11-29
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.
0
Comment
Question by:loosain
  • 2
3 Comments
 

Author Comment

by:loosain
ID: 41885634
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...
0
 
LVL 25

Accepted Solution

by:
NVIT earned 2000 total points
ID: 41885743
> How can I still run a cleaning-batch when logging off by using the gpo... I use the local gpo for non-admins.

If you are not admin or don't have admin access, it can just clean the current user.
0
 

Author Closing Comment

by:loosain
ID: 41906593
I did convert bat2exe an so i could use runas with credentials to higher my rights
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article covers five tools all IT professionals should know about, as they up productivity by a great deal!
With more and more companies allowing their employees to work remotely, it begs the question: What are some of the security risks involved with remote employees and what actions should we take to secure them?
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question