Try this.. 
  
Join a server write in chat	/PB_WriteCfg 
you find in C:\Program Files\Electronic Arts\Battlefield Bad Company 2\pb 
a file named pbcl.cfg rename it to pbcl.txt now open it see and change the lines  
like this... 
  
 
;Auto Generated by PunkBuster Client
pb_MsgPrefix "[skipnotify]PunkBuster Client" //[PB Message Prefix]
pb_Sleep 500 //[# of Milliseconds (default=250)]
pb_LogToFile 1 //[0=No, 1=Yes (default=0)]
pb_SsLog 1 //[0=No, 1=Yes (default=1)]
pb_SsSave 1 //[0=No, 1=Yes (default=0)]
pb_SsOptions 640 480 50 50 1 //- Set local PB screenshot options
pb_load pbcllog.cfg //load remote logging settings (if pbcllog.cfg exists)
 
  
close rename it again to pbcl.cfg join a server and type this commands 
to see if this works. 
  
PB_MyGuid 
PB_PList 
PB_GetSs <---- screenshots are broken win xp directx 9 and win7 directx 11 tested... 
  
edit* 
  
Note for Windows Vista and Windows 7 Users  
  
 Please note that Windows Vista and Windows 7 stores the logs and other PB files outside the game folder commonly located at:  
C:\Users\<User>\AppData\Local\PunkBuster\<Game>\pb\  
You can enter this to view the PunkBuster working folder for the current user and select the game you wish to setup logging for:  
%USERPROFILE%\Appdata\Local\PunkBuster\  
or %LOCALAPPDATA%\PunkBuster\ 
  
http://www.pbbans.com/info-center-clientlog.html 
  
  
  
i hope to help here :D