Re: How to get notified when a PC disjoin from the domain



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
| >
| >
| >
|



.



Relevant Pages

  • Re: How to get notified when a PC disjoin from the domain
    ... My challenge is, I Don't have MOM at this moment, in this situation I ... think I must use some script ... Microsoft Global Technical Support Center ... How to get notified when a PC disjoin from the domain ...
    (microsoft.public.windows.group_policy)
  • Re: How to get notified when a PC disjoin from the domain
    ... My challenge is, I Don't have MOM at this moment, in this situation I ... Microsoft Global Technical Support Center ... How to get notified when a PC disjoin from the domain ... | As for monitoring the active directory I would look at the event logs ...
    (microsoft.public.windows.group_policy)
  • SecurityFocus Microsoft Newsletter #83
    ... MICROSOFT VULNERABILITY SUMMARY ... Microsoft IIS CodeBrws.ASP Source Code Disclosure Vulnerability ... Microsoft Internet Explorer History List Script Injection ... Microsoft Windows 2000 Lanman Denial of Service Vulnerability ...
    (Focus-Microsoft)
  • SecurityFocus Microsoft Newsletter #84
    ... The most critical piece of vulnerability assessment is remediation. ... MICROSOFT VULNERABILITY SUMMARY ... IcrediBB Script Injection Vulnerability ... WorkforceROI XPede Unprotected Administrative Facilities... ...
    (Focus-Microsoft)
  • Re: wmiprvse high cpu usage
    ... We are still running with the script disabled, ... Just today while looking into some other MOM scripting stuff, ... Back to the print server detection script, I have run the print server ... I'm really thinking about disabling the problem script since in theory, ...
    (microsoft.public.windows.server.general)

Loading