Re: How to get notified when a PC disjoin from the domain
- From: "Rayees" <rayees@xxxxxxxxxxxxxxxx>
- Date: Thu, 26 Jul 2007 10:48:03 +0530
Thanks to all for your valid inputs
My challenge is, I Don't have MOM at this moment, in this situation I think
I must use some script (until we buy MOM)
I'm not too good in scripting, if someone have a piece of code to do this
and share the same!!, that will be really good for me.
Thanks to Rob for that Email code
Regards
Rayees
""Ken Zhao [MSFT]"" <v-kzhao@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:z63EvhyzHHA.4200@xxxxxxxxxxxxxxxxxxxxxxxxx
Hello Rayees,
Thank you for using newsgroup!
I'd like to thanks for all guys' great information sharing. Based on my
knowledge, MOM will log this event when the client disjoins domain.
Thanks & Regards,
Ken Zhao
Microsoft Online Support
Microsoft Global Technical Support Center
Get Secure! - www.microsoft.com/security
<http://www.microsoft.com/security>
====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
| Thread-Topic: How to get notified when a PC disjoin from the domain
| thread-index: AcfO4fzEauSA49A7SyeYEknlG8HYqQ==
| X-WBNR-Posting-Host: 207.46.192.207
| From: =?Utf-8?B?Um9i?= <Rob@xxxxxxxxxxxxxxxxxxxxxxxxx>
| References: <#ZuXq3rzHHA.3600@xxxxxxxxxxxxxxxxxxxx>
| Subject: RE: How to get notified when a PC disjoin from the domain
| Date: Wed, 25 Jul 2007 10:34:00 -0700
| Lines: 47
| Message-ID: <D509BB7F-78F2-40E7-BB93-6C8C2059B7D8@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826
| Newsgroups: microsoft.public.windows.group_policy
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.windows.group_policy:4773
| NNTP-Posting-Host: tk2msftsbfm01.phx.gbl 10.40.244.148
| X-Tomcat-NG: microsoft.public.windows.group_policy
|
| You can use the following code for sending email using a script:
|
| Set objEmail = CreateObject("CDO.Message")
|
| objEmail.From = "youremail@xxxxxxxxxxxx"
| objEmail.To = "1staddress@xxxxxxxxxxxx;2ndaddress@xxxxxxxxxxxx"
| objEmail.Subject = "Put subject here"
| objEmail.Textbody = "Put body of message here, you could use a variable"
|
| objEmail.Configuration.Fields.Item _
| ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
| objEmail.Configuration.Fields.Item _
| ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = _
| "smtp.nuvox.net"
| objEmail.Configuration.Fields.Item _
| ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") =
25
| objEmail.Configuration.Fields.Update
|
| objEmail.Send
|
| As for monitoring the active directory I would look at the event logs
but
| it's been over a year since I've written anything for that. I'll look
through
| some old files but don't hold your breath. :)
|
| Rob
|
|
|
| "Rayees" wrote:
|
| > Hi
| >
| > I would like to know how to acheive the following
| >
| > 1. When a user/administrator disjoin a PC from the active directory.
As a
| > overall enterprise admin I would like to know the same.
| >
| > 2. When such incident happens (disjoining the PC from the domain)
happens
| > anywhere in the forest I would like to get an email through smtp.
| >
| > Please help me out on how to acheive this
| >
| > Regards
| > Rayees
| >
| >
| >
|
.
- Follow-Ups:
- Re: How to get notified when a PC disjoin from the domain
- From: Roger Abell [MVP]
- Re: How to get notified when a PC disjoin from the domain
- From: "Ken Zhao [MSFT]"
- Re: How to get notified when a PC disjoin from the domain
- References:
- How to get notified when a PC disjoin from the domain
- From: Rayees
- RE: How to get notified when a PC disjoin from the domain
- From: "Ken Zhao [MSFT]"
- How to get notified when a PC disjoin from the domain
- Prev by Date: Re: How to know if a MSI is installed in a computer via GPO
- Next by Date: Re: How to assign application to computer
- Previous by thread: RE: How to get notified when a PC disjoin from the domain
- Next by thread: Re: How to get notified when a PC disjoin from the domain
- Index(es):
Relevant Pages
|
Loading