How to capture traffic (when applicable) from TFS Add-in, PSI extension, and TFSADMIN.EXE

Nitish Nagpal, Support Escalation Engineer, brings another amazing write up on capturing traffic from TFS Add-in, PSI extension, and TFSADMIN.EXE

We want to capture traffic (when applicable) from TFS Add-in, PSI extension, and TFSADMIN.EXE .  

 On TFS box where you run the registerPWA command, modify tfsadmin.exe.config file with below content added after making a backup of original config file (we may or may not need the section, have to test it)  

 <?xml version=”1.0″ encoding=”UTF-8″?> 



        <defaultProxy enabled=”true” useDefaultCredentials=”true”> 

            <proxy usesystemdefault=”false” proxyaddress=”″ bypassonlocal=”false” /> 




        <trace autoflush=”true” indentsize=”4″> 


                <add name=”myListener” type=”System.Diagnostics.TextWriterTraceListenerinitializeData=”c:\Logs\WinProj.log” /> 




            <add name=”General” value=”4″ /> 





On BOTH Project Server WFE boxes, we are capturing Fiddler log collecting for TFS add-in and PSI extension: 


a.      Install Fiddler on box project WFE boxes from  

b.      In Administrator command prompt, run: SETX /M TFS_BYPASS_PROXY_ON_LOCAL 0 


1) Launch IIS and locate the project server web application 

2) Locate “vti_Bin\PSI” and explore (typically it’s something like C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\PSI) 

3) Open web.config under the folder and add/merge follwing into it <> 

       <defaultProxy enabled=”true” useDefaultCredentials=”true”> 

            <proxy usesystemdefault=”false” proxyaddress=””false” /> 



c.      Start Fiddler  


5) Restart the project server web app (Or iisreset) 

6) If you see traffic captured in fiddler from ‘w3wp’ (after you open project or run tfsadmin.exe) then it means it’s working 


d.      <Repro the issue> 

e.       Save the fiddler trace and send back 

f.      Special Note: If TFS is running under HTTPS, In Fiddler click ‘Tools’->’Fiddler Options’->’HTTPS’->’Decrypt HTTPS traffic’ 


Cleanup: Remove the section in web.config and restart the web app. 

Written by: Nitish Nagpal, Support Escalation Engineer

Reviewed by TFS/Project Server Integration Product Team, Puvi

Comments (0)

Skip to main content