When dbca deletes OracleserviceXXX in windows, the following error occurs: dim-00014 Cannot open the Windows NT Service Control Manager, cadmanagercontrol
When dbca deletes OracleserviceXXX in windows, the following Error occurs: dim-00014 Cannot open the Windows NT Service Control Manager O/S-Error: (OS 5) Access is denied.
As follows:
After querying mos, we found that the following Article matches the error:
How To Create a Service using oradim in Windows Vista (Documentation ID 432713.1)
The content of this mos article is as follows:
Applies to: Oracle Database-Enterprise Edition-Version 10.2.0.3 to 11.2.0.2 [Release 10.2 to 11.2]
Z * OBSOLETE: Microsoft Windows Vista (32-bit)
Oracle Server Enterprise Edition-Version: 10.2.0.3
Microsoft Windows Vista (32-bit)
Checked for relevance on 19-Nov-2010
Goal
How to create new instance manually using the oradim tool, with a user that is not the oracle Software owner?
Solution
Trying to create a new instance using the oradim tool with a user that is not the oracle software owner
Will fail with the following OS error:
DIM-00014: Cannot open the Windows NT Service Control Manager
O/S-Error: (OS 5) Access is denied.
This is because of the newly introduced OS feature User Account Control (UAC), a new security component in Windows Vista.
To workaround the issue either:
1. Disable the User Account Control (UAC) security component.
OR
2. Go to Start-> Accessories-> Right click on Command Prompt
And select "Run as Administrator ".
To start the command prompt where oradim will be issued.
NOTE: This also applies to Windows 7 and Windows 2008.