This repository contains a small Windows diagnose tool for Desktop Commander.
The tool adds an inbound Windows Firewall allow rule for:
C:\Program Files\Desktop Commander\Desktop Commander.exe
The rule is created with these settings:
- Rule name:
Desktop Commander - Direction: inbound
- Action: allow
- Protocol: any
- Profiles: public and domain
The main script is:
allow-desktop-commander-firewall.cmd
It is intended to be run on Windows with Administrator permission. When launched, it:
- Shows a Desktop Commander Diagnose Tool banner and version.
- Explains the firewall rule it is about to apply.
- Verifies that the script is running as Administrator.
- Asks the user to confirm before making changes.
- Replaces any matching existing firewall rule to avoid duplicates.
- Adds the Desktop Commander firewall rule with
netsh.exe.
If the script is not run as Administrator, it shows an error and tells the user to run it with elevated permissions.
Current script version: v1.0
The docs folder contains a static download page:
docs/index.html
The page provides a Desktop Commander styled experience with a button that downloads:
docs/desktop-commander-diagnose-tool.cmd
The downloadable script in docs should stay in sync with the root script.
On Windows:
- Download
desktop-commander-diagnose-tool.cmd. - Right-click the file.
- Choose Run as administrator.
- Press
Ywhen asked to confirm the firewall change.
Administrator permission is required because Windows Firewall rules can only be changed by elevated processes.