Solved

Problem Sharing a Printer

Posted on 2004-09-07
8
171 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 250 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
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
LVL 15

Assisted Solution

by:adamdrayer
adamdrayer earned 250 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 250 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
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…
Suggested Courses

635 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