Site icon Winhelponline

Error “A referral was returned from the server” when running a program

When you run a program elevated, the following error may occur:

A referral was returned from the server

Cause

The above error occurs if a policy setting prevents unsigned executables from running elevated.

The relevant GPO setting is “User Account Control: Only elevate executable files that are signed and validated”. It’s disabled by default.

When the above setting is enabled, only signed and validated executables are allowed to run elevated on your computer. The error “A referral was returned from the server” appears when running an unsigned executable elevated.

Resolution

To resolve this issue, disable the above policy setting using one of these methods:

Option 1: Using Regedit.exe

Start Regedit.exe and go to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

Double-click ValidateAdminCodeSignatures and set its data to 0

Exit the Registry Editor.

No restart should be required.


Option 2: Using the Group Policy Editor

If you’re using Professional edition and higher, launch gpedit.msc to open the local group policy editor.

Go to the following node:

 Computer Configuration → Windows Settings → Security Settings → Local Policies → Security Options

Set “User Account Control: Only elevate executables that are signed and validated” to Disabled.


More Information

User Account Control: Only elevate executable files that are signed and validated.

This policy setting enforces public key infrastructure (PKI) signature checks for any interactive applications that request elevation of privilege. Enterprise administrators can control which applications are allowed to run by adding certificates to the Trusted Publishers certificate store on local computers.

The options are:

I hope the above information helps.

Exit mobile version