I installed Oracle database 10g as an administrator on a windows 10 machine, it worked fine, but when i try to connect sys as sysdba it gives me the error:
ORA-01031: insufficient privileges
I checked sqlnet.ora file and if SQLNET.AUTHENTICATION_SERVICES is NTS and it is:
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
I added the user to the ORA_DBA group and i checked with:
c:\Oracle>echo %username%
and
c:\Oracle>NET LOCALGROUP ORA_DBA
and the user is in the group.
I don't know what else i should do, anything will be helpful.
Would you mind to share what you exactly did? Please, copy/paste your command prompt session; something like this:
or
A possible culprit: have you modified TNSNAMES.ORA file and added some databases in there? If so, try to specify database name (as I did in my second example).