HostWeb Forums » Microsoft Server Operating Systems » microsoft.public.win2000.group_policy » Re: Login script
Topic: Re: Login script
One way is to copy a script file to all workstations windows directory and
put a shourtcut to the script (using wscript.exe)
on each computer's 'C:\Documents and Settings\All Users\Start Menu\Programs\Startup'
directory.
The script should echo nothing (dialogs, msgbox's etc) and should have it's
first line set to:
On Error Resume Next
To supress any unexpected errors, that way it will run invisibly.
---
Shay Levi
$cript Fanatic
http://scriptolog.blogspot.com
> "Miha" <miha.bernik@email.si> wrote in message
> news:9A73E8CF-5187-4DE2-82AE-910F857CE42E@microsoft.com...
>
>> Hi
>>
>> Does anyone know or have a script that will send me an email when a
>> user
>> logs into a WinXP computer with LOCAL ADMIN credentials (not with
>> domain
>> credentials)?
>> We're assuming that some of our company users know local admin
>> password,
>> so we want to know if someone tries or logs into his computer like
>> local
>> admin? Is this possible, or how can this be done?
>> Thank you in advance !
>> Regards,
>> Miha
> Further to my previous note: The question I failed to answer is
> WHAT can you use to trigger the script to send you a message.
> You cannot use your domain logon script (since it won't get
> executed under local log-ins) and you probably cannot use a
> local login script (because it would be visible to the user). I'll
> think about this one a little more. Perhaps WMI has a solution.
Replies below ↓