Skip to content
Search Gists
Search Gists
All gists
Back to GitHub
Sign in
Sign up
Sign in
Sign up
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
andrewpayne68
/
remote-lock.md
Created
October 19, 2025 11:04
Show Gist options
Download ZIP
Star
0
(
0
)
You must be signed in to star a gist
Fork
0
(
0
)
You must be signed in to fork a gist
Embed
Select an option
Embed
Embed this gist in your website.
Share
Copy sharable link for this gist.
Clone via HTTPS
Clone using the web URL.
No results found
Clone this repository at <script src="https://gist.github.com/andrewpayne68/2c0a64dbf70128db88aa3ae606924c97.js"></script>
Save andrewpayne68/2c0a64dbf70128db88aa3ae606924c97 to your computer and use it in GitHub Desktop.
Code
Revisions
1
Embed
Select an option
Embed
Embed this gist in your website.
Share
Copy sharable link for this gist.
Clone via HTTPS
Clone using the web URL.
No results found
Clone this repository at <script src="https://gist.github.com/andrewpayne68/2c0a64dbf70128db88aa3ae606924c97.js"></script>
Save andrewpayne68/2c0a64dbf70128db88aa3ae606924c97 to your computer and use it in GitHub Desktop.
Download ZIP
Remotely lock Windows
Raw
remote-lock.md
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
You can’t perform that action at this time.