Re: Disable LPT1 script

From: Lanwench [MVP - Exchange] (lanwench_at_heybuddy.donotsendme.unsolicitedmail.atyahoo.com)
Date: 02/10/04


Date: Tue, 10 Feb 2004 11:24:45 -0500

I guess I'm confused why they can't use the net use command while logged in
using their domain account - even with regular local user permissions, this
should work just fine. Can't you just put it in these users' login scripts,
or even just a batch file in their startup folders? If you try to run that
command manually from their computers while logged in as them, what errors
do you get?

Jamie wrote:
> 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: Logon Scripts over VPN connections
    ... What we do is to have the user cache his domain password on the computer by ... He then logs on to his domain account in order to establish ... log in again exactly as if he were connected to the network. ... However when I try to run a logon script to map ...
    (microsoft.public.scripting.vbscript)
  • Re: Encrypting VB startup script
    ... If all computers are members of the domain, and you have a domain account ... (any domain administrator member by default), you can script this remotely ... need to have access to whatever software you use to encrypt the script so ...
    (microsoft.public.windows.server.active_directory)
  • Re: Scheduler "Path not found" err - More info
    ... If you log in as that domain account, can you manually do the things you ... Steve Morgan wrote: ... > being used in my err logs and scheduler is runing the job under the ... > The script tries to connect to 2 locations, ...
    (microsoft.public.scripting.vbscript)
  • Re: Join computer to a domain
    ... I'm not sure of the script or its effects, ... domain account specifically for domain joins. ... and, while you can change the number of machines a regular user can add, I ... > Should I create a special domain account for this script and where would I ...
    (microsoft.public.windows.server.scripting)
  • Re: Copy file to remote PC
    ... You need to run your program in a domain account with appropriate privileges to access the remote share. ... If you don't run in a domain account, you will have to create a logon session ) and impersonate a domain account. ... For instance when you issue following command: ...
    (microsoft.public.dotnet.languages.csharp)