Solved

Unable to delete a shared printer in XP Pro

Posted on 2004-08-16
5
3,764 Views
Last Modified: 2008-03-17
Hey fellas,

I recently replaced a HP LaserJet 4 with a brand new 4200.  The printer is installed locally on a PC and is shared.  Though not the wisest of actions, I did not remove the printer from the PCs that were connected to the share.  One PC in particular is now ofcourse unable to communicate with the new printer, but worse, I cannot delete the printer and free up the printer port to reinstall (this PC runs some DOS apps that require lpt1 be mapped to a UNC address).  I've tried everything I can think of but an error is constantly returned when attampting to delete the printer.  Unfortunately the user is not present so I cannot recreate the error (as network printers are profile spacific) but it is something to the effect of "the printer has lost contact with the print server.  I've toyed with the idea of deleting the users profiel (they're local) and I'm sure that would solve the problem but, there are several unique configurations that are profile spacific that I would much rather not have to recreate.  Any ideas would be greatly appreciated.

Ryan
0
Comment
Question by:FlowMotion
  • 2
5 Comments
 
LVL 5

Expert Comment

by:jmacmicking
Comment Utility
It's a bit drastic but you could always delete the printer from their registry; if you look under HKEY_USERS you should see a list of SIDs present on the PC.  Find the user's SID and open it.  There should be a Printers key.  Delete all references to the printer in question under all sub-keys.  However, please be aware that I don't recommend doing this.  You may end up corrupting the user's registry and end up having to delete the profile.  If you do it make sure you've got everything backed up first.  Don't forget that My Documents and Desktop are both stored in the profile under XP and users have a habit of storing files in both.

It would probably be better to:
  Wait for a time when the user can be there so you can see the error.  Presumably they would like to be able to print so they should be at least somewhat accomodating.  
  Reset the user's password and fix the problem.  I'd get their supervisor's Ok before doing this.  Either let their supervisor know their new password or have the user get in touch with IS to have their password reset again once you're done.
  Open the user's profile under Documents and Settings.  Make sure you have Show Hidden Files turned on and Hide Operating System Files turned off.  Rename NTUser.Dat to NTUser.old.  Copy the NTUser.Dat from the Default User folder (under Documents and Settings) to the User's folder.  This resets all the registry keys to their original defaults.  BE CAREFULL--same cautions apply as above.
0
 
LVL 1

Author Comment

by:FlowMotion
Comment Utility
Heh, maybe i wasn't clear earlier.  I've seen the error on several occasions, i simply didn't have it handy while posting this message.  Having seen the error, i was unable to correct the problem.  Your registry hacking may be an option to consider however.  I'll post my status shortly.
0
 
LVL 5

Accepted Solution

by:
jmacmicking earned 125 total points
Comment Utility
You may also want to give the user temporary status as either a power-user or an administrator of the local machine before trying to remove the printer.  I've never heard of a problem removing printers that was related to local rights but default XP rights cause plenty of problems with adding printers.
0
 
LVL 38

Expert Comment

by:Herman D'Hondt
Comment Utility
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave a recommendation in the Cleanup topic area that this question is:
Accept jmacmicking
Any objections should be posted here in the next 4 days. After that time, the question will be closed.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

hdhondt
EE Cleanup Volunteer
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Causes of paper jams:The following are the main causes of paper jams. Guides:If the guides for the paper are not set correctly they may cause the paper to enter at an angle. You should ensure that the guides are set correctly for the paper type a…
When I recently replaced my image transfer kit on my office HP color laserjet 5550dn printer, I had a slight problem.  The left bracket that holds the transfer kit got stuck in the upright locked position instead of being at a 45 degree angle facing…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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

19 Experts available now in Live!

Get 1:1 Help Now