Skip to content

Releases

v1.0.2

Choose a tag to compare

@github-actions github-actions released this 30 Nov 03:59

[1.0.2] - 2026-11-30

Patch release.

Fixed

  • "Start with Windows" didn't actually survive a reboot. HKCU\...\Run combined with the requireAdministrator manifest gets silently refused by UAC on some configurations, stripped by AV, or blocked under Startup Approved. Autostart now runs through a Scheduled Task registered under the current user with /rl HIGHEST, which carries its own elevation and starts silently.

Changed

  • Default deactivate_delay_ms lowered from 3000 to 1500 ms (matches activate_delay_ms). The composite detector already returns state::unknown on transient failures, which covers the flap case the extra buffer was defending against.

Added

  • Smoke tests for the RDP session detector added in 1.0.1 (wiring regressions only; the underlying SM_REMOTESESSION value is Windows's responsibility).

Download

  • privacy_screen.exe is the standalone binary. Copy it to the host and run it; UAC prompts on first launch, then the tray icon appears.
  • privacy_screen.exe.sha256 is the SHA-256 checksum. Verify with Get-FileHash -Algorithm SHA256 privacy_screen.exe.

SHA-256: 690c0dc47a527c2e608a2f15d52586b1838319574197ec6f89c89c4b670342a5

SmartScreen

The binary is not code-signed. Windows SmartScreen will warn on first launch: click More info then Run anyway. See docs/install.md if you prefer to build from source.

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 29 Nov 16:43

[1.0.1] - 2026-11-29

Patch release. Four fixes raised in an external code review of the 1.0.0 drop.

Fixed

  • A failed registry write would still show the user "Settings updated". save() only verified that each subkey could be created; the actual RegSetValueExW return was dropped. The writers now return LSTATUS and save() reports the first non-success.
  • MultiByteToWideChar, WideCharToMultiByte and GetWindowThreadProcessId were called without checking their return values. Nothing broke on valid input, but a bad UTF-8 string or a window that died between EnumWindows and the callback would quietly produce garbage. Returns are checked now; the callers return empty / skip the window on failure.

Added

  • Native RDP session detector via GetSystemMetrics(SM_REMOTESESSION). An mstsc or Remote Assistance session previously fell through all three app-specific detectors and the generic process watchlist and did not raise the overlay. Now it does.

Changed

  • Dropped std::atomic from overlay_blackout_controller::blanked_. Nothing touches it off the main thread; the atomic was leftover defensive noise.

Download

  • privacy_screen.exe is the standalone binary. Copy it to the host and run it; UAC prompts on first launch, then the tray icon appears.
  • privacy_screen.exe.sha256 is the SHA-256 checksum. Verify with Get-FileHash -Algorithm SHA256 privacy_screen.exe.

SHA-256: 7235239d5885ffaf4d208b278fc90fab31a2d81bd0f82c37ca931db9db820ed5

SmartScreen

The binary is not code-signed. Windows SmartScreen will warn on first launch: click More info then Run anyway. See docs/install.md if you prefer to build from source.

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 14:44

[1.0.0] - 2026-11-29

First public release. Apache 2.0.

Blackout

  • Overlay-based local blackout: fullscreen top-most window with WDA_EXCLUDEFROMCAPTURE, WS_EX_TRANSPARENT click-through, WS_EX_TOOLWINDOW, spanning the virtual screen. Locally black; remote capture sees the real desktop.
  • Optional WMI brightness dimming on laptops with a Windows-controlled integrated panel.
  • UIAccess bootstrap via a Winlogon token borrow so the overlay covers Alt+Tab, Win+Tab and the Start Menu.
  • DWM-restart handling: the overlay re-arms WDA_EXCLUDEFROMCAPTURE on the next tick after a dwm.exe restart.

Detection

  • Dedicated detectors for the three tools whose always-on helper process would otherwise false-positive:
    • AnyDesk - matches the ad_watermark#NN window class, which appears only after Accept.
    • RustDesk - counts rustdesk.exe processes in the caller's Windows session; the active-session threshold (3) separates the live session from the Accept prompt (2) and idle (1).
    • TeamViewer - matches the TV_ControlWin floating session panel.
  • Generic process watchlist covering Chrome Remote Desktop (remoting_desktop.exe), Parsec (parsecd.exe), MeshCentral (MeshAgent.exe) and VNC (winvnc.exe).
  • All four detectors filter by Windows session via ProcessIdToSessionId, so another logged-in user's remote tool cannot trigger the overlay on fast-user-switching or RDP hosts.
  • Transient CreateToolhelp32Snapshot / EnumWindows failures return state::unknown rather than state::no_remote, so a one-tick OS hiccup does not tear down an active overlay.
  • Composite detector short-circuits on the first remote_active and carries its evidence to the tray tooltip.

Policy and state

  • blackout_policy with three modes: Manual, Auto-detect remote sessions (default), Always on.
  • Debounced auto-mode: configurable activate / deactivate delays (defaults 1500 / 3000 ms). Manual activations are respected - policy never auto-deactivates something the user raised.
  • Policy keeps ownership across a brief manual off/on during a live auto session, and releases ownership on an arming-cancel.
  • Always-on mode is one-shot per settings period so a manual deactivate is respected.
  • Four-state machine (idle → arming → active → disarming → idle) with a disarming → active short-circuit for user change-of-mind, and a panic event that drops straight to idle from any state with a synchronous display restore.

Tray, hotkey, notifier, status indicator

  • Tray icon with context menu: Activate now, Auto-detect toggle, Show status indicator, Start with Windows, Settings, About, Exit.
  • TaskbarCreated listener re-installs the tray icon after an Explorer restart.
  • Global hotkey Ctrl + Alt + B (hardcoded in 1.0.0) toggles the overlay.
  • Toast notifications on active, idle-after-active, settings-updated, and hotkey-conflict events. arming / disarming transitions are deliberately silent to keep toggle spam out of the notification center.
  • Status indicator overlay: watermark badge at the top-center of the primary monitor ("PRIVACY SCREEN ACTIVE" + green dot). Not capture-excluded, so the remote operator sees it; invisible to the local user under the main overlay.

Settings

  • registry_config_store persists under HKCU\Software\privacy_screen. Read path never creates subkeys, so first launch leaves no footprint until the user saves. Write path is fallible - save failures surface as a toast instead of silent revert on a GPO/AV-locked registry. Enum values are range-checked so a malformed regedit write cannot land in an unknown branch.
  • Modal Settings dialog (Mode radio, four delay edits, status-indicator checkbox).
  • Start with Windows toggle writes HKCU\...\Run\privacy_screen with the absolute exe path. is_enabled verifies the stored path matches the current exe, so a moved or renamed binary shows as "off" instead of silently launching a stale copy.
  • Single-instance guard via Local\privacy_screen_singleton (session-scoped, so fast-user-switching and RDP peers each get their own instance).

Build and tests

  • C++20, MSVC /W4 /permissive- /utf-8 /Zc:__cplusplus /EHsc.
  • CMake 3.25+, Ninja Multi-Config, vcpkg (only gtest).
  • 59 gtest cases covering the state machine, event bus, policy, composite detector, AnyDesk class match, RustDesk state decider and the registry config store.

Documentation

  • README (English and Russian mirror).
  • docs/architecture.md, docs/threat-model.md, docs/tested.md, docs/install.md, docs/troubleshooting.md.
  • SECURITY.md and CONTRIBUTING.md.

Download

  • privacy_screen.exe is the standalone binary. Copy it to the host and run it; UAC prompts on first launch, then the tray icon appears.
  • privacy_screen.exe.sha256 is the SHA-256 checksum. Verify with Get-FileHash -Algorithm SHA256 privacy_screen.exe.

SHA-256: 0aa024df5933b1fd6fe19f502e9b6493bd002d85b9f865c38be174be40fa6b3f

SmartScreen

The binary is not code-signed. Windows SmartScreen will warn on first launch: click More info then Run anyway. See docs/install.md if you prefer to build from source.