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
90 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 24

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
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…

733 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