Using Windows to Connect to SAMBA

Samba is a server that is running on the UofM UNIX system that allows a Windows and Mac machines to connect to a UNIX home directory and other shared resources.

Windows Vista Setup

There are three steps (four for off-campus users) to connecting your Windows Vista computer to a Samba server:

  1. Edit the Registry
  2. Edit the Network Settings
  3. Map your UNIX Home Directory
  4. (For off-campus users) Setup lmhosts File

Editing the Registry

Note: We cannot recommed manually editing the Registry and have provided the files that so that you will not edit your registry. If you are doing this on a U of M computer, you should contact your container (LAN) administrator before making these changes. This step only has to be done once.

Configuring your computer for use with the Samba server normally means you have to edit the Registry. We cannot recommend doing this manually since it is possible to damage the Windows installation.

  1. Download the registry file - Windows 2000 Registry Fix - and Save it to your Desktop
  2. Double-click on the file Win2000_plainPassword.reg
  3. Your computer will then ask you if you want to add the appropriate key to the registry; click Yes
  4. Restart the computer

If you would rather edit the Registry yourself you will need to change the following key:



Editing the Network Settings

Setup the WINS server information:

  1. Click Start and click Control Panel
  2. If the Control Panel is already in Classic View (i.e. not Control Panel Home), double-click Network and Sharing Center
  3. Click Manage network connections, in the left-hand column
  4. Right-click on your network (LAN or dial-up) connection and click Properties
  5. Select Internet Protocol Version 4 (TCP/IPv4) by clicking on the title, and click Properties
  6. Click the Advanced button
  7. Click the WINS tab, and click Add
  8. Enter the IP Address:, and click Add
  9. Select Enable NetBIOS over TCP/IP
  10. Click OK on all the windows to close them

This is all the configuration that has to be done to access the Samba server.

Browse for shared resources:

  1. Click Start
  2. In the Search bar enter \\samba and press the Enter key on the keyboard
  3. You will be prompted for a username and password; enter your UMNetID and password
  4. Locate your unix directory or other shared resources (All shared resourses avaiable through samba displayed in the Network window)

Connect to a Network Drive:

  1. Locate the resource you want to map, by performing the 4 steps above
  2. Right-click the resource you want to mab and click Map Network Drive - Wndows will assign the first available drive letter, but you can choose any available letter to assign to the network drive
    Note: If you check Reconnect at logon, this is a security risk. If checked, your computer will automatically connect to the Samba server and will not prompt you for your password again.
  3. Click Finish

You can now use Computer to view the Network Drive.

Disconnect from a Network Drive:

  1. Locate the Network Drive using Computer
  2. Right-click the Network Drive and click Disconnect

Setup lmhosts File (for off-camus users)

  1. Click Start, All Programs, Accesories and Notepad
  2. Copy the following text into the (blank) notepad file:  SAMBA      #PRE  CCHOME  #PRE
  3. Click on File and Save As
  4. In Save in: navigate to c:\windows\system32\drivers\etc
  5. In Save as type: choose All Files
  6. In File name: type, click Save and close notepad


Mon - Fri: 8am to 8pm
204-474-8600 or


Fort Garry
123 Fletcher Argue
Mon - Fri: 8am to 8pm

230 Neil John Maclean Library
Mon - Fri: 8am to 4:30pm

New! Submit requests & check ticket status online at: