Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Connecting Network Printers at logon using a script

Posted on 2008-10-07
6
Medium Priority
?
276 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

 
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 1500 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
This program is used to assist in finding and resolving common problems with wireless connections.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

610 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