Solved

Problem Sharing a Printer

Posted on 2004-09-07
8
167 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
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 Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

777 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