Friday, January 23, 2009

Windows 7 Punkbuster fix "Americas Army"

Windows 7 Punkbuster fix
Update: this fix has been confirmed to work for BF 2 as well on several clan gaming forums - thanks for the feedback guys...

Note: this fix has to be applied each time you run CoD4 as PnkBstrB gets instantiated/installed/run by the PnkBstrA service and the checkbox isn't checked the second time around.

Edit: I've had several people tell me that they're not getting kicked after around 25 minutes of play and are capable of playing the game in multiplayer on Windows 7 with the fix below. So try it out - could be i have something else running that it's not happy with though i can't for the time being locate the problem - will still keep looking.
Edit: after about 25 minutes of play Punkbuster kicked me again with a driver issue…so, still no fix…will keep looking
I’ve been wrecking my mind as to why Punkbuster enabled games couldn’t run on Windows 7 Beta.
I knew Punkbuster installed itself as a service so i figured i’d have a look at what it was configured as per default.

First i noticed there’s two Punkbuster services running on my system:

I opened each of the service properties and looked at Log On. Saw a little checkbox which stated “Allow this service to interact with the desktop” – checked it and tried to run COD4 Multiplayer.

Joined a game..and voila..NO PUNKBUSTER KICKS…
i tried three different servers and i didn’t get kicked from either of them.
That seemed to fix it for the time being. I’ll try joining some more servers tonight and see if the behaviour still exist.

Edit: after about 25 minutes of play Punkbuster kicked me again with a driver issue…so, still no fix…will keep looking

Published Wednesday, January 14, 2009 9:45 PM by Brian Madsen
Filed under: Windows 7
Comments
# Punkbuster - Page 3 - Windows 7 Forums

Pingback from Punkbuster - Page 3 - Windows 7 Forums
Wednesday, January 14, 2009 5:44 AM by Punkbuster - Page 3 - Windows 7 Forums # Fix punkbuster kick? - Windows 7 Forums
Pingback from Fix punkbuster kick? - Windows 7 Forums

Wednesday, January 14, 2009 1:41 PM by Fix punkbuster kick? - Windows 7 Forums # Fix punkbuster kick? - Windows 7 Forums
Pingback from Fix punkbuster kick? - Windows 7 Forums
Wednesday, January 14, 2009 4:30 PM by Fix punkbuster kick? - Windows 7 Forums # re: Windows 7 Punkbuster fix
Does this help any?
Log Name: System
Source: Service Control Manager
Date: 1/14/2009 10:48:57 PM
Eent ID: 7030
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: PC-1
Description:
The PnkBstrA service is marked as an interactive service. However, the system is configured to not allow interactive services. This service may not function properly.
Thursday, January 15, 2009 1:14 AM by Rampant # Punkbuster - Page 3 - Windows 7 Forums
Pingback from Punkbuster - Page 3 - Windows 7 Forums
Thursday, January 15, 2009 8:48 AM by Punkbuster - Page 3 - Windows 7 Forums # re: Windows 7 Punkbuster fix
these punkbuster services don't even show in the services.msc manager on Windows 7 x64, even though running the pbsetup.exe updater says it's all there.
Friday, January 16, 2009 3:52 AM by MRIS # re: Windows 7 Punkbuster fix

OK i tried your fix and i get nothing, are you running anything in compatibility mode or anything like that, also i have cod4 on steam, i wonder if that is the difference please let me know
Thanks,
Anthony
Friday, January 16, 2009 11:29 AM by Anthony # re: Windows 7 Punkbuster fix
Also i am using 64bit 7 idk which you use
Friday, January 16, 2009 11:30 AM by Anthony # PB Kick: Unknown Windows API Function [131152] - i3D.net Game Forums
Pingback from PB Kick: Unknown Windows API Function [131152] - i3D.net Game Forums
Friday, January 16, 2009 2:46 PM by PB Kick: Unknown Windows API Function [131152] - i3D.net Game Forums # PB Kick: Unknown Windows API Function [131124] - i3D.net Game Forums
Pingback from PB Kick: Unknown Windows API Function [131124] - i3D.net Game Forums
Friday, January 16, 2009 2:48 PM by PB Kick: Unknown Windows API Function [131124] - i3D.net Game Forums # re: Windows 7 Punkbuster fix
I am having problems finding the punkbuster service was wondering if you could guide me.
Thanks
Friday, January 16, 2009 3:51 PM by Rodgerdat # re: Windows 7 Punkbuster fix
same here - the two services are NOT listed in the services list and the processors are not running :(
i'm not sure why it didn't install right???
Friday, January 16, 2009 8:46 PM by PK # re: Windows 7 Punkbuster fix
God news! as a few people have said, PB was not installed correctly and as such, was not listed in the services list.
if you go here (www.evenbalance.com/index.php) and read the FIRST PARAGRAPH, u'll see a link to the service installation program (called PBSVC). download that puppy and u're good to go.
Friday, January 16, 2009 8:54 PM by PK # re: Windows 7 Punkbuster fix
@PK
doesnt work iv'e tried that...
Saturday, January 17, 2009 4:08 AM by Eagle # re: Windows 7 Punkbuster fix 
just fixed the whole kick thing for me.
Give it a try and let me know if it works for you too.
Go into C:Users'YourUser'AppDataLocalPunkBusterCOD4pb
and find PnkBstrA and PnkBstrB.
Change these two to run as Administrator and then run CoD4 as normal (without changing the services as you have done).
I did this and have successfully played for over an hour now. I only got a crash from a buggy Nvidia driver.
Hope this helps!
aturday, January 17, 2009 4:14 AM by Angus Jeffrey # re: Windows 7 Punkbuster fix
does this fix not work for 64 bit 7 or somthing, i have tried it with my steam cod4 and used a buds cd version and still it does absolutely nothing, punkbusterb just uncheacks it self and i get kicked even if i minimize after joining a server and go back in it unchecks again, its frustrating.
Saturday, January 17, 2009 6:22 AM by Anthony # re: Windows 7 Punkbuster fix
Thanks for the update it is working now.
Saturday, January 17, 2009 6:39 AM by Rodgerdat # re: Windows 7 Punkbuster fix
now i see the services, but i still get kicked after a few mins with the API thing. =( although i always apply the fix when i run cod4
Saturday, January 17, 2009 7:27 AM by Tam # re: Windows 7 Punkbuster fix
I just tried it and got booted pretty much immediately... :(
Saturday, January 17, 2009 12:01 PM by wrangellboy # re: Windows 7 Punkbuster fix
So does it work or not?
Saturday, January 17, 2009 2:15 PM by Fred # re: Windows 7 Punkbuster fix
tried it all, re-installed punkbuster enabled the options in both services. still not working! win 7 64bit
Saturday, January 17, 2009 2:42 PM by Winddancer # re: Windows 7 Punkbuster fix
Hey - i'm still looking into why it works for some and not for others.
i'm starting to suspect that it doesn't work for 64-bit.
i'm going to re-install Windows 7 32-bit, try it out again and then install a new copy of Windows 7 64-bit.
It could also be that it's the upgrade to Ultimate that's doing it. Again, another step i'm going to test.
It would be good if people would mention the SKU they're running (32-bit? 64-bit? Home Premium? Ultimate).
Anyways, am still working on it! Thanks for the feedback.
Saturday, January 17, 2009 5:14 PM by Brian Madsen # re: Windows 7 Punkbuster fix
Well it's not working for me and I am on 64-bit.
Saturday, January 17, 2009 5:29 PM by tharrison # re: Windows 7 Punkbuster fix
hey guys, I tried the tip, and it works
I've found that after 20 minutes or so that checkbox that says "Allow service to interact with desktop" becomes unchecked for some reason
So this is what I did:
First I reinstalled pb from the website (manual)
Then I
Then I start the game up...and every 10-20 minutes I alt-tab out of the game and go to services, and right lick "PnkBstr A" and select "restart"
It is VERY IMPORTANT that you do not restart PnkBstr B or else you will get kicked! from the server.
Of course, this is a pain sometimes...but in a multiplayer game, it's not that bad and it's worth it to play without punkbuster kicking you.
I'm guessing there's gotta be a way to write a program that automatically restarts "PnkBstr A" every 10 minutes or so and makes sure the checkbox that says "Allow service to interact with Desktop" for "PnkBstr B" is checked.
I've tested this method for almost 1 hr now and the game still runs fine.
I'm using Windows 7 32bit version and I've been playing cod4.
Thanks Brian!
(i probably won't be checking this website that often but I can be contacted through my website)
Sunday, January 18, 2009 1:50 AM by chesspro # re: Windows 7 Punkbuster fix
Hey Chess,
what we need to do is to set the service (PnkBstrA/B), located in SysWOW64 so that it per default has that box checked.
To do that, i believe we need to edit the registry now...
need to find out how to set it so that those two services not only has VISTARTM and RUNASADMIN in their values...
Sunday, January 18, 2009 2:20 AM by Brian Madsen # re: Windows 7 Punkbuster fix
i have thought of a batch file that automates this...
it is here
www.sevenforums.com/.../572-punkbuster-2.html
this is a proof of concept so if you can check and post if it works or not...
Sunday, January 18, 2009 4:26 AM by darkassain # re: Windows 7 Punkbuster fix
I've been playing BF2 - prolly an hour of play. no probs at all.
I can' remember if i ran the manual PB services install as Administrator or not.
I'm testing it on Windows 7 Beta Ultimate 32bit.
Sunday, January 18, 2009 4:28 AM by PK # re: Windows 7 Punkbuster fix
do it quick pls ;)
Sunday, January 18, 2009 2:26 PM by byQ # re: Windows 7 Punkbuster fix
okay mr Brian Madsen...
the registry file you are looking for is here
HKLMSYSTEMCurrentControlSetServicesPnkBstrBtype to the value 272 (which means run as a system account and have interaction with desktop...)
www.sevenforums.com/.../572-punkbuster-2.html
Sunday, January 18, 2009 5:52 PM by darkassain # re: Windows 7 Punkbuster fix
Hey Dark, thanks for that - will try it out tonight and hopefully that should sort out the service restarting without it checked :)
excellent!
Sunday, January 18, 2009 6:11 PM by Brian Madsen # re: Windows 7 Punkbuster fix
Even with both A and B definitely on interact with desktop whilst in game; I still get kicked with the API error 131152. Is there no hope for us x64 users at all?
Sundy, January 18, 2009 6:28 PM by tharrison # re: Windows 7 Punkbuster fix
forgot to say that in hexadecimal the value is 0x110 as this is a DWORD....
Sunday, January 18, 2009 8:34 PM by darkassain # re: Windows 7 Punkbuster fix
OS: Windows 7 64-bit
Ever since I started running the .CMD Script posted on the Seven Forums, I'm now alternating between three different errors.
1: Disallowed Program/Drive
2: General PB Authentication Error
3: Unknown Windows API Function
I also changed the delay in the script from 600, to 300. On 600 I was always getting 'Unknown Windows API'.
Sounds like its a possibility of timing the restart of the service?
Sunday, January 18, 2009 10:09 PM by Cypher # re: Windows 7 Punkbuster fix
Also, if COD5 is fully working with Windows 7, what are the differences between the two versions of Punkbuster? That might be a clue.
Sunday, January 18, 2009 10:13 PM by Cypher # re: Windows 7 Punkbuster fix
Hi guys...
I'm reading all the post with great interest!...
As for me, COD4 is the only game for me out there, and W7 beta is running smoothly!...
Can't seem to understand EvenBalance don't wanna make a patch or so to fix the problem, Isn't the meaning of a beta release, that it is to be testet in any possible way? And when W7 finally gets released, we don't have to wait for month of a new PB release.
Well... that was just some of my thoughts...
Now to the real question =)
Can someone to a quick round-up of wich combos work? I'm thinking 32bit? 64bit? Ultimate? Fixes and so on...6
//TjaLfE


No comments: