From those of you that use the Workgroup edition of Team Foundation Server you might have notice that you cannot use the Build Notification Power Tool since you cannot authenticate to TFS.
Here is what I have done to work around the noted limitation:
"RunAs" to the rescue:
C:\Windows\System32>runas.exe /user:ROSCOE\jbm /netonly "C:\Program Files\Microsoft Team Foundation Server 2008 Power Tools\BuildNotification.exe"
To automate, create yourself a little batch file for startup. Here is a VBS script to automate the entry of the password for RunAs:dim WshShell,FSO
set WshShell = CreateObject("WScript.Shell")set WshEnv = WshShell.Environment("Process")
set FSO = CreateObject("Scripting.FileSystemObject")
WshShell.Run("C:\Windows\System32\runas.exe /user:ROSCOE\jbm /netonly" & " {YourInstallPath}\BuildNotification.exe")
Wscript.Sleep 300 ' Wait for window to open
WshShell.AppActivate("C:\Windows\System32\runas.exe")WshShell.SendKeys "{YourUserPassword}"WshShell.SendKeys VBCRLF
set WshShell=Nothingset WshEnv=Nothingset FSO=Nothing
wscript.quit
[UPDATE]You can "Connect As" from the GUI; Unfortunately, you will have to do this each time you restart.
Ed K.
Remember Me
a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u
Page rendered at Thursday, September 02, 2010 6:15:20 PM (Eastern Daylight Time, UTC-04:00)
Disclaimer The opinions expressed herein are our own personal opinions and do not represent our employer's view in any way.