service only when os is locked???

is there a way to run services only when the computer is locked or the logon srceen is active?
sir_riusAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
jhanceConnect With a Mentor Commented:
Services run any time the computer is booted, logged on, logged off, screen locked, it doesn't matter.

Now if you want some services to only do some kind of work when the computer is in some state, you can detect the interactive user's condition and do the appropriate thing.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.