Run Punkbuster Services Only When Needed

23 Apr/10

If you have recently installed a game that uses the anti-cheating software Punkbuster to reduce online cheating in the game you may have noticed the two Punkbuster services PnkBstrA.exe and PnkBstrB.exe running in the Windows Task Manager even if the game has not been started in the session.

Punkbuster gets installed as two Windows Services that automatically run when Windows starts. They will run even if the games they protect are not started once on the computer system. The two programs do not use a lot of system resources when the game is not running but are an annoyance as it does not make sense to some users to run them when they are not needed.

Changing the service’s startup type from automatic to manual will prevent that they are loaded during system startup. One could say problem solved but that’s not really the case as the two services will not be started during game start. This would mean that the user would have to manually start the services before launching the game, not a comfortable solution.

The following guide explains how to set the Punkbuster services to manual so that they are not loaded during system startup. It will furthermore explain how to configure the games to automatically load the Punkbuster services before the games are started so that the services are running when the game is played.

Disabling Punkbuster services from being automatically loaded in Windows:

Open the Services Configuration menu in Windows. You can do that by entering services in the Windows start menu and selecting Services from the results or by pressing Win-R, typing services.msc and hitting the enter key.

Locate the two services PnkBstrA and PnkBstrB in the window. Double-click the first Punkbuster Service Component and change the Startup Type from Automatic to Manual. When done click on the Stop button to stop the service from running on the PC. Do the same for the second Punkbuster service.

punkbuster service

Both Punkbuster services have now been stopped and set to manual startup type. You can verify that the services are not running anymore in the Windows Task Manager (Win-Shift-Esc).

Creating a batch file to start the services when needed and launch the game

The Punkbuster services need to be running before the game is started so that the user will not be kicked from servers requiring Punkbuster on the user machine. A batch file is ideal for this situation. We will create a basic batch file that will start both Punkbuster services and the game. (Please note that you will need to run the batch script with administrative privileges for the services to start).

Create a new text document. Paste the following three lines into it:

START /d "C:Program Files (x86)Electronic ArtsBattlefield Bad Company 2" BFBC2Game.exe

The first two lines will start the two Punkbuster services PnkBstrA and PnkBstrB. The third line will launch the actual game, in this example it is Battlefield Bad Company 2. Make sure you edit the path to the game if it is installed in a different directory.

Save the text file and rename it to gamename.bat, e.g badcompany2.bat. Right-click the new bat file and select to run it as an administrator. The batch file should start the two Punkbuster Services and then the game.

Almost done. A nuisance is that we need to run the batch file with administrative privileges and the only direct way to do that is to right-click the file and select run as administrator. It is possible to run programs and shortcuts always as administrator in Windows Vista and Windows 7. Batch files on the other hand can not be configured this way. The solution is simple. Create a shortcut of the batch file that we have created, configure the shortcut to always run with administrative privileges to overcome the problem.

Right-click the batch file and select Create Shortcut from the menu. This should create a shortcut file in the same directory.
Right-click the shortcut file now and select Properties. Click on the Advanced button in the Shortcut tab.

badcompany shortcut

Check the box to always run as an administrator.

run as administrator

You can now place the shortcut into a location where you usually start the games.

Further problems

This should resolve the issue with the Punkbuster services running all the time. There are two problems associated with this. The first is that the two services continue to run after the user leaves the game. More troubling than this is the fact that one of the services, PnkBstrB will be set to run automatically again.

A semi-manual solution would be to create a second batch file to stop the services when executed using the Net STOP command. Experienced computer users might even find a way to create one batch file for everything that has been discussed here. If you do let us know in the comments.

Continua a leggere – Original Link: Run Punkbuster Services Only When Needed

Technorati Tags: , , , , , , , , ,

Leggi Anche

Condividi in DeliciousCondividi in DiggCondividi in RedditCondividi in StumbleCondividi in MixxCondividi in Tecnorati


I commenti sono disabilitati per questo articolo.

I commenti sono chiusi.


    Spina Rosario
    Inserito da
Gestionale Immobiliare - Realizzazione Sito Web per Agenzia Immobiliare


Iscrizione Newsletter

    Tieniti informato http://con tutte le novità del mondo informatico con la nostra newsletter


    Auto Shop Italia
    Web Burning Blog
    Info Privacy