[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
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
?
128 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Ready to get certified? Check out some courses that help you prepare for third-party exams.
A new hacking trick has emerged leveraging your own helpdesk or support ticketing tools as an easy way to distribute malware.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

649 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