Run VSSConverter without prompting for password

Grant Holliday’s blog

Senior Service Engineer, Microsoft Visual Studio Team Foundation Service

Run VSSConverter without prompting for password

  • Comments 3

If you have tried to run VSSConverter as part of an automated script, you’ll know that it’s not obvious how to stop it prompting for the Visual SourceSafe repository’s administrator password.

Eyal points out that you can set two environment variables to achieve this behaviour:

set SourceSCMPasswd=VssPassword
set HATCONTESTING=yes
VSSConverter.exe Migrate migrate_settings.xml

Although I haven’t tried it, there’s a suggestion on this thread to try the VS2008 SP1 version of VSSConverter as it’s “vastly improved”.

Note: These options are undocumented and unsupported. They are intended for internal testing.  They should work with current versions of VSSConverter, but they’re not guaranteed to work for future releases.

  • Buena frase, pero que tanto podemos acercarnos a esta realidad? Via el (nuevo) blog de Grant Holliday

  • Sean Lumley on Collecting Code Coverage when Running Web and Load Tests James Whittaker on before we...

  • Hi,

    Thanks for the post. The code is Working!!!

Page 1 of 1 (3 items)