-1

Running a Win 2016 server with one application that can only be used by one user at a time. I have a prioritized user account on the server. When that user logs in, he should always be able to start that specific application.

My idea was to make a logon script that kills the applications task for all users. That way my prioritzed user will be able to start up the application.

I've not succeeded creating that logon script. Can anyone help me or advice me to any other solution?

HenrikGX
  • 3
  • 1

1 Answers1

0

Check taskkill command

E.g. taskkill /im "process.exe"

Make sure the script is running with local admin rights and in elevated mode ("Run with the highest privileges" check in Task Scheduler).

J-M
  • 1,930
  • 1
  • 11
  • 17