I’m developing a Windows service which will run at a specific time every day. What will happen if multiple users are logged in to that machine? Will it run 5 times at the same time if there’re 5 users logged in? If it does, is there a way to prevent it?
Share
A windows service is installed machine-wide and runs under one specified user account, which may in fact not be a “user,” but “Local System” or “Network Service” or similar.
The service will run only once without regard to logged on users. In fact, it will run if the computer is on, even if no user has logged on.