Windows Update with BatchPatch Service

BatchPatch Forums Home Forums BatchPatch Support Forum Windows Update with BatchPatch Service

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8748
    SCT
    Participant

    I try to install windows updates with batchpatch service on the same host where batchpatch is running.

    I create following task:

    Check for available updates

    Download and install updates + reboot always

    Wait 10 minutes

    Wait 10 minutes

    Wait for host to be detected online

    Get stopped automatic services

    But the host will not restart. After install updates the host start with ‘wait 10 minutes’.

    Thank you for help.

    #9956
    doug
    Moderator

    The standard reboot commands that BatchPatch issues are executed through WMI. Most versions of Windows will not allow a WMI reboot to be executed on the localhost. You will generally see in BatchPatch:

    Reboot/Shutdown: Privilege not held.

    To have BatchPatch reboot the computer that is running BatchPatch you would have to use a different reboot method. I believe ‘shutdown.exe /r /f /t 0’ will work on the localhost. That said, if/when the reboot occurs the job queue would still be killed. The subsequent steps in the job queue will not ever be executed if the computer that is running BatchPatch is rebooted.

    #12172
    dcri1
    Participant

    Hi Guys,

    I’m looking to do the same here – understand that obviously once a reboot has been initiated for localhost, Batchpatch process is going to be terminated so won’t execute any further steps, but is there a way to trigger the reboot only if there’s a pending reboot? ie: an action equivalent to “Get pending reboot status + reboot if required (shutdown /r /f /t 0)”?

    Cheers

    #12184
    doug
    Moderator

    @dcri1 – The job queue already contains ‘Get pending reboot status + reboot if required (normal)’ and ‘Get pending reboot status + reboot if required (force)’.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.