@Detected said in Remote restart in BAS:
Is there any way I can do this remotely?
I do not see any problem here.
Here's the workflow:
- You make some changes to the BAS script.
- You deploy the updated script to a location on the internet.
- On every Windows host running some custom script, there is a process that checks whether the script on the internet has been updated or not.
- If the script detects an update, it clicks the stop button in BAS, waits for the current process to finish, and then restarts it.
Such a script can be implemented using tools like Microsoft Power Automate, pywinauto, or any other similar automation tools.