Skip to content

Password encode


How to encode password for collecting events from domain computers

Step by step instructions:

1.Open a CMD window.

2.Navigate to “C:\Program Files (x86)\CyberQuestAgent”

3.Execute command “Agent.exe -encodepassword 1234” where “1234” is the password that you want to be encoded.

4.As a result you will see the Hashed password as showed in the following image above:

Alt text

5.Navigate to “C:\Program Files (x86)\CyberQuestAgent\templates” and edit the file “wmiEventsWithDOMAIN.xml”.

6.Paste the Hashed password under the key: <name="PASSWORD" in the “value=” tag as showed in the example:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <settings>    
     <add name="USERNAME"  value="domain\user" />
     <add name="PASSWORD"  value="VB6wZQ==" />
     <add name="QUERY_INTERVAL"  value="20" />
   </settings>
   <mappings>

  </mappings>
      </configuration>

7.Close edit and save the file.