Scheduling the Updater to run using a Group Policy ObjectΒΆ

  1. Create a script for running the Updater batch file (partner-update.bat) found under “[Partner]osWindowsterminal”
  1. Using notepad or another editor create a .vbs file with the code below (assuming that your Partner installation is located at “C:Partner”)
  1. Save this file [your_file_name].vbs in your GPO scripts folder
  2. Create a Scheduled Task in the GPO and point it to run the script created above at time intervals or schedules of your choosing. Be aware that it is best to update when the users are not using the Partner installation because they will potentially get kicked off and lose unsaved data. Make sure you select Run as Administrator, Enable it and any other settings you may need.

Here is the script:

Dim WshShell, fileSys
Set WshShell = WScript.CreateObject("WScript.Shell")
Set fileSys = CreateObject("Scripting.FileSystemObject")
if fileSys.FolderExists("C:\Partner\os\windows\terminal") then
    WshShell.CurrentDirectory =  "C:\Partner\os\windows\terminal"
    WshShell.run "partner-update.bat"
end if

Previous topic

Partner Installation via Windows Active Directory

Next topic

Process

This Page