How to reset password for Websense Enterprise Manager

November 3, 2009

Problem Description:

Forgotten the Websense Manager password, cannot log on to Websense Manager, or need to change the Websense Manager password.

Error Messages: (Detailed)

Invalid user name or password.

or,

You have exceeded the maximum number of logon attempts.
Contact your system administrator to obtain access.

It is not possible to recover a Websense password; however, it can be removed. Once eliminated and then reopening Websense Manager, you will be prompted to enter a new password.

The password is encrypted and then stored in a configuration file. If you cannot access Websense Manager because you do not remember or do not know the password, then you can reset the password by editing the config.xml file (contains all your custom settings).

To reset the password, complete the following steps:

  1. Stop Websense Policy Server.
    1. Select Start > Programs > Administrative Tools > Services.
    2. Right-click Websense Policy Server and then select Stop.
  2. Open Windows Explorer.
    1. Select View > Choose Details.
    2. In the Choose Details list, ensure both Name and Type are checked, and then click OK.
      This ensures that you edit the config.xml file, not the config.xml.bak file.
  3. Using Windows Explorer, navigate to the \Program Files\Websense\bin directory and then locate the config.xml file.
  4. Copy the config.xml file to create a backup.
    Save the copied version to another directory.
  5. With Notepad or any similar text editor, open the config.xml file in the \Program Files\Websense\bin directory.
  6. Use the Find function to search for the following string:
    K2097153
    The search locates the line that requires editing. The entry is similar to the following:
    <data name="K2097153">48F8A7EFBED3AE22F61C0861D45F7C63</data>
  7. Use the Find function to search for the following string:
    Once located, delete the alphanumeric string within the closed and open caret symbols ( > and < ).
    When modified, the string should look identical to the following example:

http://kb.websense.com/article.aspx?article=3186&p=12

Advertisements