Solved

Connecting Network Printers at logon using a script

Posted on 2008-10-07
6
271 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VLAN Issue 4 75
Distinguished username as email address 4 45
TLS 1.0 & Windows 7 - How to disable? 16 128
Layer 3 Switch Configuration 12 48
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

726 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