• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • 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

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
loosain
Asked:
loosain
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
cmd.exe for batch files
powershell.exe for .ps1 files
wscript.exe cscript.exe for .vbs files
0
 
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
0

Featured Post

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

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