Solved

Problem Sharing a Printer

Posted on 2004-09-07
8
165 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
  • 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
 
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
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, fr…
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…

746 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

16 Experts available now in Live!

Get 1:1 Help Now