Ho do I reset or recover the Netscreen password without affecting the existing configurations?

Posted on 2007-11-19
Medium Priority
Last Modified: 2013-11-08
We have previously installed Juniper Netscreen 25 at one of our branches. We are in the midst of re-locating our data center, hence, we need to re-configure the NetScreen configurations. Unfortunately, none of us remember the NetScreen password and the existing configurations was not saved. How do we either reset or recover the password without resetting the exist configurations?
Question by:chongbenkee
  • 2
  • 2
  • 2
  • +2
LVL 18

Expert Comment

ID: 20318186
This should NOT be possible. If it is then this is a serious security flaw in a magnitude of which I can not possibly image Juniper to have in its appliances. On all secure systems a full reset must be done.
To do a full reset, use the 'Asset Recovery Pinhole' on the frontpanel. See the usermanual for the procedure: http://www.juniper.net/techpubs/hardware/netscreen-appliances/netscreen-appliances50/ug_25.pdf


Expert Comment

ID: 20322184
Easy. You need a backup of the current config or as close to it as you can get.
1. Once you have the backup of the config, reset the device.
2. log in and back up that base config as well.
3. search the base config with a text editor like notepad for the following:

set admin password "xxxxxxxxxxxxxxxxxxxxxxxxx"

4. Copy that.
5. Search your most recent backup config for the same line. The part between the " " will be different.
6. Over write that with the one from your base config.
7. Save the txt file.
8. Upload it to the netscreen 25.
9. Everything will be the same as before accept your netscreen password will be "netscreen"

Author Comment

ID: 20324750
Thanks for the suggestions but it do not meet our objective. Our objective is to "reset/recover the password while maintaing the existing configurations", especially since we do not have backup of the existing configurations, eg. we do not want to lose the existing configurations.
We Need Your Input!

WatchGuard is currently running a beta program for our new macOS Host Sensor for our Threat Detection and Response service. We're looking for more macOS users to help provide insight and feedback to help us make the product even better. Please sign up for our beta program today!

LVL 18

Accepted Solution

PowerIT earned 900 total points
ID: 20326126
Chongebenkee, since you do not have the password then my first answer still holds: your objective can NOT be met.
And 'impossible' is a valid reply on EE ;-)
So be prepared to document as much as possible and start from scratch.

LVL 32

Expert Comment

ID: 20407267
I would go with PowerIT; you cannot recover the password without resetting the unit to factory defaults. On other devices of Juniper like routers there are ways to do this but not on firewall devices.
As you do not have copy of the current config, then I would say let it run as long as it can without making any change and then reset and reconfigure from scratch when you abosolutely need to make a change.

Author Closing Comment

ID: 31410064
PowerIT re-confirmed the unfortunate fact. Case closed.

Expert Comment

by:Lieven Embrechts
ID: 20896742
i thought you can connect a serial cable to the serial port of a netscreen
and log in with the serial number (which is printed on the device) as password.
username = netscreen
password = serialnumber

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

To setup a SonicWALL for policy based routing to be used with the Websense Content Gateway there are several steps that need to be completed. Below is a rough guide for accomplishing this. One thing of note is this guide is intended to assist in the…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question