Printer sharing issue

Printer is connected through USB cable to one of the desktop and it shared, we have two seperate blocks in the same premises both the network connectivity is working fine.
most of the times we gets the error as

\\XXX.XXX.XXX.XXX is not accesible. You might not have permission to use the nework resource. Contact the administrator of this server to find out if you have access permissions.

Some time we get connected

connect to Hostaname
ask for username_______
and password_______

because of this issue we are not able to take printouts and other nework resources like sharing.

When ever we give print gets the message as printer spooler is not running.

When I check the services it's started successfully.

Once If i connect the shared printer it works until the next restart, once machine restarts it gives the problem in printing again we need to connect manually.

May I know what is the issue? Is it network connectivity issue or what?

Kindly provide me the solution for the issue as the earliest.

Is there any possibility to write a batch file to add the printer automatically scheduling the task.

Dear Friend
As per the problem faced by you regarding the sharing of printer and files.so i think you are facing a problem related to networking.First check the system from which you need to take the print as there may be a case of firewall settings or antivirus related issue or whether the printer and file sharing option is not enabled.you try to resolve the problem by checking all this thinks.i am waiting for your responce regarding this.

as a note, in addition to the things said here, if you find that adding what should be the proper driver results on odd behavior or even a total lack of functionality, consider completely cleaning your print spooler drivers out. this can remove driver fragments that may be messing your printing system up. this may not be what your issue is, but it is an option worth trying if you must. note that uninstalling all printers from this machine as described below is necessary to ensure that the faulty drivers are removed, even though only one printer may be manifesting problems.

firstly, you must disconnect all printers from this machine. you must then uninstall all printer related software, up to and including ALL printers installed on that machine, even other printers which work great. uninstall all of their software programs too, if applicable. run the cleanspl.exe tool as described here:

this tool is available from the Windows Server 2003 Resource Kit but is applicable to Windows Vista/XP as well.

having uninstalled all drivers and softwares associated with any and every printer on this specific server or workstation, run cleanspl.exe as detailed here and reboot.

after the reboot has completed, run cleanspl again, then reboot, and on the next reboot, reinstall the requisite printer drivers and then printers again. please source your drivers from the manufacturers directly in this case. obtain all drivers from the manufacturer at this time because a local installation source may have become corrupt in this case, leading to this problem.

this may not be your situation and may not assist you, but it is worth consideration if other, simpler techniques have failed. also perhaps consider attempting an installation of these pcl6 drivers (as described in other posts) on first this computer, then if that fails, try another computer, that has had the drivers cleaned out of it as i describe (perhaps a spare or test machine), but make sure the test machine has the same IP as the problem machine had before you disconnected it to test with the test machine. this assumes that this is possible, of course. for all i know this workstation may be highly critical and cannot be disconnected for any length of time. i hope this is not the case. should you use the test machine, if you have one in a 'fresh' state, you may save time by doing this quick 'wipe and reinstall' (described above) printer spooler test, but without the need to return all the other necessary printers to their installed state.

the issue could be a driver-based issue but as a result of different OS versions; am also experiencing these problems which started after we introduced win vista to our network. If you are using an earlier model printer installed on latter version of OS(e.g win XP) earlier version OSs may have issues connecting with the printer/PC after after a while. I got a sugestion from a colleague who says if I configure my network switches that the problems would be resolved. From experience if there are updates waiting to be installed I do experience this issue but ones I install the updates all print jobs in the queue starts rolling out.

If the PCs are both the same OS, one thing that can help is to have the the 'connecting' user also listed as a user on the PC (and the password must be the same on both). Since everyone is admin in your environment, that probably isn't terrible.

If the PCs are on different OS's. probably the 'least headache' fix is to get a print server. There are some as cheap as $40USD and this makes connection OS-agnostic ... which eliminates the security headaches. There are also, now, USB switches that let you connect two PCs to one USB printer without having to worry about IP addressing.

i have cyber cafe and it is a normal thing that when the system says that
printer spooler services is not runnig then just go to the microsoft page
and query that my printer spooler servies in not running then microsoft give
u a software just download it below 10 mb and run it on machine when it runs
your system ready to attched printer ans spooler services is running
...........................

Not a good idea. It's like replacing a blown fuse with a nail. Assuming that the Print service is set to auto start, this means that here is a problem that is causing the print spooler to crash. The OP Needs to find out the cause. Most likely it is a bad printer driver.
Regards,
Hank Arnold
Microsoft MVP
Windows Server - Directory Services
http://it.toolbox.com/blogs/personal-pc-assistant/

The problem is really very simple. The computer that has the printer installed locally must be on and logged in to your network and remain so for the entire time that anyone is sharing it. If you start one of the other workstations first the printer is unavailable on boot up because the print 'server' isn't there. Starting the computer with the printer does no good at this point. If you restart the computer that has the printer locally attached for freeing resources or installing software it disconnects everyone else's printer connection until they restart. Try starting the computer with the printer locally attached and then restarting the workstations one at a time to connect. The real solution is to attach the printer with a printer network adapter of some kind instead of attaching it locally to a PC and then sharing it.

First of all, it is *NOT* "normal" for the print spooler to crash. Period. 99% of the time it is due to a bad printer driver that is the cause.

Second, you can't attach files to these posts. You need to insert a hyperlink.

Third, you need to justify to us why anyone should run a program on faith. We need to know the source and what, exactly, it does.
Regards,
Hank Arnold
Microsoft MVP
Windows Server - Directory Services
http://it.toolbox.com/blogs/personal-pc-assistant/

That's right, if your printer is a USB type, get a LAN adapter that will
connect it to the Ethernet. This way, any computer that is connected to the
LAN can have access to that printer, or as many printers as you can plug
into that adapter. You can also get a wireless printer, which can be
accessed by any wireless computer, giving you the same results. Also, a
printer that is LAN accesseable via a cable to the router can also be
accessed anytime, without being necessary for another computer to be "on".
That should eliminate all those error messages that you've been getting.

Agree with Dan -- you are talking about a print server, not a LAN adapter. You can get standalone models OR some routers or NAS devices have a print server built in. These do require configuring, but I've found them a great solution once installed. remember, if you do these, you will need to install the full driver set and spool on the local machine. Ironically, that can help mitigate some of the wireless networking problems with wireless printers (especially the lower cost ones).

Dear,
Please Check for the Computer Browser Service
IN my Last Job I face the same problem, and because of virus it Stops the Computer Browser Service, and when it blocks no network activity can be done except ping,
and then I found whenever my all services goes block only one service on back end stops and that is Computer Browser, when I start this service all the problems vanished,

so Scan Your Print server for Viruses and ensure at the time computer Browser service is running or not.

Dear
What the Complete issue is described by shows the Problem of Computer Browser,
Might be issue of Printer Driver but when you are in Problem also check for that Service and you will be cleared for Driver Issue or Service issue
it is more sufficient to check the services firstly then reinstall the driver

Ya. I think Uppal is right.
The problem is OS related, not network.
Check about all services. Check for virus. Try with several antivirus, after one another.
If it didn't solve, repair your OS. (Remember, this is the final step. IT professional should solve the problem, specifically.)

Copyright 1998-2015 Ziff Davis, LLC (Toolbox.com). All rights reserved. All product names are trademarks of their respective companies. Toolbox.com is not
affiliated with or endorsed by any company listed at this site.