Solved

Connecting Network Printers at logon using a script

Posted on 2008-10-07
6
270 Views
Last Modified: 2012-05-05
Hi There,

I have searched through and I cant seem to find what i am looking for but I have currently got a login script on our main server that basically links all our network drives based on what group the user is in and the same goes for their printers now this script has worked fine up until now, but now we have got a few vista machines this throws everything up in the air a little. Cos obviously the script goes over \\servname\printer name, and for some reason vista just does not like it, and ignores the drive maps as well for some reason. Is there a way I could amend the script to connect them up via the printers relevant IP address as most of the printers are directly connected to the network.

Regards,

Scott
0
Comment
Question by:Flight5497
  • 3
  • 3
6 Comments
 
LVL 9

Expert Comment

by:mgonullu
ID: 22658216
I think it a common issue between Windows server 2003 and Vista, It is better to contact microsoft if you have a EULA with them.
0
 
LVL 1

Author Comment

by:Flight5497
ID: 22667378
I can appreciate that this could well be a microsoft related issue but more question and I am sorry I dont think I made it stand out. Was is there a way in a script you can instead of connecting the printers at logon by there UNC name, instead do it by the printers actually ip address, as opposed to a share?

As this will allow us to get past the printer issue for the time being. If not then it is something we will have to take up with MS.

Regards

Scott
0
 
LVL 9

Expert Comment

by:mgonullu
ID: 22668146
For sure you can do that by doing the follwing:
go to control panel, then printer,
Add printer
Choose local printer and disable auto detect
then add a new port from the list, it is the TCP/IP port
Write there the IP address of the pritner
After that the wizard will ask for the driver
After putting the driver you are done
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 1

Author Comment

by:Flight5497
ID: 22669099
I am sorry i dont think I am being very clear what I mean is.

1) At the moment we have a script that at logon assigns printers based on what group they are in on AD and then places then installs them on to the computer via there UNC name which is obviously a share name on another machine in our case the main server.

2) We know Vista has a problem in dealing with these printers via its UNC name, but works perfectly fine if you point them directly to the printer via its IP address as opposed to the UNC.

3) Now what I want to achieve and know if it is possible is can i amend my script to instead of linking the various printers via UNC, amend the script so it installs the printers by IP Address instead.

Hope this is a little bit clearer.
0
 
LVL 9

Accepted Solution

by:
mgonullu earned 500 total points
ID: 22672808
Hey man I get your problem.
did you installed Vista SP?
http://support.microsoft.com/kb/941542/en-us
0
 
LVL 1

Author Comment

by:Flight5497
ID: 22729724
I know you get what I mean in regards to my problem with Vista, and solutions for this problem but my underlying question remains unanswered.

Which is in a logon script can you instead of installing a batch of printers by their UNC name instead do it by the printers actual IP Address on the network? If yes what is the code or a reference to code that will allow me to acheive this? As I am not a heavy VB Scripter.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
forward schedule of change 1 50
NAS with google authentication 6 98
Looking for open port with Telnet 5 56
eigrp - not allow a subnet from advertising 1 35
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now