Winodws jobs which execute Powershell script fails: You do not have the Manage Auditing user right
search cancel

Winodws jobs which execute Powershell script fails: You do not have the Manage Auditing user right

book

Article ID: 248351

calendar_today

Updated On:

Products

CA Continuous Delivery Automation - Automation Engine

Issue/Introduction

The Windows jobs that executes PowerShell script with the following in the report log:

2022-07-21 10:22:29 - U00020408  ----------------------------------------------------------------------------------
2022-07-21 10:22:29 - U00020408  Attention !!
2022-07-21 10:22:29 - U00020408  This job might fail with "ERROR : You do not have the Manage Auditing user right."
2022-07-21 10:22:29 - U00020408  In this case make sure that:
2022-07-21 10:22:29 - U00020408  1. the user under which the job runs has User Right "Back up files and directories"
2022-07-21 10:22:29 - U00020408     which normally is assigned to the "Administrators" and "Backup Operators" group
2022-07-21 10:22:29 - U00020408  2. UAC is turned off on the Operating system with the following registry key
2022-07-21 10:22:29 - U00020408     [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
2022-07-21 10:22:29 - U00020408     "EnableLUA"=dword:00000000
2022-07-21 10:22:29 - U00020408  ----------------------------------------------------------------------------------

Environment

Release : 12.3

Component : Windows Agent

Cause

Permission issue

Resolution

Please check with the System Administrator to make sure that the System used in the login object to execute the job has the following permission rights and security as explained below. 

 1. The user under which the job runs has User Right "Back up files and directories" which normally is assigned to the "Administrators" and "Backup Operators" group

2. UAC is turned off on the Operating system with the following registry key
 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
 "EnableLUA"=dword:00000000