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

You can also check for the current logged-on user group membership:

C:\> WHOAMI /GROUPS | find /i "BUILTIN\Administrators"


This is the result on my computer:

[Group 3] = "BUILTIN\Administrators"


---
Shay Levi
$cript Fanatic
http://scriptolog.blogspot.com

> Adding to Pegasus... you can check the %LogonServer% value. If the
> value equels the local computer name then the user is logged-on
> locally.
>
> ---
> Shay Levi
> $cript Fanatic
> http://scriptolog.blogspot.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



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!