Open the local machine policy using the gpedit.msc interface.
Navigate to the policy located at Computer Configuration/Administrative Templates/System/Remote Procedure Call/Rpc Troubleshooting Support/Propagation of extended error information
click edit policy setting
Enable the policy, and set the field Propagation of extended error information to "On".
This process turns the propagation of extended error information on for all processes on the machine.
for more details see :
http://msdn.microsoft.com/en-us/library/aa373803(VS.85).aspx