From LedHed's Wiki
(Created page with "== Overview == Sometimes you need to run a command or script on all workstations. The logical choice is to use a Logon/Startup Script. The problem is that this repeats every t...") |
|||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
− | Sometimes you need to run a command or script on all workstations. The logical choice is to use a Logon/Startup Script. The problem is that this repeats every time a user boots/logs on. | + | Sometimes you need to run a command or script on all workstations. The logical choice is to use a Logon/Startup Script. The problem is that this repeats every time a user boots/logs on. There is a simple solution using Group Policy Prefrences. Create a "Scheduled Task" (User Pref or Computer Pref depending on your needs), under actions put in your command, Set the task to Run Once. |
− | + | Preferences\Control Panel Settings\Scheduled Task\New Immediate Task (Win 7+) | |
+ | Set the usual task stuff, user, action, etc... Then under the Common tab [x] Apply once and do not reapply. | ||
+ | Done! | ||
[[Category:Group_Policy]] | [[Category:Group_Policy]] |
Revision as of 00:01, 16 March 2016
Overview
Sometimes you need to run a command or script on all workstations. The logical choice is to use a Logon/Startup Script. The problem is that this repeats every time a user boots/logs on. There is a simple solution using Group Policy Prefrences. Create a "Scheduled Task" (User Pref or Computer Pref depending on your needs), under actions put in your command, Set the task to Run Once.
Preferences\Control Panel Settings\Scheduled Task\New Immediate Task (Win 7+) Set the usual task stuff, user, action, etc... Then under the Common tab [x] Apply once and do not reapply.
Done!