Access Denied when Adding or Updating Nodes

Valid on Windows Operating System

Symptom

Sometimes when you add or update nodes, you get the following error:

Access denied. The account may not have Administrator privileges or the account is a non-built-in administrator account and UAC is turned on.

Solution

The error occurs in the following scenarios:

To resolve this issue, follow these steps:

  1. Add the local or domain user to the local administrator groups of that node.
  2. Disable the UAC of that node.
  3. Follow these steps to disable the UAC:
    1. Click Start, type regedit in the Search programs and files field, and then press Enter.
    2. The Windows Registry Editor opens.
    3. Note: You may need to provide administrative credentials to open Windows Registry Editor.

    4. Locate and click the following registry key:
    5. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

    6. From the Edit menu, click New, and then click DWORD (32-bit) Value.
    7. Specify LocalAccountTokenFilterPolicy as the name for the new entry and then press Enter.
    8. Right-click LocalAccountTokenFilterPolicy and then click Modify.
    9. Specify 1 in the Value data field and then click OK.
    10. Exit the Registry Editor.
  4. Notes:

For more information about Windows behavior, see the Microsoft documentation.