HostWeb Forums » Microsoft Server Operating Systems » microsoft.public.win2000.group_policy » Re: Login script

Topic: Re: Login script

Reply | New Topic | This is SPAM | This is Offensive

Submitted: 5/23/2008 8:47:44 PM

By: ShayL

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 ↓
Contents
Home
Forums
About Us
Contact Us
Web Hosting:
Hosting Providers
How to choose a name
What is a Hosting Provider
Hosting Types
Choosing the right plan
 
Search
 
Login to HostWeb.com
Email
Password
If you do not have an account with us yet, join now - it's FREE!