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
73 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 80

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

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

Suggested Solutions

Title # Comments Views Activity
How to set share permission on folders - Everyone Permission 20 48
size of file 1 22
Merging text files strings with filename 18 40
WMIC Output Formatting 1 43
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…
There's a better way to communicate time sensitive or critical info.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

740 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