Visual Source Safe Admin Password Reset

We used to use Visual Source Safe (VSS) 6.0 for projects, and so have some older projects that are not routinely accessed. So what happens when you forget the admin password a few years down the line?

There are various suggestions around the net, but this little tool should help: Reset VSS 6 admin password

Simply run in the Data directory of your VSS 6.0 project (where the file um.dat is located) using a command prompt, then rename the files as instructed and your admin password will become blank.

89 Comments »

  1. Murthy said,

    March 27, 2006 @ 1:42 pm

    Simply excellent! Small app but great result.

  2. Pramela said,

    July 10, 2006 @ 7:24 am

    IT works.. thanks a lot

  3. Krishna said,

    January 24, 2007 @ 1:07 pm

    Simply Great

  4. PushThePramALot said,

    February 2, 2007 @ 10:48 pm

    phew, thanks man. This certainly saved the day today… the lead dev who maintained VSS changed the password and walked out. Works like a champ!

  5. Jan Michael said,

    May 18, 2007 @ 1:45 am

    It works! Your the man!! thanks…

  6. Vic said,

    October 2, 2007 @ 8:37 am

    Cool tool
    thanks for covering my ass!

  7. saguni said,

    November 27, 2007 @ 3:40 am

    Cool. Thanks.

  8. Yann P. said,

    January 10, 2008 @ 8:40 pm

    Worked like a charm.
    Thanks again for sharing it.

  9. Pierre Andreasson said,

    February 7, 2008 @ 9:54 am

    Nice work! Thank you!

  10. sanjay.ivar said,

    March 20, 2008 @ 4:52 am

    It’s working Thanks a lot.
    and also Thanks for sharing.

    Sanjay

  11. MGH said,

    May 8, 2008 @ 1:13 pm

    Magic! Saved my life

  12. Ed said,

    July 7, 2008 @ 3:43 pm

    Spot on. Other sites were complicated and laborious.

  13. tony said,

    July 22, 2008 @ 5:21 pm

    So sweet!

  14. Mike said,

    July 28, 2008 @ 6:39 pm

    Wonderful work, you have my heartfelt thanks.

  15. Syed Muhammad Salman said,

    August 1, 2008 @ 11:43 am

    Thank you soo much…
    Really it is great utility…

  16. Vijay Khapekar said,

    August 7, 2008 @ 7:39 am

    First of all, thanks a lot.
    Simply Superb. simply gr8.

  17. Amos Devakumar said,

    August 12, 2008 @ 8:53 am

    Cool and great work…! Thanks a lot.

  18. Praveen said,

    September 4, 2008 @ 9:24 pm

    What about the other users who are on VSS? Will they get affected?
    Does it reset only the admin user password?

  19. 42 said,

    September 4, 2008 @ 10:54 pm

    Honestly, it’s been so long I can’t remember. To be safe, backup your whole VSS folder tree and then you can always go back.

    You could create a small test project elsewhere and try it with that…

  20. Ravi said,

    September 18, 2008 @ 10:29 am

    Hey Really it’s excellent

    Thanks a lot

  21. Rafael Santos said,

    October 9, 2008 @ 7:26 pm

    This application works very well and does not affect the others users.

    By the way, the only file that’s modified is um.dat… so this is the only one you need to backup.

    Hey 42, do you allow I translate this tip to pt-BR and post in my website?

    There’s always someone with an old repository and a lost password…

  22. Rafael Santos said,

    October 9, 2008 @ 7:54 pm

    I forgot!

    Obviously I will put the credits e a link to this page!

  23. Stephen Davis said,

    October 16, 2008 @ 9:49 pm

    Does this application work with VSS 2005?

  24. 42 said,

    October 17, 2008 @ 1:12 pm

    No, only VSS 6.0

  25. VSS reset admin password - Mauricio Rojas Blog said,

    October 21, 2008 @ 4:30 pm

    […] The tool from this page http://not42.com/2005/06/16/visual-source-safe-admin-password-reset  […]

  26. M4ndybase said,

    October 21, 2008 @ 4:45 pm

    It’s fantastic.
    Thanks a lot for sharing this with us.

    []

  27. Bhavika said,

    November 3, 2008 @ 12:31 pm

    Great utility !!

    Thanks !!!!

  28. Jeetendra Prasad said,

    November 9, 2008 @ 7:25 am

    Thanks man. You just made my day. Keep the good work.

    — Jeetendra Prasad

  29. BurtRM said,

    December 1, 2008 @ 5:18 pm

    You rock!!! The little exe definitely saved the day.
    Thanks!!

  30. M4ndybase said,

    December 2, 2008 @ 7:31 pm

    Thanks a lot.

  31. sridhar said,

    December 3, 2008 @ 11:12 am

    wonderful. great. splendid. marvelous. amazing. rocking. mind blowing.

  32. Kalyan said,

    December 30, 2008 @ 9:48 am

    Simply Great

  33. asutosha said,

    January 15, 2009 @ 5:42 am

    Thanks , it is aGreat Tool.

  34. Lepi Nesha said,

    February 11, 2009 @ 10:08 am

    Huge thank you man. HUUUUGE!!!

  35. Glenn said,

    March 17, 2009 @ 10:44 pm

    Thank you!

  36. Aruna said,

    March 31, 2009 @ 6:21 am

    Thanks a lot! Great tool !

  37. Resetando a senha de Admin no Visual Source Safe - RafaelSantos.com said,

    May 29, 2009 @ 7:52 pm

    […] após uma breve “googlada” deparei-me com um blog que indicava um minúsculo programa para resetar a senha do usuário […]

  38. Hanna said,

    August 26, 2009 @ 11:53 am

    Gr8 tool. Works like a charm.

  39. Syed said,

    October 7, 2009 @ 7:44 am

    Simply fantastic……..Works

  40. anthony said,

    November 4, 2009 @ 10:10 pm

    Simply Great…

  41. Martin said,

    January 5, 2010 @ 2:31 pm

    Hi, I have the Visual SourceSafe Version 8.0 and forget the password for user admin.
    do you have any soft to resete that user in this version??..

    Thanks a lot!!!..

  42. Krishna said,

    January 9, 2010 @ 6:51 am

    …rename the files as instructed and your admin password will become blank.

    How many files would you have to rename ?

  43. 42 said,

    January 12, 2010 @ 12:25 am

    Nope, just for the old version. Things changed big time between now and then.

  44. 42 said,

    January 12, 2010 @ 12:27 am

    It’s been so long! 2 I believe – the current um.dat to back it up. The modified one to um.dat.

    The tool tells you when you run it.

    As always, backup everything before you start to make sure you’re safe.

  45. Baddy said,

    January 14, 2010 @ 6:50 am

    Thanks man. U r simply gr8…

  46. myths said,

    February 17, 2010 @ 10:35 am

    Thanks a ton.. helped me alot..

  47. Deva said,

    March 4, 2010 @ 3:11 pm

    sorry boss

    not working

  48. Ansari said,

    March 25, 2010 @ 8:48 am

    Excellent utility

  49. Raunak said,

    April 5, 2010 @ 6:07 am

    Hey buddy, thanks a lot for this sweet little tool – it saved my life!

  50. Muhammad Azam said,

    April 5, 2010 @ 6:25 am

    compact solutino

  51. Srinivas said,

    June 9, 2010 @ 8:49 am

    Thanks a lot. Now I can reset my VSS admin pwd.

  52. SP said,

    June 23, 2010 @ 10:49 am

    very helpful , thanx a ton!!!!

  53. Tam said,

    June 30, 2010 @ 8:26 pm

    THANKS! it worked great!

  54. Simon said,

    July 9, 2010 @ 2:53 pm

    Thank you. Worked great on version VSS 6.0d.

  55. marcos said,

    July 19, 2010 @ 1:30 pm

    Tks man! It works very well. You just forgot to say that it generates a file umfix.dat that needs to be renamed to um.dat.

  56. Bunyamin TOPAN said,

    August 17, 2010 @ 4:51 am

    It worked.Thnx

  57. Parth Gandhi said,

    September 28, 2010 @ 2:13 pm

    absolutely superb..

  58. Shyam said,

    October 21, 2010 @ 9:26 pm

    I have version 8.0. If some body have any tool to blank the password, please let me know.

  59. Luanne said,

    October 25, 2010 @ 6:55 am

    excellent utility!
    thank you

  60. Nogol Tardugno said,

    November 19, 2010 @ 7:05 pm

    Thanks so much! This really helped!

  61. R said,

    November 23, 2010 @ 2:48 pm

    Love it :-D

  62. Luis Ramirez said,

    January 12, 2011 @ 9:15 pm

    Excellent!!!
    Thanks :D — Pura Vida!!

  63. Recovering Visual SourceSafe (VSS) Admin Password « Low IT said,

    May 16, 2011 @ 9:13 pm

    […] You can retrieve it right here: http://not42.com/2005/06/16/visual-source-safe-admin-password-reset/ […]

  64. Hanu said,

    June 22, 2011 @ 1:36 pm

    Excellent tool….. Thanks a lot

  65. shailender said,

    January 20, 2012 @ 7:37 am

    thanks. it works for me.

  66. Ram said,

    January 25, 2012 @ 7:07 pm

    G8!

  67. Balaji said,

    February 9, 2012 @ 1:25 pm

    What a wonderful utility man. Awesome. it saved a lot of rework effort. 100 votes from me. Keep up the good work.

  68. vjj said,

    April 29, 2012 @ 2:00 pm

    thanks!

  69. Channaka said,

    June 15, 2012 @ 9:42 am

    Wow…Managed to recover some old source codes.
    Thank for the tool.

  70. nazli said,

    September 17, 2012 @ 10:04 am

    i could not understand how to use this file.i copy umfix.dat into my vss directory and delete um.dat and then rename fixum.dat to um.dat.(Without Command Prompt)
    Is it right?
    when i want to open vss admin i got error “Error reading from File”
    And also the size of umfix.dat is 0 kb.

  71. nazli said,

    September 17, 2012 @ 10:17 am

    I did it. it was great
    thanks

  72. SLL said,

    December 9, 2012 @ 9:53 am

    Run as Administrator. Perfect. Thank you.

  73. Amila Perera said,

    March 29, 2013 @ 11:53 am

    Excellent tool….. Thanks a lot for sharing this with us.

  74. Christian said,

    April 17, 2013 @ 3:28 pm

    thanks a million, we were “saved” as well by the program. Worked like a charm.

  75. Larry said,

    April 19, 2013 @ 2:44 pm

    Real Forum, running exe makes me nervous?

  76. Administrator said,

    April 19, 2013 @ 9:26 pm

    It is real, which is why I cleanse the spam posts that make it through the spam filters.

  77. Mark said,

    May 17, 2013 @ 11:23 pm

    Thanks – works like a charm.

  78. Vinay Dwivedi said,

    June 17, 2013 @ 7:28 am

    Great job..
    It works ..

  79. jerry said,

    June 24, 2013 @ 3:41 pm

    //c# Source code for an app to fix the um.dat
    using System;
    using System.IO;

    namespace UmDatFixer
    {
    class Program
    {
    static void Main()
    {
    var fileBytes = File.ReadAllBytes(“um.dat”);
    var nr = fileBytes.Length;
    var i = 132;
    for ( ; i nr)
    {
    throw new Exception(“Could not find admin password.”);
    }

    fileBytes[i – 2] = 0xBC;
    fileBytes[i – 1] = 0x7F;
    fileBytes[i + 32] = 0x90;
    fileBytes[i + 33] = 0x6E;

    File.WriteAllBytes(“umfix.dat”,fileBytes);
    }
    }
    }

  80. Roberto said,

    July 24, 2013 @ 11:44 am

    this tool is great! thanks a lot for saving all that time!

  81. jp said,

    September 3, 2013 @ 9:34 pm

    thanks

  82. TimB said,

    September 5, 2013 @ 10:06 pm

    Still works great. Easy, too. Thanks!

  83. Ganesh said,

    September 26, 2013 @ 1:18 pm

    How do I rename the files??

    can someone please provide a complete steps I need to do

  84. Mike said,

    October 24, 2013 @ 2:25 pm

    Still works. Pulling old projects out of the way back machine.

  85. Nilesh said,

    November 19, 2013 @ 10:05 am

    Excellent Tool Many thanks for sharing this tool to all the system administrator who can save there work in less time.

    thanks Again !!!

  86. Tuyen Nguyen said,

    December 12, 2013 @ 7:26 pm

    Thank you very much. It works for me.

  87. Raj said,

    March 31, 2014 @ 1:40 pm

    Thanks a lot buddy…. It worked..!!!

  88. Sid K said,

    April 16, 2014 @ 4:41 pm

    Thank you. This helped me get back into the source when 7 out of the 7 people who had access the repository left the company. Worked like a charm.. btw – I use VSS 2005..

  89. Antonio Vasquez said,

    July 3, 2014 @ 10:17 pm

    Thanks works!!!! great

RSS feed for comments on this post · TrackBack URI

Leave a Comment