SwissChecklist

Checklist: How to Automatically Map a Drive to SharePoint Foundation 2010

Use this to automatically map a SharePoint folder to a drive on your computer.
  • Create a batch file in your Startup folder with the mapping specs

    Show Details Show Substeps Show Substeps Show Substeps
  • Create the batch file with NotePad

    Show Details Show Substeps Show Substeps Show Substeps
    Steps to open Notepad
    • Go to Start (Windows)
    • type "Notepad" + enter in your start textline
    • in the empty notepad, write @echo off in the first line (this makes that people don't see your password everytime this batch gets run when you start your computer)
  • Open your Startup folder

    Show Details Show Substeps Show Substeps Show Substeps
    Here's how you do it
    • Go to your Windows Start Menu
    • Look at the folders in your start menu, go to the one called Startup
    • Right click on it, in the menu, select open
  • Save batch file to your startup folder, call it MapSharePoint.bat

    Show Details Show Substeps Show Substeps Show Substeps
    Steps
    • In Notepad, go to File > Save As
    • Go to the start-up folder (you can see where it is based on the open startup folder)
    • Give it the name MapSharePoint.bat (or whatever you want)
  • Write command to map the drive

    Show Details Show Substeps Show Substeps Show Substeps
    The Syntax is as follows
    Net use [drive]: "http://[Server]/[Path]" /USER:[username] [password]

    For example this could look like this:
    • Net Use W: "http://www.sphosting.ch/documents" /User:Marc secret123
    • Net Use M: "http;//www.sphosting.ch/Media" /User:sphosting\Frank topsecret
  • Power feature - optionally map multiple drives

    Show Details Show Substeps Show Substeps Show Substeps
    Just so you know, you can map multiple drives. your batch file could then look like this:

    @echo off
    net use w: ...
    net use m: ...
    Net use z: ...
  • New Step

    Show Details Show Substeps Show Substeps Show Substeps
Use this Checklist

Preview/Print

Use

Change

Sort

Sharepoint-Checklists sponsored by
Sharepoint 2010 Hosting Switzerland!