?
Solved

Connecting Network Printers at logon using a script

Posted on 2008-10-07
6
Medium Priority
?
277 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

840 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