Net Use LPT1 as restricted user

Posted on 2005-05-17
Last Modified: 2009-11-26
Ok. Basically I have an XP Pro box on an NT4 domain.  I'm trying to setup a user to use an old 16-bit scoring application that requires a printer on LPT1.  I am on a situation where having a local printer is not optional, so what I do is C:\>NET USE LPT1 \\SERVER\SHARE to bind the UNC path to LPT1.  Then I actually add the printer on LPT1 and install the drivers to it appears to be a real local printer.  I can print to the printer from the 16-bit application fine.  Problem solved.


I need to do this as a domain user.  Not a power user, not an Administrator; just regular old user.  The problem is that apparently regular users cannot C:\>NET USE LPT1 \\SERVER\SHARE; probably a security restriction because its binding it to physical hardware I assume.  Is there a way to explicitly define permissions for a regular user to C:\>NET USE LPT1 \\SERVER\SHARE?  I would imagine it has something to do with changing the permissions on LPT1 but I can't seem to find a setting anywhere.  

Mad props to whoever can figure out how to do this.
Question by:dsulli2000
    LVL 63

    Expert Comment

    Actually, you may need to do this in the Security Profile settings rather than the LPT1 setup.

    Run the mmc and check the local security options. you should be looking for parallel port access or similar. I do not have XP in front of me to give more details.

    I hope this helps !
    LVL 82

    Accepted Solution

    Either use LPT2 (if the software allows for this), or use a machine startup script and the devcon utility to disable the physical LPT port:
    Non-Administrators Cannot Remap an LPT Port to a Network Printer
    LVL 82

    Expert Comment

    Well, there's no way to change the permissions to allow a user to map LPT1 if it physically exists, but the KB313644 article has two valid workarounds for this ...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
    Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    759 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

    14 Experts available now in Live!

    Get 1:1 Help Now