windows下dbca刪除OracleserviceXXX時遇到錯誤:dim-00014 Cannot open the Windows NT Service Control Manager,cadmanagercontrol
windows下dbca刪除OracleserviceXXX時遇到錯誤:dim-00014 Cannot open the Windows NT Service Control Manager O/S-Error: (OS 5) Access is denied.
如下:
經過查詢mos,發現如下文章與該報錯匹配:
How To Create a Service using oradim in Windows Vista (文檔 ID 432713.1)
下面截取該mos文章的內容:
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 .