Jump to content

[Version 1] Simple Windows Shutdown

Recommended Posts

This code has only been tested in Windows XP running with in a virtualbox on my Linux box.

If other could give me feed back on how it runns on other systems it would be helpful.

Rubber Ducky Shutdown
Created By Kris Occhipinti (A.K.A. Metalx1000)
April 27th 2010

Released under the GPLv3

This code will set a Windows Machine to shutdown in 5 minute.
Runs in under 1 second.
It loops every 5 second incase the code was missed the first time.

For more info Please Visit:

void setup() { } // no setup needed
void loop() {
  //clears any modifier keys

  // release all the keys at the same instant
  //Enters shutdown command in Seconds (300 secs = 5 Minutes)  
  Keyboard.println("shutdown -s -t 300 -f");


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...