Re: oracle 10g release 2 on windows, forget password

From: Juan Carlos Reyes Pacheco <juancarlosreyesp_at_gmail.com>
Date: Thu, 26 Feb 2009 18:14:43 -0400
Message-ID: <cd4305c10902261414y5eab1a2bg6481dd91e8da7030_at_mail.gmail.com>



You can recreate the service and the sys password will change :)

echo delete password file p.e.
C:\ORACLE\product\10.2.0\db_1\database\PWDEDVG.ORA

PAUSE
_at_ECHO OFF

IF '%1'=='' ECHO NO HA ENVIADO NINGUN PARAMETRO
IF '%1'=='' PAUSE
IF '%1'=='' EXIT

NET STOP oraCLESERVICE%1
NET STOP oraCLESERVICE%1
oradim -DELETE -SID %1
oradim.exe -new -sid %1 -intpwd %170516996 -startmode auto -PFILE E:\ora%1\init\init%1.ora -maxusers 5
oradim.exe -edit -sid %1 -startmode auto -srvcstart system -PFILE E:\ora%1\init\init%1.ora
NET STOP ORACLESERVICE%1
NET START ORACLESERVICE%1
orapwd.exe file=PWD%1.ora password=%170516996 entries=5 force=y

http://www.oracleboliviaspecialists.com/

Oracle Certified Profesional 9i 10g
Oracle Certified Professional Developer 6i

10 years of experience from Oracle 7 to Oracle10g and developer 6i

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Feb 26 2009 - 16:14:43 CST

Original text of this message