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

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 09-11-2006, 12:53 AM   #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, 09:46 AM   #2 (permalink)
Junior Techie
 
Join Date: Sep 2006
Posts: 57
Default

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
example:
net use R: "\\192.168.0.2\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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 12:24 AM.


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