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
64 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 23

Accepted Solution

by:
NVIT earned 500 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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
Note: This is the second blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   Every month t…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now