Skip to content

derivativeoflog7/PullThePlug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PullThePlug

(Almost) immediately shut off a Windows computer, (almost) like if someone pulled the power plug.
This is accomplished by calling two functions inside NTDLL.DLL that are normally ran at the end of the normal shutdown process, NtShutdownSystem and NtSetSystemPowerState.

Warning!

Running this program will immediately shut down your computer, all unsaved data will be lost.
Loss of data or data corruption could also be caused by the sudden shutdown (just like it could if you were to unplug your PC from power!)
I'm not responsable for any loss of data caused by the usage of this program.
I do not condone the usage of this program to cause damage to other people's hardware, software or data.

Requirements

Precompiled builds support Windows XP and onwards (compiled using the v141_xp build tools).
Requires Microsoft Visual C++ Redistributable for VS2015 or newer to be installed

Usage

Just open the executable.

Most of the original work done by hxhl95, I just reimplemented part of their code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages