Skip to main content

Introduction

This document is an implementation of the Agnostic content developed by Chris Calverly for ProVal Technologies, designed by Dan Hicks.

Overview

This implementation will initiate a feature upgrade on the target endpoint and force that endpoint to reboot 30 minutes after completion. After the upgrade process is finished, the status of the upgrade will be verified, and the endpoint will be added to the relevant view. Upgrade status is stored in the registry and an event. There is an optional Agent Procedure included that will schedule the installation without a reboot. This no-reboot option will also be applied to machines in the FAILURE status by the policy.

Included Content

NameContent TypeDescription
Windows 10 Feature UpgradeAgent ProcedureThis procedure launches the upgrade process
Windows 10 Feature Upgrade (No Reboot)Agent ProcedureThis procedure will fire on machines that fail the first attempt. Can also be run manually
Registry CheckAgent ProcedureFired hourly until the installation status shows success or failure. Updates the CF
Update-Windows10PowerShell ScriptAgnostic content to perform Windows 10 Feature Upgrades.
Windows 10 Feature Upgrade Reattempt on FailPolicyFires the No Reboot script on machines that failed the initial attempt
xPVAL Windows Feature Upgrade EventEvent SetMonitors for the completion event and fires the registry check to force-update the CF
?Machine Custom FieldContains the upgrade status
xPVAL Feature Upgrade Status [REBOOT PENDING]ViewEndpoints that have run the no-reboot script.
xPVAL Feature Upgrade Status [FAILURE]ViewEndpoints that have failed the upgrade process
xPVAL Feature Upgrade Status [IN PROGRESS]ViewEndpoints currently running either AP
xPVAL Feature Upgrade Status [SUCCESS]ViewEndpoints that have successfully upgraded
xPVAL Feature Upgrade Status [ALL]ViewAll endpoints that have run either AP.

Implementation

  1. Create the Machine Custom Field: xPVAL Windows Feature Upgrade Status
  2. Create Agent Procedure Folder: Shared/PVAL Stack/Tool Set/Windows/Windows 10 Feature Upgrades/
  3. Import Windows 10 Feature Upgrade.xml and place it in Shared/PVAL Stack/Tool Set/Windows/Windows 10 Feature Upgrades/
  4. Import Windows 10 Feature Upgrade (No Reboot).xml and place it in Shared/PVAL Stack/Tool Set/Windows/Windows 10 Feature Upgrades/
  5. Import Registry Check.xml and place it in Shared/PVAL Stack/Tool Set/Windows/Windows 10 Feature Upgrades/
  6. Import xPVAL_Windows_Feature_Upgrade_Event.xml and apply it to all workstations in the environment.
  7. Import xPVAL_Feature_Upgrade_Views.xml and ensure the Advanced Filters are correct according to the documentation in this solution.
  8. Import Windows_10_Feature_Upgrade_Reattempt_On_Fail and place it in the Policies/PVAL Stack folder. Ensure that the view and assigned AP are correct in the policy. Notify the client of implementation and availability during the next Admin Call. Be sure to mention the 30-minute forced reboot.