Question Locked

Cannot remove printer share name

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

Our print server is Windows Server 2k3. I removed a shared printer from the print server before unsharing it. Now I want to create a new printer and give it the same name but can't because the share name still exists.

How can I remove the share name from our print server?

9 replies

by ashij

Hi! Kin,

does a "net share" command on the command prompt show the old printer listed as shared still?

if it does then a:
net share /DELETE
command should do the trick.

let me know if this works

AJ

by kin_mche

I tried your suggestion and it didn't work. got a "System error 1801 has occurred. The printer name is invalid." I still see the name listed as a shared printer when I do a net share but it's not listed in Printers and Faxes.

by kin_mche

Is there anything else I can try? I really appreciate it. Thanks.

by jbradcrook

Share the printer with a different name. Stop the spooler and open regedit. Go to "HKLM\System\CurrentControlSet\Control\Print\Printers\"
Change Share Name key to name you want. Go to "DsSpooler" and change all the names to the name you want. Close regedit and restart spooler. To be sure I would then unshare properly and then reshare.

by kenone

Exit all the add printer stuff
Open regedit, and go all the way to the top of the tree. Click once on "My Computer", then select "Edit", and then "Find", and type in the SHARENAME (Looks like \\computername\SHARENAME\
You should find a few entries under a lanmanserver key (six I believe), and under a print key.
Then you will need to stop, and then start "Computer Browser" in services.
Now you can add a new printer with the same name.

by kin_mche

Sorry I didn't post results. I had to restart the server. I didn't want to initially. I tried the the solutions recommended but I couldn't remove the share without restarting the server.

by Former member

Please post back if you have any more problems or questions.

This discussion is closed to new replies.