Create TaskScheduler_Import.xml#15
Open
FrenzyTheory wants to merge 1 commit intoEvanAnderson:masterfrom
Open
Conversation
change path to ts_block.vbs when you import this into task scheduler, this will will launch ts_block.vbs everytime a login attempt happens. no need to run as service.
Owner
|
Running as a service seems like a lot cleaner way to run the ts_block script than this method, to me. The service can be started / stopped easily through the service control manager API, whereas starting the script as a task, like this, isn't going to make it as easy to interact with. You definitely wouldn't want to restart ts_block each time a logon occurred, because that would result in a bunch of instances of the script running (chewing up memory, etc). It looks like your XML file is allowing multiple instances of the script to run. That's really, really not going to do what you want. I think I'm going to pass on merging this one. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
change path to ts_block.vbs when you import this into task scheduler, this will launch ts_block.vbs everytime a login attempt happens. no need to run as service.