Discussion Locked

How do I remove a shared resource, i.e.

0 helpful
15 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I currently have a Win NT 4.0 server set up to act as my network's printer server. While installing two of my shared printers I named them incorrectly. I deleted these two printers from my Printers directory, but I am unable to remove them from my Server Manager's list of shared resources. These two printers continue to be shown as available when my clients (running Win 95) go to install printers on their local machines. This causes confusion for my users and headaches for me. I have searched the reg istry on the server for the printers' names, hoping to be able to delete them at some root level, but have been unable to find any references to them. I have tried to recreate the resources and the shares, so that I can delate the share first,but I am unable to re-use the shares' names. I am using both HP JetAdmin and Axis's NetPilot, but these two printers do not show up within these pro grams. Does anyone know how I can delete these shared resources?

15 replies

by mark_lt

re-install the printers and shares, then remove the shares first, then remove the printers.

by h lucas

I am unable to create a new printer the same name as the old, since the server thinks the old one is still there.

by h lucas

The problem printer shows under Net Share, but when I try to delete it with "net share %printername% /delete" it returns that a "system error 1801 has occurred".

by Member 35772270

Have you shutdown your system since you deleted the shared printers. By shuting down for a few mintues they should not reinitialize when you power back up. Have you deleted the port that they were installed on?

by h lucas

I shut down and re-started the server many times but the deleted printer(s) remain. I am unable to access the ports from existing printers. The ports are "in use" by the deleted printer.

by ravi

Dennis is right in that you have to delete the port. Hightlight the printer and click on properties and then ports and delete the port the printer is attached to. If you have some print jobs on the queue for this printer you have to delete them first. HTH.

by h lucas

The printer involved is already deleted. I am unable to delete the port from another printer's setup screen because it is "in use".

by keith.billy

If you haven't already done so try the following steps. After each one check to see if you can re-install the printer.

1. Stop and restart the print spooler service.
2. Restart the server.

If the above doesn't correct the problem you probably need to delete some entries in the registry.
Using regedt32, check in the following registry location to see if the printer is still showing as installed, even though it's not showing in the printer control panel.
The printer share name is located in the data contained in each "printer-name" key.
HKEY_LOCAL_MACHINE, SYSTEM, CurrentControlSet, Control, Print, Printers.

Microsoft Q102996 lists all of the registry entries for printers.

by h lucas

Restarting the print spooler service did not remove the deleted printer from the list available to my clients. I can not find printer in question anywhere in the registry, including the location mentioned.

by gutridgesj

i dont think i understand what the real problem is, but to make a shared printer on nt, you do it in the control panel, printers just like any other printer. to remove it the share, go to the properties of the printer remove the share. remove the printer. if you want it out of the browser, reboot the server and wait a few hours before putting it back.

This discussion is closed to new replies.