Mischievious Prank: Change Windows Wallpaper…and keep it that way

mischievous

Your friend leave their Windows computer unlocked?  Want to change their wallpaper?  Want to make it change back to your wallpaper every time they log into their computer?  Well, here’s your guide…

So, with Windows you can set the wallpaper via the command line.  We’re going to abuse this feature and create a batch file that runs on each logon to set the user’s wallpaper.  What this means is that even if they change it, once they reboot or logoff/logon, it’ll change back to your evil wallpaper.  Good luck figuring out how to undo this if you’re an un-tech savy victim of this prank.

First, with access to your victim’s machine you’ll need to download the wallpaper you want to use.  How about something with the one true god, Nick Cage himself?  (http://reddit.com/r/onetruegod/ if you’re the sensitive type and don’t get the joke)

One True God

Perfect.  You should be giggling about this already.  If you’re not, stop drinking your tea with your pinky in the air.

Now, download the wallpaper to their computer and put it in a hidden location.  Let’s say under c:\temp\ for examples sake. I typically bury the wallpaper file somewhere deep under the Windows or ProgramData directory.  The more hidden, the better.  Also name the file something innocuous so that it isn’t as obvious when searching.

Download it here: http://boreditguy.com/blog/wp-content/uploads/2014/11/tdie5Mi-Imgur.jpg

So, here is the command to set the wallpaper:

reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d  C:\temp\tdie5Mi-Imgur.jpg /f

Of course, that’s assuming you used the location and file I’m using as the example.  That sets the registry value for the wallpaper location.  To make it refresh, run this command:

RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters

alright alright alright

As long as that works, we’re good to go.  Now, open notepad and copy those two commands into a new file, each one a separate line.

reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d  C:\temp\tdie5Mi-Imgur.jpg /f
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters

Then do a save as, change the ‘save as type’ to all files, and save the file as something.bat, like so:

batch

Assuming Windows 8, save that .bat file to this location: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

Once the user reboots, the wallpaper will again change to your evil wallpaper.  Congratulations, your devil horns just grew another inch…

Related Posts Plugin for WordPress, Blogger...