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
66 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

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

In this guide, I outline 7 key steps to help technology professionals grow their careers. Whether you have been working in technology for 10 years or for 10 days, follow these steps to help you achieve your career goals and pursue your passions.
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…

808 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