The KB4Diag tool is an executable file used by KnowBe4 Support techs to automatically gather issue-specific files (including event logs, security logs, and other applicable files) for troubleshooting purposes. It is common for techs to request you use this tool for issues regarding Active Directory Integration (ADI), Phish Alert Button (PAB), Weak Password Test, and RanSim.
Once you download and run the diagnostic tool, relevant files will be gathered, packaged in a zip file, and automatically and securely sent to the ticket in progress, where your Support tech will be able to download and view the files.
How to Install and Run KB4Diag
- Download and save the executable file from the link provided by the Support tech within your ticket. *Ensure you are downloading the file onto the machine where the affected program is installed.*
- Navigate to the file and run it. Click Yes when prompted to allow the program.
- Check the box to agree to the EULA to proceed with running KB4Diag. Click Continue.
- Once the tool runs, you'll need to provide the following details:
A: Ticket number for your ticket
B: Email address you are using on the ticket
*Note that the email address entered must match what you used when opening up the ticket for the tool to run successfully.
C: Whether you'd like to automatically send the resulting .zip file to your Support tech (default) or save them to disk and screen what files it includes prior to attaching it to the ticket
*Note that with the second option, you must manually attach the zip file or selected files you'd like to send to the ticket.
D: Optionally, a brief description to be sent with the zip attachment
E: Click Run to scan for the relevant files based on the program you're having an issue with.
- The scan will take up to 10 minutes or longer depending on the number of files that need to be gathered.
- If you elected to send the data automatically, the Support tech will receive a notification once you complete the scan and will review the files provided.
If you elected to not send the information automatically, you will have to navigate to the folder where the zip was saved, review the files, and reply back to your support ticket with the files you'd like to send. You can find the files under: ProgramData\KnowBe4\[[Affected Product]]\Support\Temp
There are two errors that you may encounter when using KB4Diag and there are simple fixes for each.
ERROR 1: Unhandled exception has occurred in your application.
If you receive this error, the most likely cause is that you are attempting to run the file directly from Internet Explorer. Try saving the file to your Downloads folder instead. Once downloaded, run the file from within its saved location. If you're still experiencing issues with this method, let your Support tech know.
ERROR 2: Email address not associated with this ticket. Please try again.
If you receive this error, the most likely cause is that your email address is not correct. Double-check that the email you're typing in is the one that is on the ticket you have opened. Also, check out the formatting to ensure you're using standard email format. If you're still experiencing issues, let your Support tech know.
What Files Are Gathered?
-Application logs for the affected program
-Config files for the affected program
-Registry keys for the affected program
-Last 5 days of Application Event logs
-Last 5 days of System Event logs
-Last 3 days of Security Event logs
-Files in InstallDir for the affected program
-List of currently running processes
-Data entered into Diagnostics UI
I Don't Want to Use This Tool. What Should I Do?
If you'd prefer not to use this program to gather the files, you are welcome to ask your Support tech for what specific files you need to gather and do it manually. The tool just makes it faster and more secure for you and the Support tech you're working with to transmit information.