From LedHed's Wiki
Revision as of 00:01, 16 March 2016 by Ledhed (Talk | contribs)

Jump to: navigation, search

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!