Skip to content

Instantly share code, notes, and snippets.

@xee5ch
Created March 15, 2011 19:17
Show Gist options
  • Save xee5ch/871264 to your computer and use it in GitHub Desktop.
Save xee5ch/871264 to your computer and use it in GitHub Desktop.
As it was the first time.
<?xml version="1.0" encoding="utf-8"?>
<ScheduledTasks clsid="{CC63F200-7309-4ba0-B154-A71CD118DBCC}"><TaskV2 clsid="{D8896631-B747-47a7-84A6-C155337F3BC8}" name="Microsoft Security Essential Signatures Update" image="2" changed="2010-07-02 21:09:28" uid="{E5D86319-E56E-4779-ABF9-317E99558479}" userContext="0" removePolicy="0"><Properties action="U" name="Microsoft Security Essential Signatures Update" runAs="NT AUTHORITY\SYSTEM" logonType="Password"><Task version="1.3"><RegistrationInfo><Author>ADPARENT\ajs67.a</Author><Description>This task from GPP Scheduled Tasks will make sure that MSE periodically checks for updated anti-virus signatures.</Description></RegistrationInfo><Principals><Principal id="Author"><UserId>NT AUTHORITY\SYSTEM</UserId><LogonType>Password</LogonType><RunLevel>LeastPrivilege</RunLevel></Principal></Principals><Settings><IdleSettings><Duration>PT5M</Duration><WaitTimeout>PT1H</WaitTimeout><StopOnIdleEnd>false</StopOnIdleEnd><RestartOnIdle>false</RestartOnIdle></IdleSettings><MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy><DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries><StopIfGoingOnBatteries>false</StopIfGoingOnBatteries><AllowHardTerminate>true</AllowHardTerminate><StartWhenAvailable>true</StartWhenAvailable><AllowStartOnDemand>true</AllowStartOnDemand><Enabled>true</Enabled><Hidden>false</Hidden><WakeToRun>true</WakeToRun><ExecutionTimeLimit>PT0S</ExecutionTimeLimit><Priority>7</Priority></Settings><Triggers><CalendarTrigger><StartBoundary>2010-03-01T03:00:00</StartBoundary><Enabled>true</Enabled><ScheduleByDay><DaysInterval>1</DaysInterval></ScheduleByDay></CalendarTrigger>
<BootTrigger><Enabled>true</Enabled></BootTrigger></Triggers><Actions><Exec><Command>"%PROGRAMFILES%\Microsoft Security Essentials\MpCmdRun.exe"</Command><Arguments>/SignatureUpdate</Arguments></Exec>
</Actions></Task></Properties></TaskV2>
<TaskV2 clsid="{D8896631-B747-47a7-84A6-C155337F3BC8}" name="Microsoft Security Essentials Weekly Virus Scan" image="2" changed="2010-07-02 21:09:45" uid="{A8F202D2-1264-46B2-85FB-C64FF334D54C}" userContext="0" removePolicy="0"><Properties action="U" name="Microsoft Security Essentials Weekly Virus Scan" runAs="NT AUTHORITY\SYSTEM" logonType="Password"><Task version="1.3"><RegistrationInfo><Author>ADPARENT\ajs67.a</Author><Description>An automated command line scan of the workstation set by a GPP Scheduled Task.</Description></RegistrationInfo><Principals><Principal id="Author"><UserId>NT AUTHORITY\SYSTEM</UserId><LogonType>Password</LogonType><RunLevel>LeastPrivilege</RunLevel></Principal></Principals><Settings><IdleSettings><Duration>PT5M</Duration><WaitTimeout>PT1H</WaitTimeout><StopOnIdleEnd>false</StopOnIdleEnd><RestartOnIdle>false</RestartOnIdle></IdleSettings><MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy><DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries><StopIfGoingOnBatteries>false</StopIfGoingOnBatteries><AllowHardTerminate>true</AllowHardTerminate><AllowStartOnDemand>true</AllowStartOnDemand><Enabled>true</Enabled><Hidden>false</Hidden><WakeToRun>true</WakeToRun><ExecutionTimeLimit>PT4H</ExecutionTimeLimit><Priority>7</Priority></Settings><Triggers><CalendarTrigger><StartBoundary>2010-03-01T03:00:00</StartBoundary><Enabled>true</Enabled><ScheduleByWeek><WeeksInterval>1</WeeksInterval><DaysOfWeek><Sunday/></DaysOfWeek></ScheduleByWeek><ExecutionTimeLimit>PT4H</ExecutionTimeLimit></CalendarTrigger>
</Triggers><Actions><Exec><Command>"%PROGRAMFILES%\Microsoft Security Essentials\MpCmdRun.exe"</Command><Arguments>/Scan /ScanType 2</Arguments></Exec>
</Actions></Task></Properties></TaskV2>
<TaskV2 clsid="{D8896631-B747-47a7-84A6-C155337F3BC8}" name="Modify CDTree Permissions" image="2" changed="2010-07-01 14:00:07" uid="{278E3FA5-3D48-4404-A277-1DA1D1C3A27B}" userContext="0" removePolicy="0" desc="This will look for the CDTree's MSI package identifying number, {9BD08DD4-A166-4295-8B58-94A4FFC1D66C}, and fix the permissions on the file if found. ajs67 on Thu 07/01/2010 9:59:53.07"><Properties action="U" name="Modify CDTree Permissions" runAs="NT AUTHORITY\SYSTEM" logonType="InteractiveToken"><Task version="1.3"><RegistrationInfo><Author>ADPARENT\ajs67.a</Author><Description>CDTree will incorrectly write temporary files to the %PROGRAMFILES% directory when used in conjuction with helper applications. This is resolved by changing folder permissions. ajs67 Thu 07/01/2010 9:40:06.12</Description></RegistrationInfo><Principals><Principal id="Author"><UserId>NT AUTHORITY\SYSTEM</UserId><LogonType>InteractiveToken</LogonType><RunLevel>HighestAvailable</RunLevel></Principal></Principals><Settings><IdleSettings><Duration>PT5M</Duration><WaitTimeout>PT1H</WaitTimeout><StopOnIdleEnd>false</StopOnIdleEnd><RestartOnIdle>false</RestartOnIdle></IdleSettings><MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy><DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries><StopIfGoingOnBatteries>false</StopIfGoingOnBatteries><AllowHardTerminate>false</AllowHardTerminate><AllowStartOnDemand>false</AllowStartOnDemand><Enabled>true</Enabled><Hidden>false</Hidden><ExecutionTimeLimit>PT0S</ExecutionTimeLimit><Priority>7</Priority></Settings><Triggers><BootTrigger><Enabled>false</Enabled><StartBoundary>2010-07-01T09:44:53</StartBoundary></BootTrigger>
</Triggers><Actions><Exec><Command>%WINDIR%\system32\cacls.exe </Command><Arguments>"%PROGRAMFILES%\NCBI\CDTree\CDTree 3.0\cn3dFiles" /E /G Administrators:F Users:W /R Everyone</Arguments></Exec>
</Actions></Task></Properties><Filters><FilterRunOnce hidden="1" not="0" bool="AND" id="{9A346931-4203-4644-81FA-FEB45DAFBE41}"/>
<FilterMsi bool="AND" not="0" type="PRODUCT" subtype="EXISTS" code="{9BD08DD4-A166-4295-8B58-94A4FFC1D66C}" item="" value="" min="0.0.0.0" max="0.0.0.0" gte="1" lte="0"/></Filters></TaskV2>
<TaskV2 clsid="{D8896631-B747-47a7-84A6-C155337F3BC8}" name="Rename Shortcut Directory" image="2" changed="2010-07-02 18:21:24" uid="{E3892D4B-6FFC-4B3C-9DD5-B94BC84A42CD}" userContext="0" removePolicy="0"><Properties action="U" name="Rename Shortcut Directory" runAs="NT AUTHORITY\SYSTEM" logonType="InteractiveToken"><Task version="1.3"><RegistrationInfo><Author>ADPARENT\ajs67.a</Author><Description>The image has inadvertently included GU Applications instead of BACC Applications. This policy item will fix this. ajs67 on Fri 07/02/2010 14:03:22.61</Description></RegistrationInfo><Principals><Principal id="Author"><UserId>NT AUTHORITY\SYSTEM</UserId><LogonType>InteractiveToken</LogonType><RunLevel>HighestAvailable</RunLevel></Principal></Principals><Settings><IdleSettings><Duration>PT5M</Duration><WaitTimeout>PT1H</WaitTimeout><StopOnIdleEnd>false</StopOnIdleEnd><RestartOnIdle>false</RestartOnIdle></IdleSettings><MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy><DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries><StopIfGoingOnBatteries>false</StopIfGoingOnBatteries><AllowHardTerminate>false</AllowHardTerminate><AllowStartOnDemand>true</AllowStartOnDemand><Enabled>true</Enabled><Hidden>false</Hidden><ExecutionTimeLimit>PT0S</ExecutionTimeLimit><Priority>7</Priority></Settings><Triggers><BootTrigger><Enabled>true</Enabled></BootTrigger></Triggers><Actions><Exec><Command>%WINDIR%\system32\cmd.exe</Command><Arguments>/c ren "%SYSTEMDRIVE%\Users\Public\Desktop\GU Applications" "BACC Applications"</Arguments><WorkingDirectory>%WINDIR%\System32</WorkingDirectory></Exec>
</Actions></Task></Properties></TaskV2>
<Task clsid="{2DEECB1C-261F-4e13-9B21-16FB83BC03BD}" name="Disable Local Administrator Account" image="2" changed="2010-06-09 20:40:12" uid="{39DB47CB-8FB1-436E-B9B3-18CA4C5F9331}" userContext="0" removePolicy="0"><Properties deleteWhenDone="0" startOnlyIfIdle="0" stopOnIdleEnd="0" noStartIfOnBatteries="1" stopIfGoingOnBatteries="1" systemRequired="0" action="U" name="Disable Local Administrator Account" appName="%WINDIR%\System32\net.exe" args="user Administrator /active:no" startIn="%WINDIR%\System32" comment="GPP User configuration failed without specifying obscured (not encrypted) password. This is less risky in terms of security and will disable the default local administrator account." enabled="1"><Triggers><Trigger interval="1" type="STARTUP" startHour="13" startMinutes="00" beginYear="2010" beginMonth="6" beginDay="9" hasEndDate="0" repeatTask="0"/></Triggers></Properties></Task>
<Task clsid="{2DEECB1C-261F-4e13-9B21-16FB83BC03BD}" name="Flash 101 Upgrade" image="3" changed="2010-08-30 15:07:27" uid="{19072273-4825-415D-8368-3DDD0865FA96}" userContext="0" removePolicy="0"><Properties deleteWhenDone="0" startOnlyIfIdle="0" stopOnIdleEnd="0" noStartIfOnBatteries="1" stopIfGoingOnBatteries="1" systemRequired="0" action="D" name="Flash 101 Upgrade"><Triggers><Trigger interval="1" type="STARTUP" startHour="13" startMinutes="00" beginYear="2010" beginMonth="6" beginDay="14" hasEndDate="0" repeatTask="0"/></Triggers></Properties></Task>
<TaskV2 clsid="{D8896631-B747-47a7-84A6-C155337F3BC8}" name="Add Legacy Menu Item Support for Adobe Bridge CS5 " image="2" changed="2010-07-01 14:23:16" uid="{B8877C2A-D524-4AA0-AF66-AAE8822F0983}" userContext="0" removePolicy="0" desc="This will look for the MSI package identifying number (GUID), {A2F8E73C-691C-4F5D-AFE3-EB30C99521B6}. If found, it will run this command. ajs67 on Thu 07/01/2010 9:29:28.65"><Properties action="U" name="Add Legacy Menu Item Support for Adobe Bridge CS5" runAs="NT AUTHORITY\SYSTEM" logonType="InteractiveToken"><Task version="1.3"><RegistrationInfo><Author>ADPARENT\ajs67.a</Author><Description>This will add the menu items for legacy plug-ins. See the other scheduled task for more details. ajs67 on Wed 06/30/2010 15:22:14.60</Description></RegistrationInfo><Principals><Principal id="Author"><UserId>NT AUTHORITY\SYSTEM</UserId><LogonType>InteractiveToken</LogonType><RunLevel>HighestAvailable</RunLevel></Principal></Principals><Settings><IdleSettings><Duration>PT10M</Duration><WaitTimeout>PT1H</WaitTimeout><StopOnIdleEnd>true</StopOnIdleEnd><RestartOnIdle>false</RestartOnIdle></IdleSettings><MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy><DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries><StopIfGoingOnBatteries>true</StopIfGoingOnBatteries><AllowHardTerminate>false</AllowHardTerminate><AllowStartOnDemand>true</AllowStartOnDemand><Enabled>true</Enabled><Hidden>false</Hidden><ExecutionTimeLimit>PT0S</ExecutionTimeLimit><Priority>7</Priority></Settings><Actions><Exec><Command>%WINDIR%\System32\xcopy.exe</Command><Arguments>/y /i /e "\\uis-clg-2.addomain.adparent.domain.tld\swdist\Adobe Photoshop\CS5 Extended\Win32\Optional Plug-Ins\Bridge Startup Scripts" "%COMMONPROGRAMFILES%\Adobe\Startup Scripts CS5\Adobe Photoshop"</Arguments></Exec></Actions><Triggers><BootTrigger><Enabled>true</Enabled></BootTrigger></Triggers></Task></Properties><Filters><FilterMsi bool="AND" not="0" type="PRODUCT" subtype="EXISTS" code="{A2F8E73C-691C-4F5D-AFE3-EB30C99521B6}" item="" value="" min="0.0.0.0" max="0.0.0.0" gte="1" lte="0"/></Filters></TaskV2>
<TaskV2 clsid="{D8896631-B747-47a7-84A6-C155337F3BC8}" name="Install Adobe Photoshop CS5 Additional Plug-ins" image="2" changed="2010-07-01 14:23:28" uid="{1684413C-FD70-4315-87F8-F041713874A8}" userContext="0" removePolicy="0" desc="This will look for the MSI package identifying number (GUID), {A2F8E73C-691C-4F5D-AFE3-EB30C99521B6}. If found, it will run this command. ajs67 on Thu 07/01/2010 9:29:28.65"><Properties action="U" name="Install Adobe Photoshop CS5 Additional Plug-ins" runAs="NT AUTHORITY\SYSTEM" logonType="InteractiveToken"><Task version="1.3"><RegistrationInfo><Author>ADPARENT\ajs67.a</Author><Description>Install additional Photoshop CS5 legacy plug-ins, per request by Taffy McKeon (ktm4). ajs67 on Wed 06/30/2010 15:05:01.08</Description></RegistrationInfo><Principals><Principal id="Author"><UserId>NT AUTHORITY\SYSTEM</UserId><LogonType>InteractiveToken</LogonType><RunLevel>HighestAvailable</RunLevel></Principal></Principals><Settings><IdleSettings><Duration>PT5M</Duration><WaitTimeout>PT1H</WaitTimeout><StopOnIdleEnd>false</StopOnIdleEnd><RestartOnIdle>false</RestartOnIdle></IdleSettings><MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy><DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries><StopIfGoingOnBatteries>false</StopIfGoingOnBatteries><AllowHardTerminate>false</AllowHardTerminate><AllowStartOnDemand>true</AllowStartOnDemand><Enabled>true</Enabled><Hidden>false</Hidden><ExecutionTimeLimit>PT0S</ExecutionTimeLimit><Priority>7</Priority></Settings><Triggers><BootTrigger><Enabled>true</Enabled></BootTrigger></Triggers><Actions><Exec><Command>%WINDIR%\System32\xcopy.exe</Command><Arguments>/y /i /e "\\uis-clg-2.addomain.adparent.domain.tld\swdist\Adobe Photoshop\CS5 Extended\Win32\Optional Plug-Ins\Win32" "%PROGRAMFILES%\Adobe\Adobe Photoshop CS5\Plug-ins\Automate"</Arguments></Exec>
</Actions></Task></Properties><Filters><FilterMsi bool="AND" not="0" type="PRODUCT" subtype="EXISTS" code="{A2F8E73C-691C-4F5D-AFE3-EB30C99521B6}" item="" value="" min="0.0.0.0" max="0.0.0.0" gte="1" lte="0"/></Filters></TaskV2>
<TaskV2 clsid="{D8896631-B747-47a7-84A6-C155337F3BC8}" name="Install Adobe Photoshop CS5 Additional Presets" image="2" changed="2010-08-30 15:16:09" uid="{C2BB02ED-D592-426D-AF2F-E6B8FA98C89A}" userContext="0" removePolicy="0" desc="This will look for the MSI package identifying number (GUID), {A2F8E73C-691C-4F5D-AFE3-EB30C99521B6}. If found, it will run this command. ajs67 on Thu 07/01/2010 9:29:28.65"><Properties action="U" name="Install Adobe Photoshop CS5 Additional Presets" runAs="NT AUTHORITY\SYSTEM" logonType="InteractiveToken"><Task version="1.3"><RegistrationInfo><Author>ADPARENT\ajs67.a</Author><Description>Install additional Photoshop CS5 legacy presets for request plug-ins, per request by Taffy McKeon (ktm4). See additional scheduled tasks for more details. ajs67 on Wed 06/30/2010 15:05:01.08</Description></RegistrationInfo><Principals><Principal id="Author"><UserId>NT AUTHORITY\SYSTEM</UserId><LogonType>InteractiveToken</LogonType><RunLevel>HighestAvailable</RunLevel></Principal></Principals><Settings><IdleSettings><Duration>PT5M</Duration><WaitTimeout>PT1H</WaitTimeout><StopOnIdleEnd>false</StopOnIdleEnd><RestartOnIdle>false</RestartOnIdle></IdleSettings><MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy><DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries><StopIfGoingOnBatteries>false</StopIfGoingOnBatteries><AllowHardTerminate>false</AllowHardTerminate><AllowStartOnDemand>true</AllowStartOnDemand><Enabled>true</Enabled><Hidden>false</Hidden><ExecutionTimeLimit>PT0S</ExecutionTimeLimit><Priority>7</Priority></Settings><Triggers><BootTrigger><Enabled>true</Enabled></BootTrigger></Triggers><Actions><Exec><Command>%WINDIR%\System32\xcopy.exe</Command><Arguments>/y /i /e "\\uis-clg-2.addomain.adparent.domain.tld\swdist\Adobe Photoshop\CS5 Extended\Win32\Presets\Layouts" "%PROGRAMFILES%\Adobe\Adobe Photoshop CS5\Presets\Layouts"</Arguments></Exec>
</Actions></Task></Properties><Filters><FilterMsi bool="AND" not="0" type="PRODUCT" subtype="EXISTS" code="{A2F8E73C-691C-4F5D-AFE3-EB30C99521B6}" item="" value="" min="0.0.0.0" max="0.0.0.0" gte="1" lte="0"/></Filters></TaskV2>
<TaskV2 clsid="{D8896631-B747-47a7-84A6-C155337F3BC8}" name="Install Photoshop CS5" image="3" changed="2010-08-30 15:16:04" uid="{DE2048B9-D6ED-460B-A7D5-B3CAE2B1F9FC}"><Properties action="D" name="Install Photoshop CS5" runAs="NT AUTHORITY\SYSTEM" logonType="Password"><Task version="1.2"><RegistrationInfo><Author>ADPARENT\ajs67.a</Author><Description></Description></RegistrationInfo><Principals><Principal id="Author"><UserId>NT AUTHORITY\SYSTEM</UserId><LogonType>Password</LogonType><RunLevel>HighestAvailable</RunLevel></Principal></Principals><Settings><IdleSettings><Duration>PT10M</Duration><WaitTimeout>PT1H</WaitTimeout><StopOnIdleEnd>true</StopOnIdleEnd><RestartOnIdle>false</RestartOnIdle></IdleSettings><MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy><DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries><StopIfGoingOnBatteries>true</StopIfGoingOnBatteries><AllowHardTerminate>true</AllowHardTerminate><StartWhenAvailable>false</StartWhenAvailable><RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable><AllowStartOnDemand>true</AllowStartOnDemand><Enabled>true</Enabled><Hidden>false</Hidden><RunOnlyIfIdle>false</RunOnlyIfIdle><WakeToRun>false</WakeToRun><ExecutionTimeLimit>P3D</ExecutionTimeLimit><Priority>7</Priority></Settings><Triggers><BootTrigger><Enabled>true</Enabled><StartBoundary>2010-08-30T11:14:48</StartBoundary></BootTrigger>
</Triggers><Actions><Exec><Command>"C:\Windows\System32\msiexec.exe"</Command><Arguments>/i "\\uis-clg-2.addomain.adparent.domain.tld\SWDIST\Adobe Photoshop\CS5 Extended\Win32\Build\Photoshop CS5 Installer for DML BACC.msi" /qn</Arguments></Exec>
</Actions></Task></Properties></TaskV2>
<TaskV2 clsid="{D8896631-B747-47a7-84A6-C155337F3BC8}" name="Daily Profile Cleanup" image="2" changed="2011-03-15 18:19:46" uid="{AAD362A5-A6B8-4BEE-8A0B-20BC73F50449}" disabled="1"><Properties action="U" name="Daily Profile Cleanup" runAs="NT AUTHORITY\SYSTEM" logonType="Group"><Task version="1.3"><RegistrationInfo><Author>ADPARENT\ajs67.a</Author><Description></Description></RegistrationInfo><Principals><Principal id="Author"><RunLevel>HighestAvailable</RunLevel><GroupId>NT AUTHORITY\SYSTEM</GroupId><LogonType>InteractiveToken</LogonType></Principal></Principals><Settings><IdleSettings><Duration>PT5M</Duration><WaitTimeout>PT1H</WaitTimeout><StopOnIdleEnd>false</StopOnIdleEnd><RestartOnIdle>false</RestartOnIdle></IdleSettings><MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy><DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries><StopIfGoingOnBatteries>false</StopIfGoingOnBatteries><AllowHardTerminate>true</AllowHardTerminate><StartWhenAvailable>true</StartWhenAvailable><AllowStartOnDemand>true</AllowStartOnDemand><Enabled>true</Enabled><Hidden>false</Hidden><WakeToRun>true</WakeToRun><ExecutionTimeLimit>PT4H</ExecutionTimeLimit><Priority>7</Priority></Settings><Triggers><CalendarTrigger><StartBoundary>2011-03-16T04:00:00</StartBoundary><Enabled>true</Enabled><ScheduleByDay><DaysInterval>1</DaysInterval></ScheduleByDay><RandomDelay>PT1H</RandomDelay></CalendarTrigger></Triggers><Actions><Exec><Command>%WinDir%\System32\wbem\WMIC.exe</Command><Arguments>/output:stdout path win32_userprofile where loaded !=true delete</Arguments></Exec>
</Actions></Task></Properties></TaskV2>
</ScheduledTasks>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment