- Home
- Skills
- DevOps & Cloud
- Remote PC Power: Turn a Windows PC On/Off From Anywhere
More screenshots
Works with the AI Agents you already use
Remote PC Power: Turn a Windows PC On/Off From Anywhere
Free and open source (MIT license). Wake-on-LAN doesn't work from outside your home network, and a sleeping PC can't be woken over the internet.
Free
Remote PC Power: Turn a Windows PC On/Off From Anywhere
Example session with this skill installed
I'm going to be away from home for a month and I need my Windows desktop there. Set it up so I can turn it on and off and use it from my phone or laptop while I'm travelling. I have a TP-Link Tapo smart plug.
- Read your context and instructions
- Compiled the remote pc power
Summary
Your PC can now be shut down, restarted and used remotely. Remote power-on works once you finish the manual steps below and pass the plug test.
What I checked (verify.ps1, read-only)
| Check | Result |
|---|---|
| Windows edition | Windows 11 Pro: can host Remote Desktop |
| Python | 3.13, installed for all users |
| Tailscale | installed and signed in |
| Sleep on AC | was 30 min: a sleeping PC can't be woken remotely |
| BitLocker on C: | off |
What I automated (install.ps1, elevated, with your approval)
- Power page as a SYSTEM boot task on port 8766: answers at the login screen
- Firewall: TCP 8766 and 3389 only from the Tailscale adapter and your home subnet
- Remote Desktop on, Network Level Authentication required
- Never sleep on AC, Fast Startup off
- Tailscale unattended mode on
- Windows Update paused for 30 days
- The power-page link is on your clipboard and in an admin-only file (not shown here). Send it to your phone with Taildrop.
Still for you
- BIOS: Restore on AC Power Loss = Power On; ErP = Disabled
- Tapo app: power-on state after an outage = ON
- Tailscale admin console: this PC > Disable key expiry
- Phone: Tailscale + Windows App; sign in with your Windows password, not the PIN
Test before you leave
- Power page > Shutdown, wait until the plug reads about 0 W
- Plug OFF for 30 s, then ON: the PC must boot by itself within a minute
- Repeat from mobile data with Wi-Fi off, then connect with Remote Desktop
Undo everything any time with uninstall.ps1.
Connects securely to your tools. The creator never sees your data.
About this skill
Free and open source (MIT license).
Wake-on-LAN doesn't work from outside your home network, and a sleeping PC can't be woken over the internet. This skill sets up the method that does work for a desktop PC, with nothing exposed to the internet:
- ON: a smart plug cuts and restores power; the BIOS setting Restore on AC Power Loss = Power On boots the PC by itself.
- OFF: a tiny phone-friendly power page (Shutdown, Restart, Lock, Cancel), reachable only over Tailscale or your home LAN and protected by a 144-bit key.
- USE: Remote Desktop with Network Level Authentication, over Tailscale.
What your agent does
- Checks first (read-only): runs
verify.ps1and reports Windows edition, Python, Tailscale, power plan, firewall and BitLocker status. - Asks only what it can't detect: your smart plug model, whether the BIOS setting is done, how long you'll be away.
- Automates, with your approval (elevated
install.ps1; preview first with-WhatIf):- power page as a SYSTEM boot task in
C:\Program Files\remote-pc-power, so it answers at the login screen - firewall rules scoped to the Tailscale adapter (100.64.0.0/10) and your local subnet on Private networks
- Remote Desktop on, NLA required
- never sleep on AC power, Fast Startup off
- Tailscale unattended mode
- optional: pause Windows Update (
-PauseUpdatesDays), boot hardening (-HardenBoot, refused on BitLocker-protected drives)
- power page as a SYSTEM boot task in
- Hands you the manual checklist: BIOS settings, the plug's power-on-after-outage state, Tailscale key expiry, phone setup.
- Walks you through the tests: a plug-cycle test at home, then a remote test from mobile data.
Safety built in
- The agent never toggles your smart plug and never adds Sleep/Hibernate (a sleeping PC is unreachable).
- Nothing is port-forwarded; RDP and the power page never get an "Any" firewall scope.
- The power-page key is never printed: it goes to your clipboard and an Administrators-only file.
- The installer refuses a Python that non-admin accounts can modify, because the power page runs as SYSTEM.
- Every change is recorded in
state.json;uninstall.ps1reverses it.
Requirements
- Windows 10/11 desktop. Pro or Enterprise for Remote Desktop (on Home the power parts still work; use another remote-screen app).
- Python 3.9+ from python.org, installed for all users.
- A free Tailscale account, on the PC and on your phone or laptop.
- A smart plug whose power-on state after an outage can be set to ON.
- A BIOS with "Restore on AC Power Loss" (most desktop boards have it).
The screenshots show the architecture, the power-cycle sequence and the power states, including the two traps (sleep, and a power cut mid-boot).
Requires physical smart plug. BIOS settings must be changed manually. Windows Home edition cannot host RDP. Python 3.9+ must be installed for all users via python.org.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 3 days ago
- Free with an Agensi account
Windows only
- Accounts
- Tailscale account (free)
- Software
- Python 3.9+ from python.org (all users)Smart plug
- Optional
- Windows ProorEnterprise (for Remote Desktop)
Run install.ps1 with -WhatIf first. It needs Administrator: it changes firewall, Remote Desktop and power settings and adds a SYSTEM boot task. Every change is recorded; uninstall.ps1 reverses it.
Permissions
What's inside
Frequently Asked Questions
New in DevOps & Cloud
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.