every now and then (more now than then
) I lose a printer that's configured with a local port to a server. I set that one up with add printer, then local port, new port "\\server\printer". Often when I try to use that printer again, I note it's greyed out, and markes as "Use offline". When I check properties, it's not bound to any port anymore. I can't from that dialog use "add port", because I get a message then, that the port already exists. So I gotta delete that port, and reassign the printer. That is quite annoying, being that this doesn't happen rarely, but more often.
So, two questions: What was the mscsomething command, where I can see created local ports, to delete them? And, how can I stop Windows from losing the connection between that port and the printer?