Powershell script to automate run exe file
I have this script that is designed to automatically run an exe file in administrator mode everytime the user turn on the computer and login.
When I run the script as administrator, it runs and there's no problem appeared but when I restart the computer and then loging in, the exe file isn't run at all.
I found out that: The Script does run, however, in the
But even so, when I try to restart the computer, the exe file still isnt executed.
When I check for the action, it seems right since I did run that action in cmd myself and the exe file is run as expect.
The action is showed as below:
When I run the script as administrator, it runs and there's no problem appeared but when I restart the computer and then loging in, the exe file isn't run at all.
I found out that: The Script does run, however, in the
Task Scheduler Library it set as Queue, so I need to make it run manually in Task Scheduler Library.But even so, when I try to restart the computer, the exe file still isnt executed.
When I check for the action, it seems right since I did run that action in cmd myself and the exe file is run as expect.
The action is showed as below:
