Windows downloads
WINDOWS HOST CLI

Your Windows terminal.
In your browser.

Unattended PowerShell and Command Prompt access to Windows servers and PCs, including compatible Server Core installations. The Host runs in the background without a desktop sign-in.

Download and install from PowerShell

Open Windows PowerShell as Administrator, including on Server Core. If you are in Command Prompt, enter powershell first. Paste this block to download the EXE and run setup in your current console:

Windows x64 · download & run installer
$installer = Join-Path $env:TEMP 'Screen2Screen-Win-CLI-Host.exe'
try {
  [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
  Invoke-WebRequest -UseBasicParsing -Uri 'https://screen2screen.net/download/Screen2Screen-Win-CLI-Host.exe' -OutFile $installer -ErrorAction Stop
  Start-Process -FilePath $installer -NoNewWindow -Wait -ErrorAction Stop
} catch {
  Write-Error $_
}

Follow the setup console’s prompts. New Hosts link to their organization and need Host approval; an already paired Host keeps its pairing and settings. Use this same download-and-run block for later updates. The 0.1.12 installer continues upgrades in the background when the Screen2Screen terminal disconnects.

Install. Join. Connect.

  1. Run the EXE installer. Approve administrator access. The setup console checks components and installs Microsoft OpenSSH Server if needed. If Windows requests a restart, restart and run setup again.
  2. Share the device code. Give the displayed six-digit code to your technician. They enter it in Tech Workspace → Onboarding and choose Claim device.
  3. Confirm the organization. Check the organization and technician shown in the setup console, then type JOIN.
  4. Approve the Host. An authorized technician or administrator approves the Windows CLI device in Always On approvals.
  5. Open your terminal. In Requests & Devices, choose Connect, select PowerShell or Command Prompt, then enter an authorized Windows account and password.

The CLI Host is a separate installation and device registration from Windows GUI Host. Use the GUI edition when you need desktop video, mouse control or its file-transfer feature.

What you need

  • A compatible Windows x64 system with .NET Framework and Windows PowerShell. Setup checks the actual components and native runtime rather than a Windows release whitelist.
  • Administrator permission to install the service. On Server Core, run the EXE from an Administrator terminal.
  • A local or domain Windows account with password authentication allowed by your Windows and OpenSSH policies. Use a local username, DOMAIN\username or a supported domain UPN.
  • A Screen2Screen organization, an approved Always On device slot and an authorized technician. Organization MFA and concurrent-session limits apply.
  • Outbound internet connectivity for Screen2Screen and encrypted WebRTC terminal traffic.

Server 2016 and other systems without the newer Windows console interface automatically use a compatibility console for full-width text, resizing and continuous scrolling. Newer systems retain their existing console path.

A graphical desktop and Media Foundation are not required. Windows Hello PIN and Microsoft Entra account sign-in are not supported by this SSH method.

Screen2Screen uses a private loopback-only SSH listener. Setup preserves existing SSH services and configuration and does not require an inbound public SSH port.

Later updates

Download and run the latest EXE installer with administrator permission. Existing pairing is preserved. Starting with installer 0.1.12, Windows runs upgrades independently of the support terminal, including upgrades from older Host versions. The terminal disconnects while the Host restarts; reconnect after it checks in. Setup prints a protected progress log and attempts to restore the previous installation if an upgrade fails. Task Scheduler must be available.

Current release: 0.1.15 · Windows x64. Download file checksums.

Useful commands

Run these in Administrator PowerShell. Include the leading & before the quoted path.

Check status

& "$env:ProgramFiles\Screen2Screen CLI Host\screen2screen-windows-host.cmd" status

Get a new join code

& "$env:ProgramFiles\Screen2Screen CLI Host\screen2screen-windows-host.cmd" setup --joincode

If already paired, unpair first when changing organizations or replacing a removed device.

Unpair before uninstalling

& "$env:ProgramFiles\Screen2Screen CLI Host\screen2screen-windows-host.cmd" unpair

Confirm UNPAIR to release the organization device allowance. Then run the installed Uninstall.ps1 in Administrator PowerShell. It removes the service and retains files and configuration for review.

Prefer a ZIP?

For a console-only ZIP download, extraction and installation, run this in Administrator Windows PowerShell:

Windows x64 · ZIP download, extract & install
$archive = Join-Path $env:TEMP 'Screen2Screen-Win-CLI-Host.zip'
$destination = Join-Path $env:TEMP 'Screen2Screen-CLI-Setup'
try {
  [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
  Invoke-WebRequest -UseBasicParsing -Uri 'https://screen2screen.net/download/Screen2Screen-Win-CLI-Host.zip' -OutFile $archive -ErrorAction Stop
  Expand-Archive -LiteralPath $archive -DestinationPath $destination -Force -ErrorAction Stop
  & powershell.exe -NoProfile -ExecutionPolicy Bypass -File (Join-Path $destination 'S2S-Host\Install.ps1') -InstallOpenSsh
} catch {
  Write-Error $_
}

Download the ZIP alternative, extract it and open the S2S-Host folder. From an Administrator terminal in that folder, run:

powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\Install.ps1 -InstallOpenSsh

This sets script execution policy only for that setup process. Machine and user policy settings are not changed, and enforced organization policy still applies. The EXE performs these setup steps for you.

If setup needs attention

  • Restart requested: restart Windows, then run the installer again.
  • Device awaiting approval: ask an authorized technician or administrator to approve its Always On request.
  • Windows sign-in fails: use the account password rather than a Windows Hello PIN, and check the system's account and OpenSSH policies.
  • Device removed from Always On: run unpair, confirm UNPAIR, then run setup --joincode.

Local diagnostics are in %ProgramData%\Screen2Screen CLI Host\service.log. The bundled README contains advanced commands and component details.

Publisher signing is being finalized. The current installer is unsigned; Windows may identify its publisher as unknown. Use the download links on screen2screen.net.