"Nicola M" <NicolaM@xxxxxx> wrote in message
news:4BC1BF07-3DFE-4F70-972E-F98546DA5873@xxxxxx
Quote:
> Hi all and sorry in advance for my English.
>
> I wrote a vbs script to manage network printers. This script deletes all
> network printers installed on a client and then install devices indicated
> in
> the script, only.
> It's possible that an user connect printers not listed in the script,
> manually.
> The script is distributed by group policy in a W2K Active Directory
> Environment so it runs at every user logon.
> So: to avoid deleting and installing printers at every logon what do i do
> to
> get script runs once?
>
> Thanks.
> Nicola M
>
Here are a couple options:
- You could invoke it via the RunOnce registry key.
- You could get the script to create a "semaphore" file
to signal that the script has run once before.