2020-06-08 02:44:19 +08:00
---
title: "Windows"
date: 2020-05-26T20:57:10+03:00
draft: false
pre: '< i class = "fab fa-windows" > < / i > '
weight: 2
2021-01-28 02:13:25 +08:00
tags: ["setup", "windows"]
2020-06-08 02:44:19 +08:00
---
## Deployment
2021-07-28 18:56:49 +08:00
{{% notice tip %}}
2021-09-10 21:39:28 +08:00
Don't get scared if the Infection Monkey gets [flagged as malware during the installation ](/faq/#is-the-infection-monkey-a-malwarevirus ).
2021-07-28 18:56:49 +08:00
{{% /notice %}}
2021-01-23 00:50:51 +08:00
After running the installer, the following prompt should appear on the screen:
2020-06-08 02:44:19 +08:00
![Windows installer screenshot ](../../images/setup/windows/installer-screenshot-1.png "Windows installer screenshot" )
2021-01-23 00:50:51 +08:00
1. Follow the steps to complete the installation.
2020-06-08 02:44:19 +08:00
1. Run the Monkey Island by clicking on the desktop shortcut.
2021-10-21 20:52:37 +08:00
{{% notice info %}}
If you're prompted to delete your data directory and you're not sure what to
do, see the [FAQ]({{< ref
"/faq/#i-updated-to-a-new-version-of-the-infection-monkey-and-im-being-asked-to-delete-my-existing-data-directory-why"
>}}) for more information.
{{% /notice %}}
2021-11-30 21:44:46 +08:00
>
## Configuring the server
2021-12-01 01:52:40 +08:00
You can configure the server by editing [the configuration
file](../../reference/server_configuration) located in installation directory.
The default path is
`C:\Program Files\Guardicore\Monkey Island\monkey\monkey_island\cc\server_config.json` .
2021-10-21 20:52:37 +08:00
2021-08-10 02:09:02 +08:00
### Start Monkey Island with user-provided certificate
2021-06-11 00:59:32 +08:00
By default, Infection Monkey comes with a [self-signed SSL certificate ](https://aboutssl.org/what-is-self-sign-certificate/ ). In
enterprise or other security-sensitive environments, it is recommended that the
user provide Infection Monkey with a certificate that has been signed by a
private certificate authority.
1. Stop the Monkey Island process.
1. (Optional but recommended) Move your `.crt` and `.key` files to `%AppData%\monkey_island` .
2021-11-30 21:44:46 +08:00
1. Modify the `server_config.json` (by default located in `C:\Program Files\Guardicore\Monkey Island\monkey\monkey_island\cc\server_config.json` ) by adding the following lines:
```json
{
...
"ssl_certificate": {
"ssl_certificate_file": "%AppData%\\monkey_island\\my_cert.crt",
"ssl_certificate_key_file": "%AppData%\\monkey_island\\my_key.key"
},
...
}
```
2021-06-11 00:59:32 +08:00
1. Run the Monkey Island by clicking on the desktop shortcut.
2021-11-30 21:44:46 +08:00
1. Access the Monkey Island web UI by pointing your browser at
`https://localhost:5000` .
2021-06-11 00:59:32 +08:00
2021-11-30 21:44:46 +08:00
### Change logging level
1. Stop the Island server.
1. Modify the `server_config.json` (by default located in `C:\Program Files\Guardicore\Monkey Island\monkey\monkey_island\cc\server_config.json` ) by adding the following lines:
```json
{
...
"log_level": "INFO",
...
}
```
1. Run the Monkey Island by clicking on the desktop shortcut.
2021-10-20 19:21:10 +08:00
1. Access the Monkey Island web UI by pointing your browser at
`https://localhost:5000` .
2020-06-08 02:44:19 +08:00
## Troubleshooting
2021-06-10 14:29:07 +08:00
### Support
Only **English** system locale is supported. If your command prompt gives output in a different
2021-06-10 15:17:22 +08:00
language, the Infection Monkey is not guaranteed to work.
2021-06-10 14:29:07 +08:00
2021-06-10 15:17:22 +08:00
For supported Windows versions, take a look at the [OS support page ](../../reference/operating_systems_support ).
2021-06-10 14:29:07 +08:00
2021-01-23 00:50:51 +08:00
### Missing Windows update
2020-06-08 02:44:19 +08:00
2021-01-28 02:26:01 +08:00
The installer requires [Windows update #2999226 ](https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows ).
If you're having trouble running the installer, please make sure to install the
update via Windows Update or manually from the link above.
2020-06-08 02:44:19 +08:00
### Supported browsers
2021-01-28 02:26:01 +08:00
The Monkey Island supports Chrome (and Chrome-based) browsers. If your Windows
server only has Internet Explorer installed, please install Chrome or a similar
modern browser. [You can download Google Chrome
here](https://www.google.com/chrome/).
2020-06-14 20:44:07 +08:00
## Upgrading
2021-01-28 01:54:35 +08:00
To upgrade the Infection Monkey on Windows, download the new installer and run
it. The new Monkey version will be installed over the old version.
2020-06-14 20:44:07 +08:00
2021-01-28 01:54:35 +08:00
If you'd like to keep your existing configuration, you can export it to a file
using the *Export config* button and then import it to the new Monkey Island.
2020-06-14 20:44:07 +08:00
![Export configuration ](../../images/setup/export-configuration.png "Export configuration" )