Sounds like you've got a software restriction policy in place. If you do, add the path to the script to your allow list. Something like \\servername\share\*.bat should work.
Guys, I have a pretty restrictive user based GPO that is used to lockdown some Kiosk workstations.
On this workstation I need to apply a "legacy logn script" that is a batch file.
When the logon scipt exectures I get the following message as I've disabled the command prompt.
"The command prompt has been disabled by your administrator"
"Press any key to coninue... "
Is there any way that I can allow the batch file to run even though the command prompt is disabled?
Sounds like you've got a software restriction policy in place. If you do, add the path to the script to your allow list. Something like \\servername\share\*.bat should work.