How to force log out of all users on VSS?

VSS resumes sabotaging my repository again. The repair team won't let me repair, the VSS lock doesn't seem to affect the users currently logged in - and it's not the user, stating that the only logged in user is admin (via the VSS admin tool!). and I have already closed all instances of VSS administration tool and client.

+1


a source to share


7 replies


In Computer Management, close all sessions and open files. This is radical, but this is the only way I have found to fix it. You can also temporarily close the resource.



+2


a source


I had the same problem and even after following the steps in the answer above, it didn't go away until I stopped . SQLWriter (Sql Server VSS Writer) and SSService (Visual SourceSafe LAN Service).



+2


a source


Restart your computer and try again.

+1


a source


Close all instances of Visual Studio as they are (or may be) Visual Source Safe clients.

+1


a source


stopping SSService (Visual SourceSafe LAN Service) worked for me, thanks.

it saved a lot of time and confusion ...

+1


a source


I have this batch file running through the 2:00 AM Task Scheduler every day where no one has to log in anyway, but they are. This seems to be a trick.

net stop sqlwriter
net stop ssservice
"D:\Program Files (x86)\Microsoft Visual SourceSafe\analyze.exe" -C -D -F -V4 "D:\vss\data"
net start ssservice
net start sqlwriter

      

The only problem I ran into was the backup folder, which might contain data in it, which stops the analyzer. So I can add some commands to move stuff out of the data \ backup folder if I tackle this problem again. (In this case, you should save the analy.log file in your backup folder. However, I haven't done enough research on this.)

Hope this helps!

+1


a source


Email everyone:

Topic : VSS Emergency

Body . Everyone is prompted to immediately disconnect from VSS. This is not a drill. I repeat: this is not an exercise.

0


a source







All Articles