Solved

if "only allow certain applications" is actived in gpo, there are no batch-files running afer logon. which application should i add to get this running

Posted on 2016-11-13
2
58 Views
Last Modified: 2016-11-29
Hi,

i activated in my gpo the point "only allow certain applications". there are inserted a few apps (winword, explorer, cmd). But i need a script running at logon (not at startup). So if i activate this certain gpo setting, my script doesn´t start. If i deactivate this setting, the script runs without any problem. Which application have to add at the gpo to get my script running ?
0
Comment
Question by:loosain
2 Comments
 
LVL 79

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 41885818
cmd.exe for batch files
powershell.exe for .ps1 files
wscript.exe cscript.exe for .vbs files
0
 

Author Closing Comment

by:loosain
ID: 41906595
i didn´t want to allow cmd.exe. But i could forbit cmd by gpo and also add it to allwed applications in gpo -> user gets message that cmd isn´t allowed to use and he cant use it, but logoff scripts works fine
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

How can you create a game plan that lets you focus on special projects instead of running from cubicle to cubicle every day and feeling like you’ve accomplished nothing? Try these strategies for prioritizing your tasks, offloading what you can, and …
Scenario: Your operations manager has discovered an anomaly in your security system. The business will start to suffer within 15 minutes if it is a major IT incident. What should she do? We have 6 recommendations for managing major incidents (https:…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

786 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