Map printers and drives in one logon script - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Closed Thread
Thread Tools Display Modes
Old 09-10-2006, 11:53 PM   #1 (permalink)
Newb Techie
Join Date: Sep 2006
Posts: 1
Post Map printers and drives in one logon script

How do I map 3 drives on a server and 2 printers and set one as default on a logon script on windows 2003 server?

dalizardking427 is offline  
Old 09-11-2006, 08:46 AM   #2 (permalink)
Junior Techie
Join Date: Sep 2006
Posts: 57

I'm not sure about mapping a printer, but to map drives create a .bat file and the line to map a drive is:

net use <drive letter:> "\\servername\directory" > nul
net use R: "\\\example" > nul

Do that for however many drives you need mapped (obviously change the drive letter, and make sure the letter's not in use already!) Put the .bat file somewhere and make it so it runs on startup.
Streetz is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities

Copyright 2002-2015 Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 10:28 PM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2016, vBulletin Solutions, Inc.