Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Windows cannot connect to the printer. Access is denied.

53 views
Skip to first unread message

Alan Morris [MSFT]

unread,
Mar 27, 2007, 11:05:18 PM3/27/07
to
Can you open the remote machine and open the remote printers folder? Is the
shared printer listed?
(you may need to add the Run verb to the Start menu) Start, Run,
\\XPMACHINE

from a command line what is the result when you request the directory
contents on the XP machines print$ share?

dir \\XPMACHINE\print$

--
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.

"Steve" <St...@discussions.microsoft.com> wrote in message
news:0C87D613-50CA-4170...@microsoft.com...
> I'm trying, desparately, to print from my Vista Home Premium laptop to a
> shared printer on my home wireless network. The shared printer is
> connected
> to an XP Home machine. That machine is hard-wired (via a LAN cable) to
> the
> wireless router. I can "see" the printer I want to use but when trying to
> connect to it, I get the error message "Windows cannot connect to the
> printer. Access is denied." I'd be grateful for any help.
>
> Kind regards.
> --
> Steve


Alan Morris [MSFT]

unread,
Mar 28, 2007, 1:35:43 PM3/28/07
to
The client machine must have read access to the XP share in order to obtain
the driver files for the printer. This is why you are getting the access
denied error, Because the XP machine is denying access to the Vista
machine. You will need to reconfigure the XP machine to allow this.

--
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.

"Steve" <St...@discussions.microsoft.com> wrote in message

news:322D4EA4-0EC9-4ACA...@microsoft.com...
> Yes, Alan, I can open the remote machine and the remote printers folder.
> The
> shared printer is listed.
>
> From a command line, when I request the contents of the directory on the
> XP
> machine's print$ share, I get the sentence "Access is denied." Thanks for
> your interest.
> --
> Steve

Steve

unread,
Mar 28, 2007, 4:32:00 PM3/28/07
to
The XP machine is configured to allow access to the Vista machine. I can
access shared files on the XP machine from the Vista machine. I have loaded
driver files onto the Vista machine but that did not improve the situation.
Thanks for you input, though.

Alan Morris [MSFT]

unread,
Mar 28, 2007, 11:04:46 PM3/28/07
to
You do not have access to print$. You will not be able to get the driver
files from the XP machine until that is resolved.


--
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.

"Steve" <St...@discussions.microsoft.com> wrote in message

news:92E03624-444B-4A33...@microsoft.com...

Steve

unread,
Mar 29, 2007, 12:32:00 AM3/29/07
to
Precisely--which brings us full circle. At this point, I do not believe that
the problem lies with the configuration of the XP machine. I believe it to
be a flaw within Vista and I'm simply trying to find a workaround.

Alan Morris [MSFT]

unread,
Mar 29, 2007, 12:46:32 PM3/29/07
to
Does the Everyone group have read access to the print$ share on the XP
machine?

Computer management / System Tools / Shared Folders / Shares

find the print$ share, right click properties, Share Permission

also verify that the directory points to c:\windows\system32\spool\drivers
(I assume XP is installed on C: this will be different if the install is not
default).

If Everyone is there make sure you have enabled the guest account on the XP
machine


--
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.

"Steve" <St...@discussions.microsoft.com> wrote in message

news:83E3B14C-C3E4-441B...@microsoft.com...

Steve

unread,
Mar 29, 2007, 5:16:00 PM3/29/07
to
I had mentioned, I thought, in previous posts that I can print on the shared
printer from another XP machine on the network. I just can't print from a
Vista machine.

Apparently, I do not know how to get to a security page on the XP machine
that has "Everyone" on it. When I go through computer managent/system
tools/shared folders/shares and right click on print$ I get two options:
"Refresh" and "Help". Right clicking on anything further up the tree yields
"Help" or "New Window From Here."

There do appear to be drivers at the windows\system32\spool\drivers location.

Thanks.

Alan Morris [MSFT]

unread,
Mar 29, 2007, 6:04:52 PM3/29/07
to
Since the XP machine is HOME I do not think the permissions dialog is
accessible.

Run the XP Network Sharing Wizard again and see if this sets the security
properly on the share.

Is the printer you are sharing one that has inbox XP drivers?

In the meantime let's at least get the printer working for you.

Create a Local Printer on Vista, Create a Local Port in the form
\\XPMACHINE\Printsharename (this will send the files using the redirector
rather than the RPC service). Install the Vista driver for the device.

You can print because print$ access is only needed for the print drivers.

--
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.

"Steve" <St...@discussions.microsoft.com> wrote in message

news:2BEDE6A3-A4A2-4C84...@microsoft.com...

Steve

unread,
Mar 30, 2007, 6:30:01 PM3/30/07
to
Thank you, Alan. I can finally print from the Vista laptop to the shared
printer on the XP machine. One down, one to go, I guess.

I did run the Network Setup Wizard again on the XP machine. The Vista
machine still has no access to the printer that way. Interestingly, in
Network Places, I clicked on the link to show computers in the network and
got a message that said: "MSHOME is not accessible. You might not have
permission to use this network resource. Contact the administrator of the
server to find out if you have access permissions. The network path was not
found." I have no idea what the heck this means. The XP machine that
yielded that message is the administrator machine and I'm its operator. Go
figure.

Collins@discussions.microsoft.com Andy Collins

unread,
Apr 11, 2007, 2:48:00 AM4/11/07
to
Thank you, Alan. My problem description matched Steve's exactly. Your
solution worked perfectly. My printer is a Brother HL-5150D laser. No one
at Brother or Gateway had any idea how to resolve this very frustrating
problem. Thanks for the fix.

gm1936

unread,
Aug 3, 2007, 12:26:01 AM8/3/07
to
Thanks Your fix worked for me Ive been trying to fix this for days

raycnh

unread,
Oct 2, 2007, 1:54:48 PM10/2/07
to

I have the same issues. What steps must be taken on the XP machine to
allow the read access to the printer share?


--
raycnh

Alan Morris [MSFT]

unread,
Oct 3, 2007, 1:06:33 PM10/3/07
to
If you have Pro you can do this in the explorer process on the print$ share.

If you have Home, run the Network setup wizard and verify the Guest account
is enabled.

--
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.

"raycnh" <raycnh...@no-mx.forums.net> wrote in message
news:raycnh...@no-mx.forums.net...

gaby

unread,
Feb 3, 2009, 7:16:02 PM2/3/09
to
I have a similar problem but my printer is conected to the machine with vista
and I can't print from a machine with xp, please help

Alan Morris [MSFT]

unread,
Feb 3, 2009, 7:58:05 PM2/3/09
to

run the Network Configuration Wizard on XP.

make sure the machines are joined to the same workgroup

if you have user accounts one machine, make sure the same users and same
passwords exist on the other machine.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:

http://support.microsoft.com/search/?adv=1

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

"gaby" <ga...@discussions.microsoft.com> wrote in message
news:6355ADD7-A570-47DC...@microsoft.com...

Philip Kuffner

unread,
Feb 9, 2009, 12:50:02 PM2/9/09
to
I have a Vista Home comp and Vista Laptop and I get the same messag I tried
the following Create a Local Printer on Vista, Create a Local Port in the
form
\\XPMACHINE\Printsharename (this will send the files using the redirector
rather than the RPC service). Install the Vista driver for the device. Got a
error saying the the network path was not found

Alan Morris [MSFT]

unread,
Feb 9, 2009, 12:58:46 PM2/9/09
to
Which machine is sharing the printer?

Did you get the access denied message when performing the

dir \\remote\print$


operation?

if you still get access denied, verify you can view the shares


net view \\remote

this will list the print share and any shared folders.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:

http://support.microsoft.com/search/?adv=1

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

"Philip Kuffner" <Philip...@discussions.microsoft.com> wrote in message
news:0BB0A829-E4DB-46C3...@microsoft.com...

Vista

unread,
Oct 10, 2009, 11:11:01 AM10/10/09
to
If you get 'Access is denied' when you try to set up a Vista PC to a printer
attached to an XP PC on a network this works:

On the Vista machine:
Create a Local Printer ,
Select Local Port
A box pop up for the port name.
Enter:\\XPMACHINE\Printsharename
Install the Vista driver for the device- if you tried to install this
printer earlier the driver is probably already there

Why? I don't know. But it does.

"LJ"<Lincoln@golincs.com

unread,
Nov 8, 2009, 12:53:01 AM11/8/09
to

Thank-you for this support post! As soon I replaced my Home Vista machine
that I was using to share a printer on my home network, the Windows Vista
Home Premium SP1 decided to stop printing. "Windows cannot connect to the
printer. Access is denied." After several hours of trying, all types of
work arounds, including moving the printer to another machine running the
same operating system as its replacement, WIndows XP Home Edition 2002 SP3,
it only took 5 mins to fix the problem after finding this article.

TFCfan22

unread,
Feb 13, 2010, 2:30:01 PM2/13/10
to
Thanks very much. I was having the same issue, only printing from a Windows 7
Ultimate 32 bit PC to an EPSON Stylus C88+ on a Windows XP Home PC. I have
been trying to fix this issue for awhile and called EPSON, who couldn't solve
the problem and told me I had to contact Microsoft. But, this has finally
fixed the promblem.
0 new messages