Welcome to MSDN Blogs Sign in | Join | Help

More Expirations Coming Soon...

This blog post has been replaced by: http://blogs.msdn.com/bharry/archive/2006/10/04/Last-word-on-TFS-Expirations-_2800_I-hope_2900_.aspx

I have removed tha attached utility from this post as it is out of date.  Please see the post above for a newer version.

Brian

--------------------- 

A couple of weeks ago I wrote about the impending expirations of TFS Release Candidate installations and Trial installations that were installed soon after release.  Both the TFS Release Candidate and the TFS Trial Edition have 6 month expiration periods.  Many of the Release Candidate builds started expiring this month.  Trial Editions will start expiring in September.

After that post, I received many mails asking how to tell which version is installed and when it will expire.  Unfortunately we didn't have an easy way and we filled the gap by publishing a set of registry keys, etc you could look at.

In the last couple of weeks, we have put together a utility that will detect what version of TFS and SQL you are running and tell you how many days you have left before expiration.  Unfortunately, I haven't figured out how to easily detect how many days remain before a trial of SQL expires so for now it just includes that information for TFS.

Here's a screenshot of what the utility looks like:

 

In general I'd recommend that you run the utility on the TFS application tier.  If you do this, you need not enter a computer name - blank means "this computer".  You can run it remotely by specifying the computer name but you must have sufficient permissions, remote registry access must be enabled and the C$ admin shares must be accessible.

Here is a link to a zip file containing the utility REMOVED.

Hopefully this will enable people to avoid the surprise of coming into the office one morning and discovering that they can't access their source or work items any longer.

As always, please let me know if you have feedback.  If you find any bugs, we'll fix them as quickly as we can and post an update.

 

Thanks,

Brian

Published Wednesday, August 23, 2006 8:02 AM by bharry

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Is your TFS about to expire?

It could well be. Check out Brian Harry's weblog entry More Expirations Coming Soon... for a little tool
Wednesday, August 23, 2006 8:40 AM by Ahmed Salijee

# A tool for reporting expiration dates for RC and RTM trial editions of Team Foundation Server

As some customers have found out the hard way, the TFS release candidates have started to expire without...
Wednesday, August 23, 2006 9:02 AM by Buck Hodges

# re: More Expirations Coming Soon...

Very nice, sure beats the command line.
Wednesday, August 23, 2006 9:29 AM by wma

# re: More Expirations Coming Soon...

FYI, this doesn't appear to work with Beta 3 Refresh.  Attempts to access a file in PRogram Files\Microsoft Visual Studio 8\Web Services but in Beta 3 Refresh I believe the proper directory is: Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services
Wednesday, August 23, 2006 11:59 AM by Optikal

# re: More Expirations Coming Soon...

I second what Optikal said, but for RTM
Wednesday, August 23, 2006 2:43 PM by Michael A

# re: More Expirations Coming Soon...

I didn't try it with Beta 3 Refresh - it's not intended to work with it.  If you still have Beta 3 refresh, upgrade :)

"Michael, what do you mean, you second what Optikal said, but for RTM". What specific error are you getting?  We've tested it on quite a few RTM installations.

Brian
Wednesday, August 23, 2006 3:10 PM by bharry

# Which Version of Team Foundation Server Do I Have...Simplified

Brian Harry blogs (More Expirations Coming Soon...) about a new utility (TFSVersionDetection)...
Wednesday, August 23, 2006 3:38 PM by Rob Caron

# re: More Expirations Coming Soon...

Shouldn't the tool be looking in \Program Files\Microsoft Visual Studio 2005 Team Foundation Server? On one of my servers (single server), it can't find the TeamFoundation dll in ..\Microsoft Visual Studio 8\..
Thursday, August 24, 2006 3:01 AM by Thys

# re: More Expirations Coming Soon...

I tested this tool on an RTM installation and also got the error "File not found: C:\Program Files\Microsoft Visual Studio 8\Web Services\Services\Bin\Microsoft.TeamFoundation.dll". I checked and indeed the Microsoft.TeamFoundation.dll is located in C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Services\bin.
I guess this is the same thing as Michael A. replied.
Thursday, August 24, 2006 3:02 AM by paso

# re: More Expirations Coming Soon...

Some of you are reporting that it appears to be looking in the wrong place for Microsoft.TeamFoundation.dll.  Here's what it does - I'd appreciate it if you could tell me which part of this is going wrong.

First it looks in the registry under "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall".  It looks for a sub key that starts with:
"Microsoft Visual Studio 2005 Team Foundation Server (services)" or "Microsoft Visual Studio 2005 Team Foundation Server"

If it finds it, it looks for a string value called InstallLocation.  It really should find that and it really should point at where TFS is installed.  If it's not there (or wrong) something is wrong (either with the TFS installation or my information about the key :)).

If it can't find the key, it throws a "hail Mary" and looks in "%Program Files%\Microsoft Visual Studio 2005 Team Foundation Server".

Those of you having problems with this, please check your registry and let me know what you find.
Thursday, August 24, 2006 7:24 AM by bharry

# re: More Expirations Coming Soon...

This is what I found.
Only the following MS-keys are found in HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall
- Microsoft SQL Server 2005
- Microsoft Visual Studio 2005 Team Explorer - ENU
 This one holds a sub-key "InstallLocation" with the value "C:\Program Files\Microsoft Visual Studio 8\"
- Microsoft Visual Studio 2005 Team Foundation Server - ENU
 This one holds a sub-key "InstallLocation" with the value "C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\"
- Microsoft Visual Studio 2005 Team Foundation Server (build) - ENU
Thursday, August 24, 2006 8:52 AM by paso

# re: More Expirations Coming Soon...

OK, I have a hunch what was happening.  It was picking up the (build) registry key and thinking it was the server for single server installs with build installed on them.  I have modified the detection logic to check for the "-" position as well.  It should pick up the right one now.

I re-uploaded the zip.  Could you give it a try and let me know?

Brian
Thursday, August 24, 2006 9:23 AM by bharry

# re: More Expirations Coming Soon...

Great, it's working now on my server.
Thursday, August 24, 2006 9:30 AM by paso

# re: More Expirations Coming Soon...

Yes, this fix works for me too. Thanks!
Friday, August 25, 2006 4:33 AM by thys

# Date d'expiration d'une version d'

Monday, August 28, 2006 11:17 AM by Antoine Driard

# Danger - UXB! TFS Release Candidate cannot be de-fused!

Who says you can't go back and do it over just right? My wife and I had a life many reincarnations ago...
Monday, August 28, 2006 4:02 PM by Federal Developer Weblog

# Using Foundation Server Trial

I you are using a foundation server trial and you are not sure when it will expire (180 days from installation,...
Monday, August 28, 2006 4:26 PM by marcus's Team System motivation and experience

# התקנת Team Foundation Server מתוך ה MSDN? הוא יכול לפוג ללא התראה....

אז אם התקנתם את ה Trial Editision של TFS מתוך ה MSDN המוצר יפוג אחרי 180 יום ללא התראה. הנה פרטים שיוכלו

Monday, October 16, 2006 4:34 AM by בלוג על כלום

# התקנת Team Foundation Server מתוך ה MSDN? הוא יכול לפוג ללא התראה....

אז אם התקנתם את ה Trial Editision של TFS מתוך ה MSDN המוצר יפוג אחרי 180 יום ללא התראה. הנה פרטים שיוכלו

Monday, October 16, 2006 4:38 AM by בלוג על כלום

# Date d'expiration d'une version d'évaluation de Team Foundation Server

Ca fait bientôt 6 mois que Team Foundation est sorti. Pour ceux d'entre vous qui ont installé la version

Friday, December 22, 2006 2:23 PM by Visual Studio Team System en français

# My homepage

Great work!

[url=http://oconsren.com/vmxx/fepc.html]My homepage[/url] | [url=http://ppohgkqg.com/zlij/mxuh.html]Cool site[/url]

Sunday, January 28, 2007 11:12 PM by Brad

# My homepage

Well done!

<a href="http://oconsren.com/vmxx/fepc.html">My homepage</a> | <a href="http://skislvdy.com/gcla/oreb.html">Please visit</a>

Sunday, January 28, 2007 11:12 PM by Cassie

# My homepage

Sunday, January 28, 2007 11:12 PM by Lena

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker