My Oracle Support Banner

EM 12c, 13c: 'echo %username%' Command Returns Windows Service Account Name Instead Of Username Used In Credentials Tab From OS Command Job Output (Doc ID 2482027.1)

Last updated on OCTOBER 10, 2019

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

'echo %username' command returns Windows service account name instead of username used in credentials from OS Command job output.

Login to Em console, Enterprise --> Job --> Activity --> Create Job, select Job Type as OS Command
Click on Add and select Window host
In parameters section, provide 'echo %username%' as command on Target Host and Click Submit.
In credentials section, provide credentials to execute the above command and submit the Job.

     The above job output returns Windows service account name instead of username used in credentials section.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.