Announcement

Collapse
No announcement yet.

Net unuse not working with XP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Net unuse not working with XP

    NET USE works with capturing printer ports.
    NET USE LPT2: \\MACHINENAME\PRINTERSHARE /PERSISTENT:YES
    Can't get NET UNUSE to work with XP.
    Anyone have the correct command line?
    NET UNUSE LPT2: does not work
    NET UNUSE LPT2 does not work

    Solution:
    NET USE LPT2: /DELETE

    Note: Never capture to yourself. It works with XP without an error and nothing will print after doing it.
    In previous versions this might have produced an error.
    Last edited by Mike Doty; 28 May 2008, 11:55 AM. Reason: Found solution
    How long is an idea? Write it down.

  • #2
    Originally posted by Mike Doty View Post
    Note: Never capture to yourself. It works with XP without an error and nothing will print after doing it.
    In previous versions this might have produced an error.
    It at least does work in W2K and is a trick that we used when having something like a USB-printer installed at a machine. but a program that only supports printing to LPTs (like a DOS program).

    Solution: share that USB printer, than capture LPTx to the share and print to that LPT.

    Comment

    Working...
    X