C
C#9mo ago
Sean

Pop up exe doesn’t run on log in

I have a batch login script that runs for all users in my OU. This script runs a Windows Forms app I wrote in C#. I have built the app and I now have an exe file that runs the C# app. For some reason, when a user logs on to a PC, the batch file does run, but my exe won’t. When I try to re-run the batch file manually (after I have logged in), it does run the exe as meant. Any idea why could this happen?
2 Replies
Moods
Moods9mo ago
It might be a permission issue, you can add logs to the script to trace the issue
Sean
SeanOP9mo ago
I am able to access the logon server and run the bat file under any user, and the exe works without any issue. When AD runs the logon script it runs under the same user, but for some reason it still won’t work. Could it be a dependency issue? Maybe the referenced DLLs don’t load properly?
Want results from more Discord servers?
Add your server