Highlighted
Trusted Contributor.
Trusted Contributor.
1697 views

Access Denied for running Load runner agent as service or process with Standard User

As per new policy of HP, Load Runner can be use with out having admin rights on the user. but do hp provisioned for changing load generator from service to process or vice versa.
We are using standard user account for working with load runner and load generator, but while changing load generator from process to service getting access denied error(Snap Attached.

do we have any solution with which standard user can manage the configuration of load generator.

I have found workaround in below url of HP load runner webhelp for issue but the mentioned file"" not found in complete system.

On HP Web help workaround for the issues but the required file( subinacl.exe) in option not found on the system where complete Load runner or Load generator installed.
URL : https://lrhelp.saas.hpe.com/en/12.53/help/WebHelp/Content/Controller/_sa_ui_agent_configuration_box.htm

URL Content :
When running the LoadRunner Agent as a service (magentservice.exe), and the Agent Configuration as administrator under UAC or a standard user: If you click the OK button and attempt to restart the HP Load Testing Agent Service, it issues the warning "Access is denied" .

Workaround:

a.Run the Agent Configuration as administrator when UAC is off.

b. If the current user is administrator, or a user having the appropriate permission to work with HP Load Testing Agent Services, go to Service Manager (services.msc), and manually start the LoadRunnerAgent service (and for Performance Center, the RemoteManagementAgent service).

c.You can also run <LR>\bin\subinacl.exe as administrator to grant a user (user1 in examples below) full access permission of the target service. For example,
For LoadRunner: subinacl.exe /service LoadRunnerAgent /grant=user1
For Performance Center: subinacl.exe /service RemoteManagementAgent /grant=user1

0 Likes
2 Replies
Highlighted
Honored Contributor.
Honored Contributor.

Re: Access Denied for running Load runner agent as service or process with Standard User

Hello,

The operation you are trying to perform, I.e. changing a program to run as service or as process, is Windows OS change requiring specific permissions. You don't have to be full admin on the machine but you need to have these particular permissions.
There should be *no* workarounds to that simply because then it would actually break the security of Windows.

LoadRunner itself can work without admin privileges but changing configuration like this, which is OS naturally configuration requires relevant permissions.
Igor Markov
R&D Manager, Performance Engineering Core
0 Likes
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: Access Denied for running Load runner agent as service or process with Standard User

Hi, Thanks for reply.

We understand the HPE required specific permissions on windows to do changes in Agent settings(Process or Service).

We have tried giving full control on  "magentproc.exe", "magentservice.exe", and "Magentconfig.exe" for authenticated users as per snap but after executing, its prompting access denied. 

Do we have list of required permissions on required file/ registry after implementation(by Admin user) of that standard user can change the Agant settings(Process or Service).

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.