Having issues installing the Oracle agent on a windows 2012 R2 server that is complaining that there is not enough space in the agent base directory when there is. Possible permission issue? I have viewed a similar issue on a windows 2008 server where it suggests adding the folder C:\windows\system32\wbem; to the PATH environment variable but this has not helped.
see "EM 13c: Agent Installation on Windows Failed With Error 'Space available in AgentBaseDirectory is -1 MB' (Doc ID 2303886.1)"
D:\oracle\CloudAgent\Installer>agentDeploy.bat -ignorePrereqs -force ORACLE_HOME=D:\oracle\CloudAgent\agent_13.2.0.0.0 AGENT_PORT=3872 EM_UPLOAD_PORT=1159 OMS_HOST=hostnameremoved AGENT_INSTANCE_HOME=D:\oracle\CloudAgent\agent_inst AGENT_BASE_DIR=D:\oracle\CloudAgent AGENT_REGISTRATION_PASSWORD=passwordremoved s_encrSecurePwd=Sigma63gom3z ORACLE_HOSTNAME=hostnameremoved b_doDiscovery=true START_AGENT=true b_forceConfigure=true b_secureAgent=true b_noUpgrade=true b_agentupgrade=false EMCTLCFG_MODE=NONE AGENT_MODE=NONEs_agentSrvcName=Oracle13cAgent
D:\oracle\CloudAgent\Installer
Present working directory:D:\oracle\CloudAgent\Installer
Archive location:D:\oracle\CloudAgent\Installer directory
-force
ECHO is on.
ORACLE_HOME
ECHO is on.
hostnameremoved
OMS Host:hostnameremoved
D:\oracle\CloudAgent
Agent base directory:D:\oracle\CloudAgent
Agent base directory:D:\oracle\CloudAgent
OMS Host:hostnameremoved
Agent image loc : "D:\oracle\CloudAgent\Installer"
ERROR:
Description = The service cannot be started, either because it is disabled or be
cause it has no enabled devices associated with it.
"Space available in AgentBaseDirectory is -1 MB"
" ERROR: D:\oracle\CloudAgent Directory has space less than 1.5 GB. Make sure th
at the agent base directory has space more than 1.5 GB."
This same command works successfully on another server and the user I am using is a local admin account and I have the command prompt window open in administrator mode.