Not available in SaaS.
- The WMI scanner finds privileged local accounts in the default Administrators group.
- The PowerShell scanner also finds local accounts with any privileged permission granted via GPO (for example,
SeTcbPrivilege,SeBackupPrivilege).
Configuration keys
Add or change these inEkranServer.Settings.config, found in C:\Program Files\Ekran System\Ekran System\Server on the Application Server host.
WMI scanner prerequisites
1
Check the timeout key
Confirm
WmiConnectionTimeoutSeconds is valid in the config file. The default 20s is usually enough; a high value can slow scans when target computers are unreachable.2
Allow WMI through the firewall
On both the Application Server host and the target computers: press Win+R, run
firewall.cpl, click Allow an app or feature through Windows Defender Firewall → Change settings, find Windows Management Instrumentation (WMI), and allow it in Private, Public, and Domain as required.3
Check the targets
Make sure target computers are online, their local accounts aren’t disabled, and they have the latest Windows cumulative updates.
PowerShell scanner prerequisites
1
Check the timeout key
Confirm
PowerShellConnectionTimeoutSeconds is valid in the config file.2
Enable WinRM
Ensure the WinRM service runs on both the Application Server host and the targets. It’s on by default only on Windows Server. To check and enable on Windows 10/11:
Enable-PSRemoting also sets the service to Automatic and opens the WinRM firewall rules.3
Add trusted hosts (cross-domain)
If the Application Server host and targets aren’t in the same domain, add the targets to the trusted hosts list on the Application Server host:Separate multiple values with commas, or use asterisks for ranges (for example,
10.150.*). Trusting * is possible but not recommended.4
Allow WinRM through the firewall
Enable the Windows Remote Management (HTTP-In) inbound rule on the targets and allow port 5985.
5
Synchronize time
The Application Server host and targets must use the same time source. A PowerShell remote session fails if a target is ~10+ seconds out of sync; adding the target to trusted hosts is an alternative workaround.
6
Check WMI on targets
Ensure the WMI service is running on the targets (on by default, but may have been disabled).
Optional: use HTTPS for PowerShell scanning
Optional: use HTTPS for PowerShell scanning
To use HTTPS instead of HTTP, set up an HTTPS listener on each computer to be scanned:Use a GPO to set this up across many computers.
- Generate a self-signed certificate:
- Create the listener using the certificate thumbprint (run in cmd, not PowerShell):
- Allow port 5986 in the firewall:
- Export the certificate, then import it into Trusted Root Certification Authorities on the Application Server host:
Troubleshooting
Application Server logs can be downloaded from the Management Tool or found inC:\Program Files\Ekran System\Ekran System\ServerLogs.
WMI scanning errors
WMI scanning errors
- WMI service not running / paused — resume the WMI service on the target.
- Cannot scan (offline / port 135 blocked / unreachable) — turn the target on, allow port 135 in the firewall, or verify reachability with
ping. - Access is denied — the secret’s credentials are wrong or lack permissions; try another secret.
- Can’t scan the Application Server’s own computer — use the PowerShell scanner for that host instead.
- Connection timed out — increase
WmiConnectionTimeoutSeconds.
PowerShell scanning errors
PowerShell scanning errors
- Cannot scan (offline / WinRM disabled / firewall / bad listener) — turn the target on, enable WinRM, check the firewall (5985/5986), or check listeners with
winrm enumerate winrm/config/listener. - Not in same domain / IP not trusted — add the target to TrustedHosts or use HTTPS.
- Name cannot be resolved — use the IP (added to TrustedHosts) instead of the name.
- Access is denied — wrong credentials or insufficient permissions; try another secret.
- Connection timed out — increase
PowerShellConnectionTimeoutSeconds.
Related
Account Discovery
Create and run Computer Discovery rules.
SSH for Linux Discovery
The equivalent setup for Linux scanning.