Submit a ticketCall us

Training Class Getting Started with SolarWinds Backup - February 28

This course offers customers an introduction to SolarWinds Backup, focusing on configuring the backup technology, taking backups, data restoration and data security. It is a great primer and will get you up to speed quickly on SolarWinds Backup.
Register for class.

Home > Success Center > Patch Manager > Patch Manager error: System.Security.SecurityException: Requested registry access is not allowed

Patch Manager error: System.Security.SecurityException: Requested registry access is not allowed

Updated April 25, 2017

Overview

This

Below error occurs when upgrading/running Patch Manager licenses using the SolarWinds License Manager:

*****************Exception Text******************

System.Security.SecurityException: Requested registry access is not allowed.

at System.ThrowHelper.ThrowSecurityException (ExceptionResource resource)

at Microsoft.Win32.RegistryKey.OpenSubKey (String name, Boolean writable)

at SolarWinds.Licensing.Gen4.Utils.RegistryUtil.GetKey (Region region, Boolean writable)

at SolarWinds.Licensing.Gen4.Store.RegistryAncillaryStore.GetKey (AccessMode mode, SubKey key)

at SolarWinds.licensing.Gen4.Store.RegistryAncillaryStore.set_LastContactDetails (UserDetailsData value)

The Zone of the assembly that failed was:

MyComputer

OR

Error: Requested registry access is not allowed when running below command

setuphelper /provisionserver /type primary.

Environment

  • Patch Manager 2.1.x

Cause 

The error is caused by insufficient permissions on the account to write to certain sections of the registry. This happens when the User Account Control (UAC) is enabled on the computer.

Resolution

Run the License manager using the Run as administrator option.

 

 

Last modified

Tags

Classifications

Public