What are the current requirements for UAC and DEP to run and Install LoadRunner?
Question ID: 110657

We want to upgrade out version of LoadRunner, but we were wondering what the definitive answer on UAC/DEP settings to Install and Upgrade LoadRunner.

Marked as spam
Posted by (Questions: 4, Answers: 0)
Asked on May 8, 2024 3:29 pm
Answers (1)
Private answer

The long and the short of UAC and DEP.

Prior to LoadRunner 2023 this was easy.

" LoadRunner will not Install or Operate as expected with UAC and/or DEP enabled. "
There is/was no other way to make the LR software work.


Since version LoadRunner 2023, the answer became 'It depends'.


Beginning with Loadrunner 2023, we were informed in What's New in LoadRunner Enterprise 2023 (microfocus.com) that you could perform a Clean install with UAC and DEP enabled/Opt-In.

UAC and DEP You can now install and configure LoadRunner Enterprise with User Account Control (UAC) and Data Execution Prevention (DEP) enabled. For details, see Installation.

Note: Installing LoadRunner Enterprise server with UAC enabled on top of LoadRunner Enterprise versions earlier than 2023 is not currently supported. See Known issues for details.

But, paying attention to the note, if you Installed an earlier version that required UAC/DEP Disabled, then you need to continue to Disable it.

e.g Your current environment is LRE 2022, which DOES have the requirement. If you're upgrading to LR 24.1, you will need to Disable UAC and DEP to comply with the legacy code in your environment.

You will need to keep disabling them until you move to a system that never had the requirement.
Moving to a system that never had that setting would require a jump-server and a lot of manual re-work. If this is your situation, I strongly recommend contacting your Orasi representative to engage with our team to convert your environment away from this need.
LoadRunner Enterprise Installation Guide (microfocus.com) gave us this.
Permission requirements: 
To install and configure a LoadRunner Enterprise server or
LoadRunner Enterprise host, you must have full local
administrative rights on the designated machine.
UAC and DEP do not need to be deactivated to install or run
LoadRunner Enterprise components

But  LoadRunner Professional Installation Guide (microfocus.com) gave us
Permission requirements :
The installation process for all LRP components requires a full
administrator account (root account for Linux systems) for all
operating systems.
You can install LRP components with UAC and DEP enabled, but
we recommend to keep them disabled during installation (or
enable DEP for essential Windows programs and services only).
After installation, all of the LRP applications and components can
run under a standard user account (an administrator account is
not required), with UAC and DEP enabled.

So we have mildly conflicting information on how to install LoadRunner Enterprise and Professional. The vendor recommends Disabling it before installing. The DEP setting has 3 options, Always On, Opt-In and Always Off.
The maximum setting for DEP, assuming the LoadRunner version is 2023 or higher,is Opti In (essential windows and programs Only), NEVER "AlwaysOn".

In addition to the version which may or may not be carrying along this dependency, there's this from LR 24.1 VuGen Known issues (microfocus.com) page, introducing a dependency:

Web scripts and DEP When recording a Web-based protocol script, the recording may fail in certain installations, if Data Execution Prevention (DEP) is enabled.

Resolution: Disable DEP on your VuGen machine. For details, see Record a Vuser Script.

Since this advice is included in the 24.1 documentation, I must conclude the vendor is keeping this current, and recognizes that DEP settings can inhibit normal/expected LR operation..

So with all this in mind, the answer to "Do I need to Disable UAC and DEP on my LoadRunner Environment?" is "It depends".

Marked as spam
Posted by (Questions: 0, Answers: 5)
Answered on May 8, 2024 3:47 pm
tldr; 1) For best results regardless of version, Disable UAC and DEP for the duration of the Installation. 2) For versions 2022 and lower, this is the Only Way to install or operate 3a)Clean Install: From LoadRunner 2023 onwards, you may operate as expected with UAC Enabled and DEP = OptIn; ** DEP can NOT be "AlwaysOn" ** 3b) If Server123a had LR 2022 or lower (thus, had DEP/UAC Disabled) Upgrades to Server123a will carry that baggage, Regardless of documentation! 4) To clear the hurdle outlined in 3b, you'll have to jump-server to overcome the obstacle or wait for LoadRunner Installer to do this natively in a future version (post LR 24.1) We can help with #4 using a jump-server.
( at May 8, 2024 5:09 pm)

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

Scroll to Top