Hi,
Sometimes You can get ” DIM-00014: Cannot open the Windows NT Service Control Manager, OPW-00001: Unable to open password-file ” error.
Details of error are as follows.
C:\>oradim -new -sid MSDBA -syspwd mgrMSDBA -startmode auto -pfile C:\app\product\12.1.0.2\dbhome_1\dbs\init_MSDBA.ora; OPW-00001: Unable to open password-file DIM-00014: Cannot open the Windows NT Service Control Manager. O/S-Error: (OS 5) Access is denied.
This error is related with permission, to solve this error, Run the CMD as Administrator on Windows.
When you run the CMD as Administrator mode, Oracle instance will be created as follows.
C:\>oradim -new -sid MSDBA -syspwd mgrMSDBA -startmode auto -pfile C:\app\product\12.1.0.2\dbhome_1\dbs\init_MSDBA.ora; Instance created. C:\>
Do you want to learn more details about ORADIM Utility, then read the following articles.
ORADIM Utility | Create Oracle Instance for Windows Environment