Maping network printers

Microsoft Microsoft window server 2003 a...
August 13, 2009 at 19:12:28
Specs: XP and Server 2003
Hello,
I am trying to use a simple batch file with a net use command but I am obviously getting something wrong. Server: server-bfg ---Printer Share name: Lab ---Here is the command I am using as the login script: NET USE lpt2: \\server-bfp\lab /persistent:yes
What am I doing wrong? The script seems to be running, but the printer does not connect...
Thanks in advance for your help!
Russell

See More: Maping network printers

Report •


#1
August 14, 2009 at 08:31:57
when you do the command manually what happens?

Report •

#2
August 14, 2009 at 10:26:56
Hi, Thanks for your response.
Nothing...I get a command prompt window for a second then it goes away.
If I execute it in a DOS prompt, it will say all commands succeeded, but when I do a net use command it'll show that the printer was connected, but is now disconnected. I am wondering if I need to try using the User and Password in the syntax. Any ideas?

Report •

#3
August 14, 2009 at 13:22:41
As per the following web page regarding mapping to a printer from the command line

This is for windows XP but I'd wager it should work in 2003 as well.


Report •

Related Solutions

#4
August 15, 2009 at 09:13:40
This is a great article! Thanks.
I will try it on Monday.
Will this work as a a batch file or do you have to do this every time you log on? I guess I'll find out.
Just to give you the big picture, all I am trying to do is have certain printers associated with certain domain users. When a user logs into any computer on the network, those printers will always "follow" them..hence the batch file idea running from the Logon script in Active Directory for each user. I just don't want to use roaming profiles for obvious reasons..
So that's the low down...any other ideas? I'll let you know what happens Monday.
Thanks again so very much for your help.
Russell

Report •

#5
August 17, 2009 at 14:46:05
Didn't work. This should be easy, shouldn't it? I can map network drives all day.
Again, all I am trying to do is have certain printers associated with certain domain users. When a user logs into any computer on the network, those printers will always "follow" them..hence the batch file idea running from the Logon script in Active Directory for each user. I just don't want to use roaming profiles for obvious reasons..
Any ideas?
Thanks!

Report •

#6
August 17, 2009 at 15:36:02
You need to specify a group and add that group to the printer with rights. Then make these individuals members of the group.

I suspect your map is failing due to no rights to the printers


Report •


Ask Question