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.
a source to share
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!
a source to share