Skip to content

Instantly share code, notes, and snippets.

@andrewpayne68
Created October 19, 2025 11:04
Show Gist options
  • Select an option

  • Save andrewpayne68/2c0a64dbf70128db88aa3ae606924c97 to your computer and use it in GitHub Desktop.

Select an option

Save andrewpayne68/2c0a64dbf70128db88aa3ae606924c97 to your computer and use it in GitHub Desktop.
Remotely lock Windows

Remotely Lock Windows

Click Start, Run

Rundll32.exe user32.dll,LockWorkStation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment