Disable LPT1 script

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jamie (anonymous_at_discussions.microsoft.com)
Date: 02/10/04


Date: Tue, 10 Feb 2004 06:33:23 -0800

I have an old dos app that prints to LPT1. I need to
allow a couple of WinXP PC's to map the print port to
LPT1. This is easy if the user is loging on locally (net
use lpt1: \\server\printer) but they are loging in using
their domain account.

I have read the following MS article but I dont really
understand it:
http://support.microsoft.com/default.aspx?scid=kb;en-
us;313644

I have downloaded Devcon and I can use it as desired when
logged onto the XP machine as local account with admin
rights (devcon disable *PNP0401). But I cant get it to
work in a group policy startup script. I have created an
OU with the relevant XPmachines in it. But I'm not sure
what to put in the script or where to locate the
devcon.exe for the script to work correctly.

Anyone got any ideas on this?



Relevant Pages

  • Re: DOS Printing from Windows Server 2003 TS?
    ... TS2003 you wont be able to print to LPT1 if you are not an administrator. ... We have a customer who is still using and old DOS version of software ... them to move to the Windows version). ... could not find anything except a Kixstart script. ...
    (microsoft.public.windows.terminal_services)
  • Re: Mapping Lpt1 to an active directory printer object
    ... There is a utility called sanur that will let you script the RUNAS utility ... > output to the printer port LPT1. ... > Admin logon in mid script it will not complete the assignment it says ...
    (microsoft.public.win2000.active_directory)
  • Re: Netzwerdrucker zuweisen und umleiten auf LPT1
    ... OK somit kann ich den Netzwerkdrucker per LPT1 ansprechen. ... >> Ich habe ein vbs script mit dem ich den User die Netzwerkdrucker ... >> zugewiesenen Netzwerkdrucker beim User auf den LPT1 port mappen. ...
    (microsoft.public.de.german.scripting.wsh)
  • Net Use lpt1 not working?
    ... I am trying to make a net use script to add a printer that is attached ... faxes listing. ... and selecting connect, ...
    (microsoft.public.windowsxp.general)