Introduction: Fun With Friend's PC!

Cause a friend's PC to open exe files with the "open with" dialog!

Step 1: Create a Registry Script With Notepad

Open notepad and type the following exactly:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"

Now save the file with a name like "EXEfix.reg", because this is the backup to make the PC open files correctly! You will have to choose "all files" as the type or windows will name the file exefix.reg.txt, and it will not work, but will open in notepad instead.

Step 2: Now the One That Counts

Now open notepad again and create a new file, changing only the "%1" to "%2" like follows:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%2\" %*"

Now save this file as NOEXE.reg, remembering to change the type to "all files". You should now have 2 registry scripts called exefix.reg, and noexe.reg.

Step 3: Now Double Click Noexe.reg!

Now run Noexe.reg, by double clicking it and Windows will ask you if you want to add the info to the registry, just click yes and then windows will tell you it was added successfully. Now to see how it works just go to the desktop and try to run a program. You should see the open with dialog asking you what program you want to open it with! If you choose another program, then it will try to open the first one which is likely to cause it to stop responding. You can still right click and choose open which will work, but it may take your buddy a while to figure that out. To fix it just run the exefix and all will be back to normal! This is a fun prank, but may cause someone to call IT if you do it at work, so I wouldnt suggest it.

Comments

author
gauthamishere4u made it!(author)2011-06-01

how it could be fixed after executing this?

author
adagio made it!(author)2009-11-14

it totally screwed up my laptop since the EXEfix.reg file doesnt do anything

some help would be nice

author
Sparkythehappygirafe made it!(author)2009-04-16

Ummm what does this actually do?. . .

author
vaiden made it!(author)2009-04-22

When the user double clicks any executable file they will be met with the "open with" dialog asking what program they want to use to open the program. Then if they choose one it will open again. Easy fun, easy to fix!

author
hg341 made it!(author)2009-04-10

wow!! i think ill put this on a floppy!!

author
hg341 made it!(author)2009-04-10

don't work what os is it for?!

author
hg341 made it!(author)2009-04-14

im sry i save it as a bat file not a reg file haha
how would you do this for vista

author
Huntman00 made it!(author)2008-01-21

lol i love this

author
vaiden made it!(author)2008-01-24

Thanks I kinda like it too, I figured someone would like it!

About This Instructable

7,773views

8favorites

License:

More by vaiden:Fun with Friend's PC!
Add instructable to: