Video Screencast Help

Is resetpass.bat work in SEP12

Created: 22 Aug 2013 • Updated: 22 Aug 2013 | 16 comments
jun82's picture
This issue has been solved. See solution.

hi All,

Can resetpass.bat of old version sep can work with sep12?

thanks

Operating Systems:

Comments 16 CommentsJump to latest comment

jun82's picture
Hi all,
 
when I try to run the old version of resetpass.bat from a SEP 11.7, on a SEP 12.1 ru3 below is error.
 
 
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
 
C:\Users\Symantec>cd Program Files (x86)\Symantec\Symantec Endpoint Protection M
anager\Tools
The system cannot find the path specified.
 
C:\Users\Symantec>cd\
 
C:\>cd Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\Tools
 
C:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\Tools>reset
pass.bat
English
DatabaseUtilities>initDataSource: Found 12.x driver
initDatasource dbport:2638
Datasource set in sqlanywhere>>ds:sybase.jdbc4.sqlanywhere.ASADataSource@6df38e
Aug 22, 2013 3:56:36 PM com.sygate.scm.server.util.ServerLogger writeHeader
SEVERE: ================== Server Environment ===================
Aug 22, 2013 3:56:36 PM com.sygate.scm.server.util.ServerLogger writeHeader
SEVERE: os.name = Windows 7
Aug 22, 2013 3:56:36 PM com.sygate.scm.server.util.ServerLogger writeHeader
SEVERE: os.version = 6.1
Aug 22, 2013 3:56:36 PM com.sygate.scm.server.util.ServerLogger writeHeader
SEVERE: os.arch = x64
Aug 22, 2013 3:56:36 PM com.sygate.scm.server.util.ServerLogger writeHeader
SEVERE: java.version = 1.7.0_21
Aug 22, 2013 3:56:36 PM com.sygate.scm.server.util.ServerLogger writeHeader
SEVERE: java.vendor = Oracle Corporation
Aug 22, 2013 3:56:36 PM com.sygate.scm.server.util.ServerLogger writeHeader
SEVERE: java.vm.name = Java HotSpot(TM) Client VM
Aug 22, 2013 3:56:36 PM com.sygate.scm.server.util.ServerLogger writeHeader
SEVERE: java.vm.version = 23.21-b01
Aug 22, 2013 3:56:36 PM com.sygate.scm.server.util.ServerLogger writeHeader
SEVERE: java.home = C:\Program Files (x86)\Symantec\Symantec Endpoint Protection
 Manager\jre
Aug 22, 2013 3:56:36 PM com.sygate.scm.server.util.ServerLogger writeHeader
SEVERE: catalina.home = C:\Program Files (x86)\Symantec\Symantec Endpoint Protec
tion Manager\Tools\..\tomcat
Aug 22, 2013 3:56:36 PM com.sygate.scm.server.util.ServerLogger writeHeader
SEVERE: java.user = null
Aug 22, 2013 3:56:36 PM com.sygate.scm.server.util.ServerLogger writeHeader
SEVERE: user.language = en
Aug 22, 2013 3:56:36 PM com.sygate.scm.server.util.ServerLogger writeHeader
SEVERE: user.country = US
Aug 22, 2013 3:56:36 PM com.sygate.scm.server.util.ServerLogger writeHeader
SEVERE: scm.server.version = 12.1.3001.165
java.sql.SQLException: SEM: Connect to database failed
        at com.sygate.scm.server.db.util.DatabaseUtilities.getDefaultDatabaseCon
nection(DatabaseUtilities.java:338)
        at com.sygate.scm.server.db.util.DatabaseUtilities.getDefaultDatabaseCon
nection(DatabaseUtilities.java:270)
        at com.sygate.scm.server.db.util.DatabaseUtilities.getDefaultDatabaseCon
nection(DatabaseUtilities.java:260)
        at com.sygate.scm.server.db.util.DatabaseUtilities.testDBConnection(Data
baseUtilities.java:2868)
        at com.sygate.scm.server.db.util.DatabaseUtilities.initDataSource(Databa
seUtilities.java:2848)
        at com.sygate.scm.server.db.util.DatabaseUtilities.initDataSource(Databa
seUtilities.java:2621)
        at com.sygate.scm.tools.DatabaseFrame.main(DatabaseFrame.java:1200)
Caused by: java.lang.UnsatisfiedLinkError: no dbjdbc12 in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
        at java.lang.Runtime.loadLibrary0(Runtime.java:845)
        at java.lang.System.loadLibrary(System.java:1084)
        at sybase.jdbc4.sqlanywhere.IDriver.try_load(IDriver.java:451)
        at sybase.jdbc4.sqlanywhere.IDriver.<clinit>(IDriver.java:392)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:188)
        at sybase.jdbc4.sqlanywhere.ASADataSource.getConnection(ASADataSource.ja
va:313)
        at com.sygate.scm.server.db.util.DatabaseUtilities.getDataSourceDBConnec
tion(DatabaseUtilities.java:401)
        at com.sygate.scm.server.db.util.DatabaseUtilities.getDefaultDatabaseCon
nection(DatabaseUtilities.java:285)
        ... 6 more
DatabaseUtilities: testDBConnection: Exception - Can't connect to database.
 
C:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\Tools>
pete_4u2002's picture

refer the article posted above, you should be using resetpass of SEP 12 version

Mithun Sanghavi's picture

Hello,

Yes, the older version of Resetpass.bat Tool is compatible and would surely work with the SEP 12.1.

Check this Article:

How to Reset Symantec Endpoint Protection Manager Console password in SEP 12.1

https://www-secure.symantec.com/connect/articles/how-reset-symantec-endpoint-protection-manager-console-password-sep-121

Hope that helps!!

Mithun Sanghavi
Associate Security Architect

MIM | MCSA | MCTS | STS | SSE | SSE+ | ITIL v3

Don't forget to mark your thread as 'SOLVED' with the answer that best helped you.

sai_india's picture

Hi,

Restart SEPM and Symantec Embedded database service then run resetpass.bat
then change the system time to +30 mins
try restarting the SEPM and database service again and try logging in
with
username:admin
password:admin

https://www-secure.symantec.com/connect/forums/sep...

Mithun Sanghavi's picture

Hello,

Is the SEPM installed on Windows 7 machine?

In your case, could you please check the below options - 

1) Is the SEPM located in C drive or D drive?

2) Is the Symantec Endpoint Protection Manager and Symantec Embedded Database services running in the services.msc?

3) Is the UAC turned off?

Mithun Sanghavi
Associate Security Architect

MIM | MCSA | MCTS | STS | SSE | SSE+ | ITIL v3

Don't forget to mark your thread as 'SOLVED' with the answer that best helped you.

Rafeeq's picture

Navigate to tools folder. right click and run as Admin. 

user name : admin

Password : admin

Ambesh_444's picture

Hi,

in case of SEPM 12.1, check these articles:

Resetting a forgotten password

http://www.symantec.com/docs/HOWTO55059

Resetting the administrator user name and password to admin

http://www.symantec.com/docs/HOWTO54992

https://www-secure.symantec.com/connect/articles/how-reset-symantec-endpoint-protection-manager-console-password-sep-121

Thank& Regards,

Ambesh

"Your satisfaction is very important to us. If you find above information helpful or it has resolved your issue. Please don't forget to mark the thread as solved."

jun82's picture

hi All, 

SEPM and embedded database are running, SEPm is running on windows 7 for testing purposes. UAC is turn off. 

but stilll it cannot reset. Do I need to copy  resetpass.bat to tool folder of SEP 12.1? 

thanks,

junar

Rafeeq's picture

Yes you need to copy that and then run it.

Mithun Sanghavi's picture

Hello,

Yes, please run the resetpass.bat Utility from the Tools folder.

If that does not help, please restart the Windows 7 machine.

Hope that helps!!

Mithun Sanghavi
Associate Security Architect

MIM | MCSA | MCTS | STS | SSE | SSE+ | ITIL v3

Don't forget to mark your thread as 'SOLVED' with the answer that best helped you.

Ambesh_444's picture

Hello Jun,

You can use the resetpass.bat to reset the password for the Symantec Endpoint Protection Manager admin account version 11.

For version sep 12.X you can follow the below thread,

http://www.symantec.com/business/support/index?page=content&id=HOWTO55059

Thank& Regards,

Ambesh

"Your satisfaction is very important to us. If you find above information helpful or it has resolved your issue. Please don't forget to mark the thread as solved."

security_admin's picture
 
Resetting the administrator password to admin
http://www.symantec.com/business/support/index?page=content&id=HOWTO18134
 
jun82's picture

hi All,

i contacted support and request a resetbat, and its work.

the only thing i found out, there is a difference between SEP 11 ru7 resetbat from requested resetpass for SEp12 ru3.

SOLUTION