Monday, June 27, 2011

WCS Password Reset

Go to command prompt


Stop the WCS server :

C:\Program Files\WCS6.0.132.0\bin>StopWCS


Then run the root-user command:

C:\Program Files\WCS6.0.132.0\bin>passwd.bat root-user PASSWORD


Start the WCS server:

C:\Program Files\WCS6.0.132.0\bin>StartWCS


Outout:

----------


Initializing...
Updating root password.
This may take a few minutes...
Successfully updated root user


Ref: Link Https://supportforums.cisco.com/thread/2005438


Cisco Switch Password Recovery

First, unplug the power cable from switch and Connect on PC with terminal emulation via console cable.

Power On the switch and press the Mode button.

Release the Mode button after approximately 15 seconds when the SYST LED turns solid green. When you release the Mode button, the SYST LED blinks green.

Issue the flash_init command.

switch: flash_init
Initializing Flash...
flashfs[0]: 143 files, 4 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 3612672
flashfs[0]: Bytes used: 2729472
flashfs[0]: Bytes available: 883200
flashfs[0]: flashfs fsck took 86 seconds
....done Initializing Flash.

Issue the load_helper command.

switch: load_helper

Issue the dir flash: command.

Note: Make sure to type a colon ":" after the dir flash.

The switch file system is displayed:

switch: dir flash:
Directory of flash:/
2 -rwx 1803357 c3500xl-c3h2s-mz.120-5.WC7.bin

Type rename flash:config.text flash:config.old to rename the configuration file.

switch: rename flash:config.text flash:config.old

Issue the boot command to boot the system.

switch: boot

--- System Configuration Dialog ---
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Continue with configuration dialog? [yes/no]: n

At the switch prompt, type en to enter enable mode.

Switch>en
Switch#
Type rename flash:config.old flash:config.text to rename the configuration file with its original name.

Switch#rename flash:config.old flash:config.text

Switch#copy flash:config.text system:running-config

Sw1# conf t

!--- To overwrite existing secret password
Sw1(config)#enable secret

!--- To overwrite existing enable password
Sw1(config)#enable password

Sw1#write memory
Building configuration...
[OK]
Sw1#