<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
System Status
Announcements
Announcements
Search
Search
Select Language

Okta RADIUS Agent MSI Installer Fails With "Setup Cannot Create A Protected Staging Folder" Error

Okta Classic Engine
Okta Identity Engine
Authentication

Overview

The Okta RADIUS Server Agent installation fails because Windows User Account Control does not elevate the required permissions when launching the Microsoft Installer package directly. Launch the installer from an elevated Command Prompt to bypass the permissions restriction and complete the installation. When attempting to install or upgrade the Okta RADIUS Server Agent on Windows by double-clicking the installer file, the installation fails and displays an error dialog.

 

Setup cannot create a protected staging folder for its helper files: 'C:\Users<username>\AppData...\OktaRadiusStage_<ID>' could not be created (This security ID may not be assigned as the owner of this object.).

 

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • Okta RADIUS Server Agent for Windows - Versions 2.29.x, 2.30.x

Cause

Starting in versions 2.29.x and 2.30.x, the Okta RADIUS Server Agent installer format changed from an executable to a Microsoft Installer (MSI) package. When a Windows user with administrative privileges launches the installer directly via Windows Explorer, Windows User Account Control (UAC) does not elevate the process with the permissions required to create and assign ownership to the temporary staging folder. Additionally, if the host server runs an outdated version of the Microsoft .NET Framework, the installation fails to complete even after bypassing the initial staging folder error.

Solution

How is the Okta RADIUS Server Agent installed via an elevated Command Prompt?

Open an elevated Command Prompt, navigate to the installer directory, and execute the installation command.

 

  1. Open the Windows Start menu and type cmd.
  2. Right-click Command Prompt and select Run as administrator.
  3. Navigate to the directory where the Okta RADIUS Agent installer resides.
    cd C:\Users\<username>\Downloads
  1. Run the installer using msiexec.
    msiexec /i OktaRadiusAgentSetup-x.x.x.msi

    NOTE: Replace OktaRadiusAgentSetup-x.x.x.msi with the actual filename or full file path of the downloaded installer.

  2. Follow the on-screen prompts to complete the installation.

 

 

Verify the Microsoft .NET Framework version if the installation fails.

Generate a verbose installer log, check the installed Microsoft .NET Framework version using PowerShell, and upgrade the framework if necessary.

 

  1. Run the following command in the elevated Command Prompt to confirm if an outdated Microsoft .NET Framework blocks the installation.
    msiexec /i "OktaRadiusAgentSetup-x.x.x.msi" /l*v C:\temp\radius_install.log
  1. Open PowerShell and run the following command to check the release key.
    (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Release
  1. Ensure that the Windows server runs Microsoft .NET Framework 4.8 or later.
  2. Restart the machine if the system prompts for a reboot.
  3. Run the elevated msiexec /i command again.
Loading
Okta RADIUS Agent MSI Installer Fails With "Setup Cannot Create A Protected Staging Folder" Error | Okta Support