Skip to main content

Enable Windows Update Access

Summary

The script will overwrite the DisableWindowsUpdateAccess registry key if it's set at the computer or user level. This ensures that Windows update access is not disabled for the machine, users, or the system account.

Sample Run

Sample Run Image 1
Sample Run Image 2

Task Creation

Create a new Script Editor style script in the system to implement this task.
Task Creation Image 1
Task Creation Image 2

Name: Enable Windows Update Access
Description: Set the DisableWindowsUpdateAccess registry key to 0 if it's set to 1. Setting it to 1 disables Windows access and can be set at both computer and user levels.
Category: Patching
Task Creation Image 3

Task

Navigate to the Script Editor section and start by adding a row. You can do this by clicking the Add Row button at the bottom of the script page.
Task Image 1

A blank function will appear.
Task Image 2

Row 1 Function: PowerShell Script

Search and select the PowerShell Script function.
Task Image 3
Task Image 4

The following function will pop up on the screen:
Task Image 5

Paste in the following PowerShell script and set the expected time of script execution to 600 seconds. Click the Save button.

PowerShell Script

Task Image 6

Row 2 Function: Script Log

Add a new row by clicking the Add Row button.
Task Image 7

A blank function will appear.
Task Image 8

Search and select the Script Log function.
Task Image 9
Task Image 10

The following function will pop up on the screen:
Task Image 11

In the script log message, simply type %output% and click the Save button.
Task Image 12

Click the Save button at the top-right corner of the screen to save the script.
Task Image 13

Completed Task

Completed Task Image

Output

  • Script log

Changelog

2025-04-10

  • Initial version of the document