• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 152
  • Last Modified:

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


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 ?
1 Solution
David Johnson, CD, MVPOwnerCommented:
cmd.exe for batch files
powershell.exe for .ps1 files
wscript.exe cscript.exe for .vbs files
loosainAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now