How To: Access a VSS6.0 Db via HTTP

Yes, you
can use drive mapping to connect to a VSS db remotely. I must warn
you though, this is an interesting hack but it's slower than a dead
banana slug on a wet Seattle morning. If you want to do
any work on the files in a VSS 6.0 or earlier database from
home, do yourself a favor and connect over a VPN using terminal services
(Run->MSTSC).  Here are the details of my hack (subcategory: very stupid
stuff you can do with vss):

Server Requirements:
+Windows 2000 or
+Internet Information Services installed (I have 5.0)

+Windows 2000 and later

On the Server:
Using VSS Admin, create a test database called "TestDB" in C:\TestDB. 2. Open
the Internet Information Services MMC snapin using Computer Management.

3. Under "Web Sites", right-click on
'Default Web Site' and select "New->Virtual Directory..."
4. Alias =
"TestDB" and Directory = C:\TestDB.
5. For 'Access Permissions' select each
of the following: Read, Run, Write, Browse.
6. In the IIS tree, right-click
your new virtual directory, TestDB and select 'Properties'.
7. Select the
Directory Security tab and then click the 'Edit' button.
8. In the
'Authentication Methods' dialog box, select only 'Windows Authentication'.
(Note: This is the most restrictive and secure configuration.  All users
who attempt to access items in the TestDB virtual directory will have to have
read\write access to the VSS database directory as well.)

On the Client
(repeat these steps for each client):
1. Start the Windows "WebClient"
service using Computer Management and  set it to start automatically. 2.
Open the command line (Run|"cmd" [not 'run dmc']:) and map a drive to the
virtual directory on the server (step 4 above) using the following command
syntax.  Note: replace with the IP address of the server
Net use *

color=#0000ff size=2>(Note: at this point, you may or may not be prompted for
your "name", which is DOMAIN\userid and your network password) 3. A message
appears, "Drive [DriveLetter] is now connected to
The command completed successfully."
4. Map another drive to the one you
just created. Assuming that the first [DriveLetter] = X, type the following at
the command
Subst P: X:\
5. Open Visual SourceSafe and
click File | Open SourceSafe Database.
6. In the 'Open SourceSafe Database'
dialog box, click Browse. 7. In the 'Find Database' dialog box, type "P:\" in
the 'File Name' box, select the srcsafe.ini file, and then click

*If you don't know your server's IP address, you can type
"ipconfig" at the command prompt to find out.

This posting is provided "AS IS" with
no warranties, and confers no rights.

Microsoft kann für die Richtigkeit und Vollständigkeit
der Inhalte in dieser Blog keine Haftung übernehmen.

הודעה זו
מסופקת "כפי שהיא" ללא כל אחריות או חיובים, ואינה נותנת לך זכויות

Comments (8)

  1. Ricky says:

    FYI, there is a 3rd-party product that does this:

  2. G says:

    What is the purpose of using Subst? Doesn’t this work using the mapped drive directly when opening the database? (& thanks for the vss-related blogs.)

  3. mic says:

    Why I can’t find the "WebClient" service ?

  4. fhfjop says:


    <a target=_top href="">cruise</a>

    <a target=_top href="">cruise</a>


Skip to main content