Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Donate Today!

Do you enjoy these
technical forums?
Donate Today! Click Here

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Helpful Member!  ml0829 (IS/IT--Management) (OP)
31 Jan 01 8:17
Do anyone know how to solve the problem?  Sometimes ago, one of our programmer set the Visual Source Safe password but he had already left the company.  Any solution?
muralinaidu (Programmer)
15 Feb 01 6:54
contact Microsoft, that's the only way to break admin password if you forget. this was given by microsoft in their help etc documents.
murali
elcoderdude (Programmer)
2 May 01 8:30
Actually there are at least two ways to reset the Admin password. Both are risky, but they're better than losing your data.
First you could replace um.dat using the um.dat from a fresh SourceSafe installation (which by default has a blank Admin password). You then have to delete rights.dat and status.dat. You should be able to login as Admin, but you've lost all your users, so you have to add them back. I haven't tried this, and it is more complicated than I've said: see http://www.amundsen.com/articles/article.asp?File=vsslostpw
Second you could hack um.dat to reset the Admin password. I did this by comparing um.dat from my SourceSafe installation with that of a fresh SourceSafe installation. I just had to change a few bytes in the vicinity of the Admin username.
Guest (Visitor)
29 May 01 5:22
Hi

I hacked the um.dat file to remove the Admin password

from offset 80 the bytes are (all numbers are hex)

0:80  55 55 bc 7f 41 64 6d 69 6e 00 00 00 00 00 00 00
0:90  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0:a0  00 00 00 00 90 6e 00 00 a8 01 00 00 00 00 00 00


This information is at YOUR OWN RISK

jizzlobber (Programmer)
21 Jun 01 4:24
Thanks Finn,
Yours hack worked fine on my copy of Sourcesafe v5
Guest (Visitor)
3 Jul 01 8:50
jizzlobber and Finn,
I have the same problem with SourceSafe 6.0.  Do you know where the offset starts for the password?  And I am not sure what you did with the numbers at offset 80.  Did you just change values '55' thru '6e' to '00'?
technomancer (IS/IT--Management)
25 Jul 01 2:10
Thanks Finn,

You hack worked for me too. Billpetrie just load the um.dat file into a hex editor and change the bytes from offset 80 to exactly what Finn has typed include all bytes even the one from offset a0. When sourcesafe admin starts it believes that an admin password has never been selected before ... excellent


Guest (Visitor)
4 Sep 02 5:00
Worked fine to me 2 on VSS6
Thanks allot
Helpful Member!  rcanon (Programmer)
11 Sep 02 8:01
Microsoft tech support will step you through the procedure to create a new password - I don't know if they charge for the call. The following URL lists the procedure (same as what microsoft will tell you).

http://www.amundsen.com/articles/article.asp?File=vsslostpw
fursey (Programmer)
25 Mar 03 7:01
Works a treat. Cheers Finn
VassiliChernevich (Programmer)
27 Mar 03 15:48
It works!
VS6 SP5.
Thank you very much, Finn Brodersen.
rcanon (Programmer)
2 Apr 03 5:29
The step-by-step instructions to reset the admin password are on the following web page:

http://www.amundsen.com/articles.aspx?CatID=7867&PostID=8206
Helpful Member!  morganncrr (Programmer)
3 Apr 03 15:30
I have some additional information on this. It is useful if you have users you want to save. For some reason, my Admin user wasn't defined at offset 0x80. Instead, it was at 0x104. When I followed the instructions above, it would have overwrote a different user defined at that location. I WAS ABLE TO SEE THIS BECAUSE MY HEX EDITOR ALSO DISPLAYED AN ASCII VERSION ON THE SIDE! So I could see where the user name definition began in the file.

MAKE A BACKUP OF THE UM.DAT FILE FIRST!!!!

I use VSS 6.0 on NT.

It looks like user definitions begin every 64 bytes, like at 0x80, 0xC0, 0x100, 0x140. You can see that users start with the bytes 55 55 XX XX - where XX XX seem to vary.

The only thing I did different from Finn's directions above was to start at the offset for my Admin user. And then I FOLLOWED HIS DIRECTIONS EXACTLY! It worked fine.

Of course, it is entirely possible that this was a fluke and these directions may completely screw up your dat file. SO MAKE A BACKUP OF THE FILE FIRST!!!!

Bren2 (Programmer)
6 Oct 03 7:17
Hi, Excellent tip!
I found that the offset can be different for each um.dat. As the um.dat is ordered alphabetically by login. If you have a user name that appears aplhabetically before "Admin" they will appear at offset 80. And Admin will apear further down the file. morgancrr tip is useful to know - as it will help you locate the Admin password on your own particular set up. This has been a very useful tip - saved me hours of creating a new source safe & adding all the users again.. Thanks Finn Brodersen...!!

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close