From LedHed's Wiki
Jump to: navigation, search
 
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. 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.
+
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.
  
 
Preferences\Control Panel Settings\Scheduled Task\New Immediate Task (Win 7+)
 
Preferences\Control Panel Settings\Scheduled Task\New Immediate Task (Win 7+)
Line 6: Line 6:
  
 
Done!
 
Done!
 
  
  
 
[[Category:Group_Policy]]
 
[[Category:Group_Policy]]

Latest 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.

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!