I have one small program that creates windows and sql users called "login.exe"
I need a way to open the program, and click on the button "Create" and after X seconds close the program.
Is there any good way to do it? for example, execute the script every day at midnight, the program will open, click "Create" then waits 10 sec, and close the program.
It would be great if someone can help me with it because windows keep losing some users created after some time like every month I have to run that program.