1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Access is denied in a DOS window under XP SP2 when you copy a file to a UNC Printer

Discussion in 'Networking' started by a.kennedy, Feb 10, 2005.

Thread Status:
Not open for further replies.
Advertisement
  1. a.kennedy

    a.kennedy Thread Starter

    Joined:
    Feb 10, 2005
    Messages:
    7
    When in XP SP2 I go to a CMD prompt and I try to copy a file to the UNC Printer Share on the directrly attached printer on LPT1 and I get "access is denied" error message. But if I copy the file to the >LPT1 port it works fine.

    The EPSON LX-300 dot matix printer is directly attached to a XP SP2 pc via a parrallel cable LPT1. It is also shared. \\OST-Recp\Receipt
    It works fine when connected to a XP SP1 pc so I'm assuming it's a SP2 issue.

    When I type this at a command prompt
    copy test.txt \\ost-recp\receipt I get access is denied

    When I type this at a command prompt
    copy test.txt >LPT1 it works fine.

    Regards
    AK
     
  2. squidboy

    squidboy

    Joined:
    Dec 29, 2004
    Messages:
    403
    Any particular reason you double posted this in two different forums? You know that's bad form, right?
     
  3. a.kennedy

    a.kennedy Thread Starter

    Joined:
    Feb 10, 2005
    Messages:
    7
    It's my first time posting onto any forum and I wasn't sure I had posted it into the correct forum.
    My bad. Sorry.
     
  4. squidboy

    squidboy

    Joined:
    Dec 29, 2004
    Messages:
    403
    It's ok, we want to help...trust me <G>. I just don't want to see double-work being done to assist you as this causes confusion.

    I'll try to ask one the excellent moderators to consolidate this.
     
  5. a.kennedy

    a.kennedy Thread Starter

    Joined:
    Feb 10, 2005
    Messages:
    7
    Thankyou. I deleted the other post in the other forum.
     
  6. Bob Cerelli

    Bob Cerelli

    Joined:
    Nov 2, 2002
    Messages:
    22,468
    Just tested this on two XP computers, both with SP2, and a locally attached parallel printer that is shared. Printing to the UNC share worked fine on both computers. So it is not an SP2 issue.

    Does the user have access to that share?
     
  7. a.kennedy

    a.kennedy Thread Starter

    Joined:
    Feb 10, 2005
    Messages:
    7
    Yes this user has full admin rights. I have also logged in as the administrator localy and the domain administrator.

    Well if it worked fine for you it might be a group policy issue. Could that be possible?

    Did you use an Epson LX-300?
     
  8. Bob Cerelli

    Bob Cerelli

    Joined:
    Nov 2, 2002
    Messages:
    22,468
    Haven't done anything special with group policies on either computer. I tried it on two different printers. But don't have every one out there. If you really think it is a problem with that specific printer, you might try swapping it. But generally it is not a printer that gives an "access is denied" error message.
     
  9. a.kennedy

    a.kennedy Thread Starter

    Joined:
    Feb 10, 2005
    Messages:
    7
    I have changed dot matrix printers and still no go.

    If I type this it works fine (from the cmd.exe window)
    c:\>copy text.txt >lpt1
    This prints

    But if I type this
    c:\>copy text.txt \\ost-recp\receipt
    It replies "Access is denied." 0 file<s> copied.

    I am logged in as the administrator of the domain who is also a member of the Local admin group.

    I have also given the System32 spool folder full admin rights.
    I'm running out of ideas.......
     
  10. a.kennedy

    a.kennedy Thread Starter

    Joined:
    Feb 10, 2005
    Messages:
    7
    I fixed it.

    All I did was delete the printer and reinstalled it and it decided to work.

    Thanks for your help to date.

    To be honest I think it had too many users under the security tab of the printer.
    It now only has the default settings from when you first install a printer.
     
  11. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/329112

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice