Solved

Connecting Network Printers at logon using a script

Posted on 2008-10-07
6
268 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 1

Author Comment

by:Flight5497
Comment Utility
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
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Network Policy and access services failing 2 47
Arista Switches 2 41
Setting up a WAMP server... 7 48
Network Connection 5 31
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

763 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

12 Experts available now in Live!

Get 1:1 Help Now