Port 1688 · TCP

Port 1688: KMS activation

Key Management Service, how organisations activate Windows and Office against their own activation server.

Protocol
TCP
On Windows
Not part of Windows; installed software uses it
Risk if open to the internet
Medium

Seeing it on your PC

Normal on a work PC that activates against the company's KMS server. On a home PC, a KMS connection, especially to 127.0.0.1 or an internet address, usually means an unofficial "KMS activator" is installed, and those are a common way malware gets in.

Should you block it?

On a home PC, find out what is using it. Nothing at home should run a KMS server.

Check it on your PC

Run this in PowerShell to see what is using port 1688 right now, and which program owns it:

Get-NetTCPConnection -LocalPort 1688 -ErrorAction SilentlyContinue | Select-Object LocalAddress,LocalPort,RemoteAddress,RemotePort,State,@{n='Process';e={(Get-Process -Id $_.OwningProcess -ErrorAction SilentlyContinue).ProcessName}}

No output means nothing is using the port at the moment. For every connection at once, paste netstat -ano into the netstat explainer.

Block it in Windows Firewall

In PowerShell run as administrator, this stops other computers from connecting to this port on your PC. It does not stop your own programs connecting out.

New-NetFirewallRule -DisplayName "Block inbound TCP 1688" -Direction Inbound -Protocol TCP -LocalPort 1688 -Action Block

Undo it with Remove-NetFirewallRule -DisplayName "Block inbound …", using the same name. If you depend on the service on your local network, this rule stops that too.