Patching Windows Media Player

I’m writing this post on the request of @rudr4_sarkar. This is a very simple patch in which you can open multiple instances of wmplayer. It basically uses the ‘CreateMutexW’ API to create a mutex object with the string “Local\Microsoft_WMP_70_CheckForOtherInstanceMutex”.

screenshot_2

The pseudo code would be something like this
[code language=”c”]
HANDLE hMutex = CreateMutex(NULL, FALSE, L"Local\Microsoft_WMP_70_CheckForOtherInstanceMutex");
if (GetLastError() == ERROR_ALREADY_EXISTS) {

}
[/code]
You just need to patch the ‘JNZ’ to a ‘JMP’ instruction, that will always jump to the good boy 🙂

disass

You can also do this on runtime by killing the Mutant handle using Process Explorer.

proc

Here’s a small patch which I wrote for fun in C++ fully using the win32 API. I have included 2 versions. The first version works with both Windows 7 and 8, while the the other works with Windows 10.

patch

Download: http://www.mediafire.com/file/q79tbtsixcl0b1t/Patch.7z

After patching you should be able to open as many as windows you like and enjoy music and other tasks 🙂
wmplayer

This is strictly written for educational purposes. The author doesn’t take any responsibility for your actions.

5 thoughts on “Patching Windows Media Player

Leave a Reply