diff --git a/monkey/infection_monkey/credential_collectors/ssh_collector/ssh_handler.py b/monkey/infection_monkey/credential_collectors/ssh_collector/ssh_handler.py
index ce3b17311..2e799e0c4 100644
--- a/monkey/infection_monkey/credential_collectors/ssh_collector/ssh_handler.py
+++ b/monkey/infection_monkey/credential_collectors/ssh_collector/ssh_handler.py
@@ -1,7 +1,11 @@
 import glob
 import logging
 import os
-import pwd
+
+try:  # can't import on Windows
+    import pwd
+except ModuleNotFoundError:
+    pass
 from typing import Dict, Iterable
 
 from common.utils.attack_utils import ScanStatus