Skip to main content

Install Windows 11 Feature Update [Beta, Reboot]

Summary

This document describes the Ninja RMM implementation of the agnostic script Install-WindowsFeatureUpdate.

The script automates the installation of the latest Windows 11 Feature Update. It performs comprehensive pre-checks, maintenance, and validation to ensure a smooth upgrade process.

The script supports both Windows 10 and Windows 11:

  • For Windows 10, it attempts to upgrade to the latest available version of Windows 11.
  • For Windows 11, it ensures the system is updated to the latest available feature update.

Important Notes:

  1. This script creates and schedules a Windows Scheduled Task to run the agnostic script, then exits immediately. Therefore, any log messages shown by the script—other than incompatibility errors—should not be considered the actual cause of failure. However, the upgrade process continues to run in the background on the machine. The progress can be monitored by reviewing the log files located at C:\ProgramData\_Automation\Script\Install-Windows11FeatureUpdate
  2. The computer may restart up to seven times during the process. The agnostic script re-schedules itself through a startup scheduled task to continue the process after each reboot.
  3. It is recommended to initiate the script after business hours and ensure the computer remains connected to AC power. The entire process may take up to six hours in some cases, though it typically completes within two hours.
  4. Be aware of known issues with the feature update 24H2 before using the script.

Security Application Guidance

For optimal performance and to minimize potential interference, it is recommended to disable or set any active security applications (such as antivirus, endpoint protection, or EDR tools) to "learning" or "detect-only" mode before executing the script.

This helps ensure that the update process runs smoothly without being blocked or slowed down by real-time protection mechanisms. Once the update is complete, security settings can be reverted to their original state.

Requirements

Sample Run

Image1

Dependencies

Install-Windows11FeatureUpdate

Automation Setup/Import

Automation Configuration

Output

  • Activity Details
  • C:\ProgramData_Automation\Script\Install-Windows11FeatureUpdate\Install-Windows11FeatureUpdate-log.txt