Page 1 of 1

how can i get back the password for administrator?

Posted: Tue Sep 13, 2022 9:31 am
by wubo
i lost the password for administrator.how can i get back or reset the password?

Re: how can i get back the password for administrator?

Posted: Tue Sep 13, 2022 10:33 am
by solo
11.1.11 I forgot my VPN Server's administrator password.

If you have forgotten the administrator password for your VPN Server, refer to 3.3 VPN Server Administration and delete the following lines from the VPN Server configuration file with a text editor:

declare ServerConfiguration
{
uint64 AutoDeleteCheckDiskFreeSpaceMin 104857600
uint AutoSaveConfigSpan 30
string CipherName RC4-MD5
bool DisableDosProction false
byte HashedPassword ******* (hashed password data)

As written above, by deleting the [HashedPassword] field under the [ServerConfiguration] node you can reset the VPN Server password to an empty password.

Re: how can i get back the password for administrator?

Posted: Fri Feb 24, 2023 5:30 pm
by PizzaProgram
As written above, by deleting the [HashedPassword] field under the [ServerConfiguration] node you can reset the VPN Server password to an empty password.
I've just tried this method.

1. You can NOT edit the file while the service is running.
So you have to stop the service as long as you copy the modified file there, overwriting the old one.

2. Under windows: This file is under \Program Files ... folder, so you need admin rights.
A simple "notepad" will not be able to directly save. (Notepad++ can! )

3. I've experienced the following:
- after deleting that 1 line,

]- the whole config has been reset to default !!!
- I've lost all HUBs and all setup configuration.
- Had to restore from backup.

For the record:
- No I did not hurt the config file structure.
- Yes, I'm a programmer myself with 30+ y. of experience

The possible Problem / Solution was:
- I've realized there are 2 service running: a 4.x stable version + the 5.01 developer version
- maybe that caused the problem, because:
- after I've stopped the dev. service, the method WORKED!

Re: how can i get back the password for administrator?

Posted: Fri Feb 24, 2023 7:27 pm
by shakibamoshiri