windows下dbca刪除OracleserviceXXX時遇到錯誤:dim-00014 Cannot open the Windows NT Service Control Manager O/S-Error: (OS 5) Access is denied.
截圖如下:
經過查詢mos,發現如下文章與該報錯匹配:
下面截取該mos文章的內容:
How to create new instance manually using the oradim tool, with a user that is not the oracle Software owner ?
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 .