Scripts to prompt for input
Have scripts to prompt for input. for example, if I wanted to create a new local user and add to the administrators group. I would run a script but have it prompt for the username and/or password.
I have a script created and I can either have a set password for all my clients, BAD, or edit the script for each client I would like it ran on, not ideal.
-
Matt Shephard commented
... or you could use the built-in {[VariableName]} syntax to provide that value when scheduling...
That's what I did. I pass params for Username, Password, and Domain (optional for adding domain user as local admin; default '.') and the script checks if the user already exists, creating it if local and it doesn't, and adds it to the Administrators localgroup.
Something along those lines would be my advice rather than risk having scripts get caught up indefinitely because we're waiting on a user to provide input on a hidden window......