KMPlayer is a popular media player available for Windows operating system. Although it’s not as powerful and popular as VLC Media Player, it’s certainly one of the best free media playing software out there for Windows.
Ads and games in KMPlayer
Those of you who have installed recent versions of KMPlayer probably have noticed ads and games that appear when you launch KMPlayer. In simple words, the sidebar that starts along with KMPlayer shows ads and some games. This sidebar containing ads and games appears only when you launch the KMPlayer and can be easily closed by clicking the Close button that appears at the upper right corner of the sidebar.
Games and ads appear only upon launching the KMPlayer and since KMPlayer offers a close button to get rid of them, most users haven’t tried to disable them. That said, there are plenty of users who would like to permanently get rid of KMPlayer games and ads to continue enjoying videos and music without having to click the close button each time.
When it comes to games and ads, KMPlayer doesn’t include an option to easily disable them. But there are two easy workarounds out there to completely disable KMPlayer ads and games.
Since these ads and games appear only when the system is connected to the internet and the KMPlayer needs to connect to KM Media servers in order to serve ads and games, one can configure Windows to prevent KMPlayer from connecting to media server of KMPlayer.
Those of you who would like to completely disable games and ads in KMPlayer can follow the instructions in one of the two given below methods.
Important: The developers of KMPlayer are generating revenue by promoting games and other products on this software and are used for the development of KMPlayer. So you might want to donate a couple of dollars by visiting the official page of KMPlayer to support the development of the player. By the way, we are in no way associated with KMPlayer.
Turn off KMPlayer games and ads
Method 1 of 2
Step 1: Open Internet Explorer browser.
Step 2: Navigate to Tools menu and then click Internet Options to open the same.
Step 3: Here, click on the Security tab.
Step 4: Under, Select a zone to view or change security settings, please click on Restricted sites icon. Now, click the Sites button located next to the Restricted sites.
Step 5: Under Add this website to the zone, enter http://player.kmpmedia.net and then click Add button. Close the dialog. Finally, click the Apply button that you see on Internet Options dialog.
Launch KMPlayer to see the clean and beautiful KMPlayer without annoying games and ads.
Method 2 of 2
Step 1: Open Notepad program as administrator. To do so, type Notepad in Start menu (Windows 7/Windows 10) or Start screen (Windows 8/Windows 10) search box and then simultaneously press Ctrl+Shift+Enter keys to open Notepad as administrator.
Alternatively, you can navigate to the Notepad program in Start menu or Start screen, right-click on Notepad and then click Run as administrator option.
Step 2: Once Notepad is launched with admin rights, click the File menu and then click Open option (you can also use Ctrl+O) to see Open dialog box.
Here, navigate to:
C:\Windows\System32\drivers\etc folder (where “C” is your Windows installed drive), change the file type to All files (see below picture) and then open the Hosts file.
Step 3: At the end of the Hosts file, add the following URL (see picture for reference):
127.0.0.1 player.kmpmedia.net
Step 4: Finally click the File menu and then click the Save button or simply press the Ctrl+S button to save the edited file. This will block KMPlayer from accessing the media server which is very much required to serve ads and games.
Note that if the Notepad is asking you to create a new file when you click the Save button, it’s because you’re not running Notepad as administrator. Carefully follow the instructions in Step 1 again of this method to open Notepad as admin.
admin says
Glad to know that it’s still working!!
Fahmi says
AWESOME!! Works perfectly in 4.2.2.68 version
Radek Mojžíš says
If you use this method, the app takes like 10 seconds to load for some reason so i came up with a better solution
First of all, install the latest version that doesn’t have the side panel by default – namely 4-2-2-6
Then it will nag you to update on startup – just block it from using internet…
To do that press “windows button” -> type in “firewall” -> hit enter -> on the left click “Advanced settings” -> on the left “Outbound Rules” -> New Rule -> Select “Program” -> click “Next” -> This program path: (by default “C:\KMPlayer\KMPlayer.exe”)->Block the connection->keep everything checked->Name it whatever you like for example “Block KMPlayer from internet”-> finish
Duffman says
These lines worked for me (07/06/2022):
127.0.0.1 player.kmpmedia.net
127.0.0.1 log.kmplayer.com
127.0.0.1 cdn.kmplayer.com
127.0.0.1 cdn.pandora.tv
jomal johny says
These lines worked for me (24/12/2020):
127.0.0.1 player.kmpmedia.net
127.0.0.1 log.kmplayer.com
127.0.0.1 cdn.kmplayer.com
127.0.0.1 cdn.pandora.tv
Thanks very much.
Erfan says
These lines worked for me (09/30/19):
127.0.0.1 player.kmpmedia.net
127.0.0.1 log.kmplayer.com
127.0.0.1 cdn.kmplayer.com
127.0.0.1 cdn.pandora.tv
Thank you guys!
Ramji says
After adding the below to the hosts file…it fucking works for me. I am using KMPLAYER VERSION 4.2.2.24.
127.0.0.1 player.kmpmedia.net
127.0.0.1 log.kmplayer.com
127.0.0.1 cdn.kmplayer.com
127.0.0.1 cdn.pandora.tv
jaxx0rr says
they finally removed the ads.. all it took was EVERYONE TO LEAVE for them to notice how bad it was
Tim says
Tnx a lot :-)
kfxnightmare says
This work well thank z for the upload 2018 September
with adding lines to C:\Windows\System32\drivers\etc
127.0.0.1 player.kmpmedia.net
127.0.0.1 log.kmplayer.com
127.0.0.1 cdn.kmplayer.com
127.0.0.1 cdn.pandora.tv
Etshy says
4.2.2.12, no way to make the sidebar not showing.
We can hide the ads by changing name of the file like Navneet MISHRA said, but can’t make the sidebar not showing.
Navneet MISHRA says
For the Version 4.2.2.12
just rename the URLLIST.txt file to something else and the media streaming will stop.
pin ken says
the last metho is add
more
127.0.0.1 player.kmpmedia.net
127.0.0.1 log.kmplayer.com
127.0.0.1 cdn.kmplayer.com
127.0.0.1 cdn.pandora.tv
in host then no more ads work with me 5/1/18
Katimate Pradijthakul says
Thanks a lot!!!
Shoaib says
I used all methods even the links provided by commenters but my kmplayer shows ads still now. How can i solve it?
chanuka sandaruwan says
Thank you it was working
Umaimah Az-Zahrah says
Thank you very much. It works perfectly :)
L-nur says
ALLAH be pleased with you…! thanks
Dumindu Dharshana says
block km player from firewall. it works
Jerome Laurent says
And you can block “KMPlayer.exe” in the firewall (In and Out). Work for me :)
Rahat says
Method 1 is work fine and so easy way to do it. Thanks
LoperiS says
I confirm method with index.htm on logo folder
with adding lines to C:\Windows\System32\drivers\etc
127.0.0.1 player.kmpmedia.net
127.0.0.1 log.kmplayer.com
127.0.0.1 cdn.kmplayer.com
127.0.0.1 cdn.pandora.tv
working perfect !!!
riyaj says
Thanks.
It works.
Aravind NC says
@fede
Thanks Works Perfectly.
Snake777 says
Thankssssssssssssssssssssssssssss!
Kay says
Thanks a lot!!!
HR says
thank you pal you’re the best
Nazuki says
Great, it’s working now, thanks fefe :)
JLX27 says
Weird, I don’t have a host file….an older version had it but now i there isn’t any
Graham Douglas Ling says
Thanks fede your fix worked for the update. Nice and easy. Cheers.
Vasilis says
@fede
Thank you!
fede says
add in the host file
127.0.0.1 player.kmpmedia.net
127.0.0.1 log.kmplayer.com
127.0.0.1 cdn.kmplayer.com
127.0.0.1 cdn.pandora.tv
Nazuki says
It was working perfectly until now… I installed the new version 4.1.3.3, and aaaaall the ads and pop up are come back. It’s almost worts than before >< !! Any idea how to remove it ? Again :/ ? (I still have the website in my restricted sites, and the Hosts file is still with the "127.0.0.1 player.kmpmedia.net" at the end u.u)
farhan says
Thanks a lot
Rosen says
Thanks for the tip. I used the second method and there are no more ads.
MINE says
THANK YOU VERY MUCH
satyajit says
Thanks bud.. it was really getting irritating.. saved me.. number 1 worked great.
Subhadip Maji says
Thanks a bag! Method one worked.
UDAY MANKAME says
Thanks a lot… ITs working…
Sathishkumar says
Thanks a lot… ITs working…
Captain Fahim says
It’s working. Thanks :)
Javier says
It worked for me on step one IE security settings!
Keep up the great work!
Kaushik Gopalan says
This worked for me. I also found another fix. If you have a firewall and know how to edit the access permissions in it, you can just block all communication of the player. That was an easier fix for me. I use Norton 360 and I just changed the program access rules in it KM Player.
Saeed says
Thank you .
It was perfect.
admin says
@ Josin
thanks for letting us know that it worked for you. Glad to help you.
josin says
aewsome dude thanks works perfectly