Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Problem Sharing a Printer

Posted on 2004-09-07
8
Medium Priority
?
172 Views
Last Modified: 2010-03-18
Hi

I am using Windows 2K Server, and a Windows XP workstation.

The printer is installed locally on the server, and shared as a resource on the network.

The printer is automatically installed on W2K machines via NETLOGON through use of the setprint.vbs script.

While it works fine on Win2K, unfortunately it does not seem to work on the XP workstation. The printer is not installed. Any idea why?

Jason
0
Comment
Question by:Jason210
[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
  • 4
  • 3
8 Comments
 
LVL 15

Expert Comment

by:Yan_west
ID: 11996561
Hmm.. is this the syntax used in the script?

'// Name: setprint.vbs
'// Description: Add a network printer and make it the default

Set WshNetwork = CreateObject("WScript.Network")

'// Adds the printer. Substitute your server name and printer share.
WshNetwork.AddwindowsPrinterConnection "\\Server\printer"

'// Makes the specified printer the default.
WshNetwork.SetDefaultPrinter "\\Server\printer"
0
 
LVL 15

Assisted Solution

by:adamdrayer
adamdrayer earned 750 total points
ID: 11996574

Check to see if ICF is enabled:

Go into the Network Connections
Right Click the proper connection
Click Properties
Goto the Advanced Tab

Is there a check next to "Protect my computer and network by limiting or preventing access to this computer from the Internet"?

This can be preventing the printer install.  I don't recommend disabling it, however, unless you have another software firewall running.  Just do it for testing.  The better thing to do is to add the server to the list of trusted computers.  You can access this by going into Internet Explorer and clicking "Tools" -> "Internet Options" -> "Security".  Click "Trusted Sites" and then the "Sites" button.
0
 
LVL 11

Author Comment

by:Jason210
ID: 11996815
Yan west - the script is the same as the ones used on the Win2K workstation - same folder in netlogon on the server that is.

adamdrayer - you mean to say I can add the server as a internet trusted site? What do I type in then? "servername", or "domain.local" or what?

Thanks for the help all.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 15

Assisted Solution

by:adamdrayer
adamdrayer earned 750 total points
ID: 11996845

Well I would first verify that it is indeed an ICF problem.  Then yes, you should add the computer to the list of trusted sites.  I believe the best way would be to use the IP address.
0
 
LVL 11

Author Comment

by:Jason210
ID: 11996855
Adamdrayer - there was no check next to "Protect my computer and network by limiting or preventing access to this computer from the Internet"?

This is a new laptop, and everything is therefore a clean install, so settings should be default.

Don't no if it helps, but net send is not working properly either. I can send a message to all (*) but when I choose a specific computer name it doesn't work. Says can't find message alias or something. I wonder if this is related?

/jason
0
 
LVL 15

Accepted Solution

by:
adamdrayer earned 750 total points
ID: 11998199
can you ping the W2K server by hostname?
0
 
LVL 11

Author Comment

by:Jason210
ID: 11998481
Hi

Yes, we just did it by hostname and it was fine with 0ms highest.
0
 
LVL 11

Author Comment

by:Jason210
ID: 12028682
Thanks everybody. I guess this kind of problem could have been any one of a hundred things, and your comments were ineterestimng and I learned a lot from it.

Actually, the problem turned out to be something in Windows XP. I ran the network connection setup wizard once more, just for the hello of it (normally I don't like to use wizards) and bumpff as if my magic everything worked fine again.

Question now is what to do wit the points? Thanks for your contribution Yan West, but I think Adam Slayer deserves the points - he used a lot of his time and his suggestions were very good. He didnt find the solution, but helped a lot, so a grade 'B' I think is appropriate in this case.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

704 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