---
updatedAt: 2025-08-14T13:34:33.000Z
agentTools:
  siteIndex: https://developer.n-able.com/llms.txt
  projectIndex: https://developer.n-able.com/n-central/llms.txt
---

# Opt out of Safeguard Holds in Windows Update

```powershell Automation Policy
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Policy ID="a669cbad-4892-4298-b996-fbd3d51c80c3" Name="Disable Safeguard for Feature Updates" Description="VVNFIFdJVEggRVhUUkVNRSBDQVVUSU9ODQpEaXNhYmxlcyBNaWNyb3NvZnQncyBzYWZlZ3VhcmQgaG9sZHMgb24gZmVhdHVyZSB1cGRhdGVzIGZvciAxOTAzIGFuZCBuZXdlci4gU2FmZWd1YXJkIGhvbGRzIGFyZSBrbm93biBjb21wYXRpYmlsaXR5IGlzc3VlcyB0aGF0IGJsb2NrIGZlYXR1cmUgdXBkYXRlcyBmcm9tIGJlaW5nIGRlcGxveWVkIHRvIGFmZmVjdGVkIGRldmljZXMgdW50aWwgdGhlIGlzc3VlIGlzIHJlc29sdmVkLg==" Version="2.15.1.1" RemoteCategory="0" ExecutionType="Local" MinimumPSVersionRequired="0.0.0">
  <Object ID="{6b265d72-a114-43c4-a77b-dc15d2987c4f}" Type="{B6FA6D8B-EEAA-47A6-8463-7F9A4F5BBB6E}" Data="&lt;xml /&gt;" />
  <LinkManager xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PolicyExecutor">
    <hashset xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" />
  </LinkManager>
  <Activity mc:Ignorable="sap sads" x:Class="Policy Builder" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:p="clr-namespace:PolicyExecutor;assembly=PolicyExecutionEngine" xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <x:Members>
      <x:Property Name="PolicyGUID" Type="InArgument(x:String)" />
    </x:Members>
    <sap:VirtualizedContainerService.HintSize>533,455</sap:VirtualizedContainerService.HintSize>
    <mva:VisualBasic.Settings>Assembly references and imported namespaces serialized as XML namespaces</mva:VisualBasic.Settings>
    <p:PolicySequence DisplayName="Policy Builder" sap:VirtualizedContainerService.HintSize="533,455" mva:VisualBasic.Settings="Assembly references and imported namespaces serialized as XML namespaces">
      <p:PolicySequence.Activities>
        <p:CreateRegistryKey BaseKey_Item="{x:Null}" BaseKey_ItemProp="{x:Null}" NewKey_Item="{x:Null}" NewKey_ItemProp="{x:Null}" PropType_Item="{x:Null}" PropType_ItemProp="{x:Null}" PropertyName_Item="{x:Null}" PropertyName_ItemProp="{x:Null}" Value_Item="{x:Null}" Value_ItemProp="{x:Null}" AssemblyName="PolicyExecutionEngine, Version=2.15.1.1, Culture=neutral, PublicKeyToken=null" BaseKey="HKLM" BaseKey_DisplayArg="HKLM" DisplayName="Create Registry Key" sap:VirtualizedContainerService.HintSize="497,232" Moniker="dd537e61-eb9e-411b-a337-d4209984cbe5" NewKey="SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" NewKey_DisplayArg="SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" PropType="DWord" PropType_DisplayArg="DWord" PropertyName="DisableWUfBSafeguards" PropertyName_DisplayArg="DisableWUfBSafeguards" Result="[CreateRegistryKey_Result]" ResultString="[CreateRegistryKey_ResultString]" RunAsCurrentLoggedOnUser="False" ScriptExecutionMethod="ExecuteDebug" TypeName="CreateRegistryKey" Value="1" Value_DisplayArg="1" m_bTextLinkChange="False" />
      </p:PolicySequence.Activities>
      <p:PolicySequence.Variables>
        <Variable x:TypeArguments="x:String" Name="CreateRegistryKey_ResultString" />
        <Variable x:TypeArguments="x:Double" Name="CreateRegistryKey_Result" />
      </p:PolicySequence.Variables>
    </p:PolicySequence>
  </Activity>
</Policy>
```

```json Response Example
{"success":true}
```

# SCRIPT