Windows utilities that require administrator privileges to be executed fail in e2e_appmon scripts on Windows 10
search cancel

Windows utilities that require administrator privileges to be executed fail in e2e_appmon scripts on Windows 10

book

Article ID: 132065

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

e2e_appmon scripts that open a cmd.exe shell then attempt to execute Windows binaries that required administrator rights (like the dfsutil utility) fail on Windows 10 systems even if the script is being executed by a user who is a member of the administrator group.  Errors similar to the following will appear in the cmd.exe shell when the script is executed:

dfsutil is not recognized as an internal or external command,
operable program or batch file.

Environment

UIM Server:  Any version
e2e_appmon probe:  Any version
OS:  Windows 10

Cause

It appears that the additional security features of Windows 10 prevents the e2e_appmon probe from starting the cdm.exe shell in administrator mode, even if the script is executed from a user account that is a member of the administrator group.

Resolution

None.  This is a Windows OS restriction.  Unless there is a way to force the Windows 10 OS to always open the cmd.exe shell in administrator mode, it will not be possible to execute Windows 10 binaries that require administrator rights to be executed.  This could not even be by passed by configuring the cdm.exe binary to always open in administrator mode for the user configured in the e2e_appmon probe.