TROUBLESHOOTING: Upload ClientUI dump files
| 0 Votes |
Description
| In BES 7.0, first time failure data capture has been improved specifically for application exceptions by using dump files. A BESClientUI.dmp file will now be generated when an unexpected C++ exception is encountered by the BES Client UI application. This task detects computers that have a BES Client UI dump file, and allows you to upload those files to the BES Server so it can be provided to BigFix Support. By default, the uploaded files will be placed in a subfolder under "%ProgramFiles%\BigFix Enterprise\BES Server\UploadManagerData\BufferDir\sha1" on the BES Server. The dump files are minidumps, so their size is typically less than 100kB. |
Property Details
| 484 | |
| TROUBLESHOOTING: Upload ClientUI dump files | |
| Troubleshooting | |
| 0 | |
| BigFix | |
| <Unspecified> | |
| <Unspecified> | |
| 1/19/2009 12:00:00 AM | |
| BES files dump TABLE TBODY | |
| besSupport on 10/17/2012 1:15:36 PM | |
| danielheth on 10/17/2012 1:15:36 PM | |
| 4210 Views / 1 Download | |
* Average over 0 ratings.
** Log In or Register to add your rating.
|
Relevance
| Used in 5 fixlets | * Results in a true/false |
name of operating system as lowercase contains "win"
| Used in 1 fixlet | * Results in a true/false |
exists (((value "Local AppData" of it as string & "\BigFix\" ) of keys "Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" of current user keys (logged on users) of registry)) whose (exists file (it as string & "BESClientUI.dmp"))
Actions
Action 1 (default)
Action Link Click
here to upload BES Client UI dump files to the BES Server and remove the dump files from the clients.
Script Type
BigFix Action Script
// create batch script to copy BESClientUI.dmp file from logged on users' Local AppData dirs to c:\winnt\temp\bfdmp, if they exist
delete __appendfile
delete client.bat
appendfile @ECHO OFF
appendfile mkdir "{pathname of windows folder & "\temp\bfdmp"}" > NUL 2>NUL
appendfile del "{pathname of windows folder & "\temp\bfdmp\*.dmp"}" > NUL 2>NUL
appendfile {concatenation of ("move %22" & it & "%22 %22" & pathname of windows folder & "\temp\bfdmp\" & (preceding text of first "\" of following text of first "gs\" of it as string) & ".BESClientUI.dmp%22%0d%0a") of ((value "Local AppData" of it as string & "\BigFix\BESClientUI.dmp") of keys "Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" of current user keys (logged on users) of registry) }
move __appendfile client.bat
waithidden client.bat
// set max size to 10485760 to prevent too much data. If the zip file is to bigger than 10MBs the upload won't occur
setting "_BESClient_ArchiveManager_MaxArchiveSize"="10485760" on "{parameter "action issue date" of action}" for client
setting "_BESClient_ArchiveManager_OperatingMode"="2" on "{parameter "action issue date" of action}" for client
// set the entire bfdmp dir to upload
setting "_BESClient_ArchiveManager_FileSet-dmp"="{pathname of windows folder & "\temp\bfdmp\*.*"}" on "{parameter "action issue date" of action}" for client
// send results
archive now
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
| Social Media: |

