Still Cannot Add Network Printer - Access Denied

K

Kerry Brown

I posted to another similar thread in the
microsoft.public.windows.vista.networking_sharing newsgroup. I tried to
duplicate your problem and couldn't. I used an IBM 4019 laser hooked up to
the LPT1 port on a XP Home SP2 computer. I was able to share the printer
then connect to it from a computer running Vista Ultimate RC2 no problem.
Both computers were using the default network settings. I right clicked on
the printer in XP and picked share this printer. When asked I didn't run the
network wizard and picked just share the printer. In Vista I picked add a
new network printer. It didn't find the printer initially so I picked browse
then typed in the unc path to the printer. e.g. \\XPHomePC\IBM4019L Vista
then found the printer and was able to print to it. I didn't have to change
any security settings on either computer.

If you are using a USB printer then it is quite common to have problems
sharing it particularly if the computers are running different OS's. You may
also be running into a problem with printers that don't have native Vista
drivers trying to install drivers from the XP Home computer. Have you tried
sharing a printer that has native Vista drivers?
 
G

Guest

Problem is there aren't any vista drivers for a Lexmark X1185 AIO. Also I
tried the IRPStack size solution and it didn't work either. I'm at a loss
here. i'm just wondering if it would be easier to hang the printer off the
Vista machine and share it that way. Problem is i don't think the scanner
drivers will work.
 
G

Guest

Question number 2:
What's the post entitled Kerry? I searched the whole newsgroup. I must be
blind or something.:)
 
K

Kerry Brown

With some "all in ones" the scanner will work with the built in Scanners and
Camera control in the Control Panel.
 
G

Guest

Ok, here's where we stand now. I found this amazing little program called
simply "File Security" and installed it on the XP MAchine. I then located
the Printer Share through said program, (it actually turns out it's a folder
under system32, spool\drivers,) and set the permissions on that folder so the
"Everyone" acct had "Full Control." and as they say in french VOILA!!! Vista
stopped giving me the access denied error andactually copied the drivers
Directly from the XP Machine with no problem.

Now, a new problem has occured!!! I can see the printer, I can even see the
printer properties through Vista But the Vista Machine won't even print a
test page. The document goes to the local printer q. but it just sits there
and never prints on the shared printer. Here's where it gets weird, I open
up the print que on the XP machine and there is no document there. I try to
right click on the printer on Vista and cancel all documents and I get that
wonderful error Access Denied again!!! It's almost as if the Vista sees the
printer but doesn't "see" it. Vista seems to connect just fine but there's
no actuall connection there for sharing files. I'm wondering if it's because
Vista possibly uses different ports for F&PS than XP and the firewall on XP
is blocking that particular connection. ARRRGH!!! What a mess!!!
 
G

Guest

Hello, just wondering whether you have access to the printers now. I just did
it today, in spite of the mixed suggestions I was given before. I just shared
my printers on my own PC first, then went to the other PC and it found them
automatically. I just had to click ok for both of them to be added onto the
new pc.

Chantal
 
M

MR Harrington

WOW that's all I can say...it works....and the problem is XP Home vs.
Pro...I would never have thought of creating a local printer and using the
UNC path for the port....how incredible ingenious...Microsoft could not
survive without people like the author below figuring out how to make their
software work in spite of M$ best efforts...
--MRH
 
A

Alan Morris [MSFT]

Thanks for posting this. I am pretty sure it was enabling the guest account
that got this going. The Network tool that you run when setting up your
network is supposed to activate this account (if you selected sharing files
or printers)

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

gladiator said:
This is absolutely amazing. A bit after posting the previous, I resumed
my attempts to resolve the issue. Finally, after 56 days, It works.

Here's what I did...unfortunately, two things were involved at the same
time and I am not sure what about the combination fixed the problem, but
I AM SURE one of the two parts is an absolute requirement.

First, I noticed on the XP Home printer sharing machine, in the
printers folder were TWO "printers" pointing to the LPT1 port. This
happened along the way when I re-ran the Samsung print driver install
exe again to be sure I had the very latest driver. That put the second
printer into the folder. So I had two, one named PRINTER (I had renamed
that one long ago from whatever it was initially) --also shared as
PRINTER. This was the one I had been trying to connect to. The second
one was named SAMSUNG and was shared as SamsungM.

Second, in reading somewhere tonight (sorry I don't remember where) I
read that XP sharing was always done internally using the 'guest'
account.
(Web search for [xp sharing "guest account"] and you can read about xp
sharing.) It described a method of activating the guest account
without having it appear on the login page, namely, to enter at a
command prompt:

*net user guest /active:yes* (no spaces in the /active:yes)

I did that.

Went to the Vista machine, opened properties for the single printer
there--named however the Samsung installer did it, and

clicked the Ports tab,
Add Port,
selected local port type,
typed in the \\printservername\sharename (*\\owner-HP\SamsungM*)
clicked the "OK"'s

and it took it!!! I did not get the "Windows cannot connect to the
printer. Access is denied" message like all the times before! Printed
a doc. It worked! Hallelujah! I said a prayer of thanks.

To help isolate what fixed it, I went back to the XP machine and
inactivated the guest account (net user guest /active:no). Vista
machine would not print. "net user guest /active:yes" on the XP
brought printing capability back.

Summary: I do not know what role using the second printer installation
had in this (it should have been identical to the first one), but I am
convinced that the guest account MUST BE ACTIVATED as part of the
solution to this issue.

Also, bear in mind I have done many unsuccessful things over the past
56 days, and some of those I did not back out, like changing
permissions on the spool folder and contents. It is conceivable one or
more of the other changes I made played a part in the ultimate success.
I'm saying I don't guarantee that the net user thing is all that is
required for the fix, but I am sure it is a necessary part.


--
gladiator
------------------------------------------------------------------------
gladiator's Profile: http://forums.techarena.in/member.php?userid=28744
View this thread: http://forums.techarena.in/showthread.php?t=596954

http://forums.techarena.in
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top