<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MCPGuides.com</title>
	<atom:link href="http://mcpguides.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://mcpguides.com</link>
	<description>Guides from Microsoft Certified Experts</description>
	<lastBuildDate>Fri, 10 Jul 2009 23:15:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Generate a report of the &quot;Last Full Backup Time&quot; for all Exchange 2003 Mailbox Stores across the Enterprise</title>
		<link>http://mcpguides.com/?p=79</link>
		<comments>http://mcpguides.com/?p=79#comments</comments>
		<pubDate>Fri, 10 Jul 2009 17:38:38 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Exchange 2003]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[CDOEXM.MailboxStoreDB]]></category>
		<category><![CDATA[LastFullBackupTime]]></category>

		<guid isPermaLink="false">http://mcpguides.com/?p=79</guid>
		<description><![CDATA[Managing a large and distributed Exchange 2003 environment can be a challenging task for administrators, specifically when it comes to staying on top of critical maintenance &#8211; like ensuring that all your Exchange servers are being routinely backed up. Using the Exchange System Manager to check the status of each Mailbox Store for every Exchange [...]]]></description>
			<content:encoded><![CDATA[<p>Managing a large and distributed Exchange 2003 environment can be a challenging task for administrators, specifically when it comes to staying on top of critical maintenance &#8211; like ensuring that all your Exchange servers are being routinely backed up. Using the Exchange System Manager to check the status of each Mailbox Store for every Exchange server in a large environment quickly becomes a time consuming and tedious task that is prone to providing inaccurate results. Hopefully we all have competent Administrators who are local to the Exchange servers in our organization that we can rely on to ensure that each server is being managed appropriately, and monitoring tools like System Center Operations Manager that can help keep us informed of the health of every server. Unfortunately the reality is that we don&#039;t always have the luxury of powerful monitoring tools or competent staff and there are times when we need to farm information to quickly get a snapshot of the health of the organization. To help with this need, we have created a quick and easy solution for Exchange administrators to painlessly gather this data. We accomplish this task by executing two different .vbs scripts to produce a text file that contains the name of every Mailbox Store in the entire forest along with the Date and Time that the last Full Backup was performed.</p>
<p>The first script will walk the entire Active Directory Forest and gather the distinguished name of every Exchange 2003 Mailbox Store, which we will need in order to query the LastFullBackupTime value. Copy the contents of this script into a new text document named &#034;GetMailBoxStoreDN.vbs&#034;.</p>
<blockquote><p>Set objRootDSE = GetObject(&#034;LDAP://RootDSE&#034;)<br />
configurationNamingContext = objRootDSE.get(&#034;configurationNamingContext&#034;)</p>
<p>Set cn = CreateObject(&#034;ADODB.Connection&#034;)<br />
Set cmd = CreateObject(&#034;ADODB.Command&#034;)<br />
Set rs = CreateObject(&#034;ADODB.Recordset&#034;)</p>
<p>cn.Open &#034;Provider=ADsDSOObject;&#034;</p>
<p>query = &#034;&lt;LDAP://&#034; &amp; configurationNamingContext &amp; &#034;&gt;;(objectCategory=msExchPrivateMDB);name,cn,distinguishedName;subtree&#034;</p>
<p>cmd.ActiveConnection = cn<br />
cmd.CommandText = query<br />
Set rs = cmd.Execute</p>
<p>While rs.EOF &lt;&gt; True And rs.BOF &lt;&gt; True<br />
wscript.echo rs.Fields(&#034;distinguishedname&#034;).Value<br />
rs.MoveNext<br />
Wend</p>
<p>Set rs = Nothing<br />
Set cmd = Nothing<br />
Set cn = Nothing</p></blockquote>
<p>Now that we have the first script ready, you&#039;ll need to execute it by opening up a command prompt and navigating to the location where the script resides. Type &#034;cscript GetMailBoxStoreDN.vbs &gt; MailBoxStoreDN.txt&#034; to execute the script and pipe the results to a text file which will be used in the next step to query for the LastFullBackupTime value.</p>
<p>Once the first script has completed we&#039;ll need to use the 2nd script to gather the LastFullBackupTime value. Before we do so, you&#039;ll need to edit the resulting txt file from the first script and remove the first few lines at the top so the file only contains the distinguishedName of each Mailbox Store. Copy the contents of the script below into a new text document named &#034;GetLastFullBackupTime.vbs&#034;. This script will loop through the contents of the MailBoxStoreDN.txt file and query the LastFullBackupTime value from each Mailbox Store. You&#039;ll need to execute this script in a similar fashion, by opening a command prompt and navigating to the location of the MailBoxStoreDN.txt and GetLastFullBackupTime.vbs. Type &#034;cscript GetLastFullBackupTime.vbs &gt; LastFullBackupTime.txt&#034; to execute the script and pipe the results to a text file.</p>
<blockquote><p>Option Explicit<br />
On Error Resume Next<br />
Dim oFSO, sFile, oFile, sText, mdbobj<br />
Set oFSO = CreateObject(&#034;Scripting.FileSystemObject&#034;)<br />
set mdbobj = createobject(&#034;CDOEXM.MailboxStoreDB&#034;)<br />
sFile = &#034;MailBoxStoreDN.txt&#034;<br />
If oFSO.FileExists(sFile) Then<br />
Set oFile = oFSO.OpenTextFile(sFile, 1)<br />
Do While Not oFile.AtEndOfStream<br />
sText = oFile.ReadLine<br />
If Trim(sText) &lt;&gt; &#034;&#034; Then<br />
mdbobj.datasource.open &#034;LDAP://&#034; &amp; sText<br />
Wscript.echo &#034;Mailbox Store:,&#034; &amp; sText &amp; &#034;,Last Backed Up : &#034; &amp; mdbobj.LastFullBackupTime<br />
End If<br />
Loop<br />
oFile.Close<br />
Else<br />
WScript.Echo &#034;The file was not there.&#034;<br />
End If</p></blockquote>
<p>Once the script has completed running,  open the LastFullBackupTime.txt file to view the results, or copy the contents into Excel if you prefer to make use of the text-to-columns and sorting features for better readability. While we admit this solution lacks elegance and requires a small bit of intervention from start to finish, this method is very effective for quickly determining the status of backups against Exchange for the entire enterprise and can easily be modified to query for the Last Incremental Time as well if necessary.</p>
]]></content:encoded>
			<wfw:commentRss>http://mcpguides.com/?feed=rss2&amp;p=79</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Methods for SID conversion in a Windows Active Directory Environment</title>
		<link>http://mcpguides.com/?p=61</link>
		<comments>http://mcpguides.com/?p=61#comments</comments>
		<pubDate>Thu, 04 Sep 2008 22:10:49 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[SID Conversion]]></category>

		<guid isPermaLink="false">http://mcpguides.com/?p=61</guid>
		<description><![CDATA[Every Systems Administrator comes across issues from time to time that require either converting a SID to a friendly name or converting a friendly name to a SID. This can be useful in many troubleshooting or forensic activities, and there are numerous ways to approach this task.
Fortunately, there are tools readily available within the Windows [...]]]></description>
			<content:encoded><![CDATA[<p>Every Systems Administrator comes across issues from time to time that require either converting a SID to a friendly name or converting a friendly name to a SID. This can be useful in many troubleshooting or forensic activities, and there are numerous ways to approach this task.</p>
<p>Fortunately, there are tools readily available within the Windows Server Support Tools suite as well as free tools that can help you accomplish this task; for the purposes of this demonstration we will cover two alternate methods.</p>
<h3>Method 1: Using ldp.exe from the Windows Server Support Tools suite</h3>
<p>Assuming you have the Windows Server 2000 or 2003 Support Tools installed, you can simply execute ldp.exe from your run console or from the command prompt.</p>
<p>Once you have ldp up, you will need to connect to the environment for which you wish to execute a SID query by clicking on the &#034;Connection&#034; menu, selecting &#034;Connect&#034; and entering the name of the domain for which the SID in question resides.</p>
<p>Assuming a successful connection, you can now select the &#034;Utilities&#034; menu, and then select &#034;Sid lookup&#034;. Type in your SIDs in a comma separated format and click ok.</p>
<p style="text-align: center;"><a href="http://None"><img class="size-full wp-image-62  aligncenter" title="ldp" src="http://mcpguides.com/wp-content/uploads/2008/09/ldp.jpg" alt="" width="498" height="397" /></a></p>
<p>For this example, we have entered the SID for the Everyone group; S-1-1-0. As you can see, in the right hand field, we have been returned the results &#034;Everyone [S-1-1-0]&#034;.</p>
<p style="text-align: center;"><a href="http://None"><img class="size-full wp-image-63  aligncenter" title="ldp2" src="http://mcpguides.com/wp-content/uploads/2008/09/ldp2.jpg" alt="" width="497" height="399" /></a></p>
<p>This method can prove helpful, however the requirement with this tool is that you must know the SID in question, and this tool has no ability to do reverse lookups of name to SID, only SID to name.</p>
<h3>Method 2: Using SidConverter.exe</h3>
<p>SidConverter.exe is a freely available tool (Author unknown) that has the ability to do forward and reverse SID lookups, among other functions.</p>
<p style="text-align: center;"><a href="http://None"><img class="aligncenter size-full wp-image-64" title="sidconverter" src="http://mcpguides.com/wp-content/uploads/2008/09/sidconverter.jpg" alt="" width="500" height="150" /></a></p>
<p>To do forward SID lookups (SID to name), simply type the SID into the top box labeled &#034;SDDL&#034; and click the Convert button.</p>
<p>To do reverse SID lookups (name to SID), check the &#034;Do Account Name Lookup&#034; box, type the name of the account into the &#034;Account Name&#034; box, and click Convert.</p>
<p>The SidConveter.exe tool can be obtained by clicking this link: <a title="SidConverter.exe" href="http://mcpguides.com/documents/SidConverter.exe_renamed">SidConveter.exe</a> . You will need to rename the file from SidConverter.exe_renamed to SidConverter.exe .</p>
]]></content:encoded>
			<wfw:commentRss>http://mcpguides.com/?feed=rss2&amp;p=61</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fundamentals of TCP/IP updated for Server 2008</title>
		<link>http://mcpguides.com/?p=59</link>
		<comments>http://mcpguides.com/?p=59#comments</comments>
		<pubDate>Thu, 04 Sep 2008 21:31:30 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[IPV6]]></category>
		<category><![CDATA[Microsoft Press]]></category>
		<category><![CDATA[TCP/IP]]></category>

		<guid isPermaLink="false">http://mcpguides.com/?p=59</guid>
		<description><![CDATA[Microsoft recently released a free copy of their well known e-book &#034;Fundamentals of TCP/IP&#034; which has been updated to include Windows Server 2008. We have retained a mirror of this document, which can be accessed by clicking on this link: Fundamentals of TCP/IP
]]></description>
			<content:encoded><![CDATA[<p>Microsoft recently released a free copy of their well known e-book &#034;Fundamentals of TCP/IP&#034; which has been updated to include Windows Server 2008. We have retained a mirror of this document, which can be accessed by clicking on this link: <a title="Fundamentals of TCP/IP" href="http://mcpguides.com/documents/TCPIP_Fund.pdf">Fundamentals of TCP/IP</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mcpguides.com/?feed=rss2&amp;p=59</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resolving ASP Performance Counter Application Event Log Warnings</title>
		<link>http://mcpguides.com/?p=38</link>
		<comments>http://mcpguides.com/?p=38#comments</comments>
		<pubDate>Fri, 23 May 2008 21:44:52 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[SCOM 2007]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[Operations Manager]]></category>
		<category><![CDATA[SCOM]]></category>

		<guid isPermaLink="false">http://mcpguides.com/?p=38</guid>
		<description><![CDATA[After the installation of System Center Operations Manager 2007 SP1 RTM, you may notice the occurrence of several warnings in the Application event log on Agent-managed servers related to 32 bit ASP.Net performance counters, 64 bit ASP.Net performance counters, or both depending on the configuration of your system. The warnings are as follows:
Event ID: 35
Source: [...]]]></description>
			<content:encoded><![CDATA[<p>After the installation of System Center Operations Manager 2007 SP1 RTM, you may notice the occurrence of several warnings in the Application event log on Agent-managed servers related to 32 bit ASP.Net performance counters, 64 bit ASP.Net performance counters, or both depending on the configuration of your system. The warnings are as follows:</p>
<p class="special">Event ID: 35<br />
Source: WinMgmt<br />
Description: WMI ADAP was unable to load the ASP.NET_64_2.0.50727 performance library because it returned invalid data: 0&#215;0</p>
<p class="special">Event ID: 35<br />
Source: WinMgmt<br />
Description: WMI ADAP was unable to load the ASP.NET_64 performance library because it returned invalid data: 0&#215;0</p>
<p class="special">Event ID: 40<br />
Source: WinMgmt<br />
Description: WMI ADAP was unable to create the object Win32_PerfRawData_ASPNET_64_2050727_ASPNETAppsv2050727 for Performance Library ASP.NET_64_2.0.50727 because error 0&#215;80041001 was returned</p>
<p class="special">Event ID:  40<br />
Source: WinMgmt<br />
Description: WMI ADAP was unable to create the object Win32_PerfRawData_ASPNET_64_ASPNETApplications for Performance Library ASP.NET_64 because error 0&#215;80041001 was returned</p>
<p>More details of this issue can be found here:</p>
<p><a href="http://connect.microsoft.com/OpsMgrFeedback/feedback/ViewFeedback.aspx?FeedbackID=328738" title="http://connect.microsoft.com/OpsMgrFeedback/feedback/ViewFeedback.aspx?FeedbackID=328738">http://connect.microsoft.com/OpsMgrFeedback/feedback/ViewFeedback.aspx?FeedbackID=328738</a></p>
<p>These events can occur frequently, and depending on the number of agents and your configuration can become quite bothersome in large environments. The errors are related to a known MS Bug having to do with WMI attempts to query the ASP.Net performance counters, for which no hot fix currently exists. Assuming that on the agent managed host you have no additional needs outside of System Center to monitor the ASP.Net performance counters there are two ways to rid yourself of these errors:</p>
<p>1: Download the Windows 2000 Resource Kit tool &#034;Extensible Performance Counter List&#034; (exctrlst.exe) here: <a href="http://www.microsoft.com/downloads/details.aspx?familyid=7ff99683-b7ec-4da6-92ab-793193604ba4&amp;displaylang=en" title="http://www.microsoft.com/downloads/details.aspx?familyid=7ff99683-b7ec-4da6-92ab-793193604ba4&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=7ff99683-b7ec-4da6-92ab-793193604ba4&amp;displaylang=en</a></p>
<p>Install and launch the tool, once you have it open, uncheck the &#034;Performance Counters Enabled&#034; check box for all versions of ASP.Net that you have installed.</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2008/05/exctrlst.jpg" alt="exctrlst.exe" /></p>
<p>2: If you have large environments and installing the tool on each impacted machine is not a realistic option, you can script the registry key that exctrlst.exe is modifying. The net impact of setting the &#034;Performance Counters Enabled&#034; checkbox is that the DWORD Value of &#034;Disable Performance Counters&#034; is set to 1. This DWORD can be located at:<br />
HKLM\SYSTEM\CurrentControlSet\Services\%Insert ASP.net node%\Performance</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2008/05/registry.jpg" alt="registry" /></p>
<p>Note: In some instances this key does not exist and must be created.</p>
<p>Once these changes have been implemented you should see a clean event Application Event log on the impacted server.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://mcpguides.com/?feed=rss2&amp;p=38</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Resolving Mysterious Network Issues in 2003 SP2</title>
		<link>http://mcpguides.com/?p=37</link>
		<comments>http://mcpguides.com/?p=37#comments</comments>
		<pubDate>Tue, 18 Mar 2008 19:39:43 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[TCP/IP]]></category>
		<category><![CDATA[TCPChimney]]></category>

		<guid isPermaLink="false">http://mcpguides.com/?p=37</guid>
		<description><![CDATA[There is a bug in Windows 2003 SP2 which can create a vast array of mysterious network-related issues including, but not limited to:
•	You cannot create a Remote Desktop Protocol (RDP) connection to the server.
•	You cannot connect to shares on the server from a computer on the local area network.
•	You cannot join a client computer to [...]]]></description>
			<content:encoded><![CDATA[<p>There is a bug in Windows 2003 SP2 which can create a vast array of mysterious network-related issues including, but not limited to:</p>
<p>•	You cannot create a Remote Desktop Protocol (RDP) connection to the server.<br />
•	You cannot connect to shares on the server from a computer on the local area network.<br />
•	You cannot join a client computer to the domain.<br />
•	You cannot connect to Microsoft Exchange Server from a computer that is running Microsoft Outlook.<br />
•	You can only connect to Web sites that are hosted on the server or on the Internet by using a secure sockets layer (SSL) connection. In this scenario, you cannot connect to a Web site that does not use SSL encryption.<br />
•	You experience slow network performance.<br />
•	You cannot create an outgoing FTP connection from the server.<br />
•	The DHCP Server service crashes.<br />
•	Clients experience slow domain logons.<br />
•	Network Address Translation (NAT) clients that are located behind Windows SBS 2003 experience intermittent connection failures.<br />
•	You experience intermittent RPC communications failures.<br />
•	Clients that are configured as SecureNat clients may be unable to connect to the Internet.<br />
•	Some Outlook clients may be unable to connect to Exchange.<br />
•	You cannot run the Configure E-mail and Internet Connection Wizard successfully.<br />
•	Microsoft Internet Security and Acceleration (ISA) Server blocks RPC communications.<br />
•	Clients cannot visit the http://companyweb Web site.<br />
•	You cannot browse Internet Information Services (IIS) Virtual Directories.</p>
<p>To combat this issue, here is an excellent .cmd script that was written to revert certain TCP/IP &#034;features&#034; to pre-SP2 functionality, and resolve these problems:</p>
<blockquote><p>@echo off<br />
REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
REM Add Registry entries in:<br />
REM HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters<br />
REM<br />
REM Created By: Bill Miles<br />
REM<br />
REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
REM &#8212; Check OS version, must be 5.1(XP) or greater (Windows 2000 not supported)<br />
FOR /F &#034;usebackq tokens=2 delims=[&#034; %%a IN (`ver`) DO (<br />
REM echo [%%a<br />
FOR /F &#034;usebackq tokens=2 delims= &#034; %%b IN (&#039;%%a&#039;) DO (<br />
REM echo %%b<br />
FOR /F &#034;usebackq tokens=1,2 delims=.&#034; %%c IN (&#039;%%b&#039;) DO (<br />
REM echo %%c.%%d<br />
IF %%d LSS 1 (<br />
echo Current Windows version [%%a not supported!<br />
goto :END<br />
)<br />
)<br />
)<br />
)<br />
SET REGROOT=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters<br />
SET REGKEY=unknown<br />
REG ADD %REGROOT% /v TcpWindowSize /t REG_DWORD /d 256960 /f<br />
REG ADD %REGROOT% /v TcpMaxDataRetransmissions /t REG_DWORD /d 10 /f<br />
REM &#8212; IF EXIST &#8212;<br />
SET REGKEY=EnableTCPA<br />
FOR /F &#034;usebackq skip=2 tokens=1,2,3 delims= &#034; %%a IN (`REG QUERY %REGROOT% /v %REGKEY%`) DO (<br />
REM %%a == Key Name<br />
REM %%b ==<br />
REM %%c == Key Value<br />
echo %%a %%c<br />
IF &#034;%%a&#034; NEQ &#034;%REGKEY%&#034; (<br />
echo %REGKEY% does not exist.<br />
) ELSE (<br />
IF &#034;%%c&#034; NEQ &#034;0&#215;0&#034; (<br />
REG ADD %REGROOT% /v %REGKEY% /t REG_DWORD /d 0 /f<br />
)<br />
)<br />
)<br />
SET REGKEY=EnableTCPChimney<br />
FOR /F &#034;usebackq skip=2 tokens=1,2,3 delims= &#034; %%a IN (`REG QUERY %REGROOT% /v %REGKEY%`) DO (<br />
REM %%a == Key Name<br />
REM %%b ==<br />
REM %%c == Key Value<br />
echo %%a %%c<br />
IF &#034;%%a&#034; NEQ &#034;%REGKEY%&#034; (<br />
echo %REGKEY% does not exist.<br />
) ELSE (<br />
IF &#034;%%c&#034; NEQ &#034;0&#215;0&#034; (<br />
REG ADD %REGROOT% /v %REGKEY% /t REG_DWORD /d 0 /f<br />
)<br />
)<br />
)<br />
SET REGKEY=EnableRSS<br />
FOR /F &#034;usebackq skip=2 tokens=1,2,3 delims= &#034; %%a IN (`REG QUERY %REGROOT% /v %REGKEY%`) DO (<br />
REM %%a == Key Name<br />
REM %%b ==<br />
REM %%c == Key Value<br />
echo %%a %%c<br />
IF &#034;%%a&#034; NEQ &#034;%REGKEY%&#034; (<br />
echo %REGKEY% does not exist.<br />
) ELSE (<br />
IF &#034;%%c&#034; NEQ &#034;0&#215;0&#034; (<br />
REG ADD %REGROOT% /v %REGKEY% /t REG_DWORD /d 0 /f<br />
)<br />
)<br />
)<br />
:END<br />
sleep 12<br />
exit</p></blockquote>
<p>The script is a great first resort for mysterious network issues and has resolved many production problems in the past. Keep in mind, it requires a reboot to kick into effect.</p>
<p>More information about this bug can be found @ the MS KB Article: <a href="http://support.microsoft.com/kb/936594">http://support.microsoft.com/kb/936594 </a></p>
]]></content:encoded>
			<wfw:commentRss>http://mcpguides.com/?feed=rss2&amp;p=37</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up Repeating Alerts (Notifications) in System Center Operations Manager 2007</title>
		<link>http://mcpguides.com/?p=35</link>
		<comments>http://mcpguides.com/?p=35#comments</comments>
		<pubDate>Mon, 07 Jan 2008 21:28:48 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[SCOM 2007]]></category>
		<category><![CDATA[Repeating Notifications]]></category>
		<category><![CDATA[SCOM]]></category>

		<guid isPermaLink="false">http://mcpguides.com/?p=35</guid>
		<description><![CDATA[Setting up repeat alerts and escalations in System Center Operations Manager 2007.]]></description>
			<content:encoded><![CDATA[<p>There was a need in Microsoft Operations Manager 2005 that when a monitor changed to an unhealthy state to send out repeat alerts ( also known as notifications ) at a set interval until the issue was resolved. This feature is excellent for System Administrators who rely on notifications to alert, and remind them that something is broken until the issue has been resolved. Although this feature was not natively available in MOM 2005, creative engineers discovered a way to accomplish this goal: <strong>(Click Read On to Continue)</strong></p>
<p><br />
<span id="more-35"></span></p>
<blockquote><p>MOM 2005: How to Create a Repeat Alert</p>
<p>In MOM 2005 you may have found that it is easy to set up a notification when a service goes down and comes back up, but what if you wanted to get an alert every so often while the service was down until it came back up?</p>
<p>This is something that is much easier to do in SCOM 2007, but if you haven&#039;t upgraded to this version yet, you can still make it work with a little bit of effort.</p>
<p>The following gives an example of how you can:</p>
<p>* Check to see if the Print Spooler service is running every 15 minutes<br />
* Create an internal MOM Event ID 12345, if it is not running<br />
* Create an email notification every 15 minutes if it is not running</p>
<p>Create the Script</p>
<p>The first thing you will need to do is go into the Scripts section of the Administration Console and create a new Script. Give it a descriptive name, leave the Language field as the default (VBScript) and paste the following code into the source code area:</p>
<p>&#039;miory 11/19/2007<br />
&#039;Creates MOM Event 12345 if the Print Spooler (Spooler) service is not running<br />
strComputer = &#034;.&#034;<br />
Set objWMIService = GetObject(&#034;winmgmts:&#034; _<br />
&amp; &#034;{impersonationLevel=impersonate}!\\&#034; &amp; strComputer &amp; &#034;\root\cimv2&#034;)<br />
Set colRunningServices = objWMIService.ExecQuery _<br />
(&#034;Select * from Win32_Service where Name=&#039;Spooler&#039;&#034;)<br />
For Each objService in colRunningServices<br />
If objService.State &lt;&gt; &#034;Running&#034; Then<br />
CreateError &#034;Print Spooler not Running&#034;<br />
End If<br />
Next<br />
Function CreateError(ByVal sMessage)<br />
On Error Resume Next<br />
Dim oScriptErrorEvent<br />
Set oScriptErrorEvent = ScriptContext.CreateEvent()<br />
With oScriptErrorEvent<br />
.EventNumber = 12345<br />
.EventType = EVENT_TYPE_ERROR<br />
.Message = sMessage<br />
.SetEventParameter &#034;&#034;"PRINT SPOOLER SERVICE&#034;"&#034;<br />
.SetEventParameter sMessage<br />
End With<br />
ScriptContext.Submit oScriptErrorEvent<br />
ScriptContext.Echo &#034;ThrowScriptError(&#039;&#034; &amp; sMessage &amp; &#034;&#039;)&#034;<br />
End Function<br />
‘End Script</p>
<p>You do not need to specify any parameters for the script, so you can just click Finish.<br />
Create the Rules and Alerts</p>
<p>Create a new rule group.</p>
<p>In that new rule group, create the following rules:</p>
<p>1. A Timed Event Rule using the provider name: Schedule every 15 minutes synchronize at 00:00. After the rule is created go to the Responses tab and click Add &gt; Launch a script and then choose the script you created earlier.<br />
2. An Event Rule using the provider name: Script-Generated data. Set the Criteria to with event ID and type 12345. On the Alert tab check the Generate Alert checkbox.<br />
3. Create an Alert Rule and under Criteria select of Severity and then select Critical Error. Next select only match alerts generated by rules in the following group and choose the new rule group that you created earlier. On the Responses tab click Add &gt; Send a notification to a Notification Group. Choose the appropriate group and put a checkmark in Run this response before duplicate alert suppression.</p>
<p>To complete the changes, just right-click on Management Packs and click Commit Configuration Change.</p></blockquote>
<p>Reference: <a href="http://blogs.technet.com/smsandmom/archive/2007/11/26/mom-2005-how-to-create-a-repeat-alert.aspx?CommentPosted=true#commentmessage" title="Creating Repeating Alerts in MOM 2005">The Manageability Team Blog</a></p>
<p>With the release of System Center Operations Manager 2007, the need for repeating notifications still exists. Instead of having to create a script for every single monitor within System Center Operations Manager 2007 that you wish to receive (as was required in MOM 2005), Microsoft has created alert aging notification option which can be used to accomplish this task. The original purpose of the alert aging notification options in System Center Operations Manager is to enable escalation of events, and assist in reducing notification traffic on certain items unless they remain in an unhealthy state for longer than the specified value.</p>
<blockquote><p>For example:</p>
<p>For reducing notifications of systems becoming unavailable in the event of a reboot where the system will be down for a short period of time and then come back online. The administrator could make use of the alert aging notification options to configure System Center Operations Manager to only send out notifications if the server remains unavailable for longer than the expected time required for a server to reboot. Additionally, the Administrator can setup duplicate notifications utilizing the alert aging notification option to create an escalation path to Sr. administrators if certain events remain in an alert state for longer than a specified amount of time.</p></blockquote>
<p>By leveraging the alert aging notification options and creating duplicate notification subscriptions , an Administrator can configure System Center Operations Manager 2007 to send out as many notifications as required, in the intervals required.</p>
<blockquote><p>For example:</p>
<p>An administrator wants to create a notification that alerts upon the failure of a certain monitor. Additionally, the administrator wants the notification to be resent if the alert stays in a failed state for more than 15 minutes after the original notification, and then every 30 minutes up to an hour from the first notification before an alert is sent to the Sr. administrators.</p>
<p>To accomplish this, the administrator will create 5 new identical notification subscriptions related to their desired monitoring group that he or she wishes to monitor with the exception of the Alert aging values, which will be set as follows:</p>
<p>Notification 1: Alert aging disabled</p>
<p>Notification 2: Use alert aging with a value of 15</p>
<p>Notification 3: Use alert aging with a value of 30</p>
<p>Notification 4: Use alert aging with a value of 60</p>
<p>Notification 5: Sr. Administrators will be included on the recipient list, Alert Aging notification turned on with a value of 60.</p></blockquote>
<p>This method of configuring System Center Operations Manager allows for granular escalation and easy modification of repeat notification requirements on a more global scale than is available through a script based approach.</p>
]]></content:encoded>
			<wfw:commentRss>http://mcpguides.com/?feed=rss2&amp;p=35</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>System Center Operations Manager 2007 SP1(RC) will not record a Web Session</title>
		<link>http://mcpguides.com/?p=31</link>
		<comments>http://mcpguides.com/?p=31#comments</comments>
		<pubDate>Thu, 20 Dec 2007 01:37:37 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[SCOM 2007]]></category>
		<category><![CDATA[Web Recorder]]></category>

		<guid isPermaLink="false">http://mcpguides.com/?p=31</guid>
		<description><![CDATA[System Center Operations Manager 2007 SP1 (Release Candidate) has an issue in which the Web Capture tool does not function properly. When you attempt to run a capture session from within the Operations Console Internet Explorer is launched, but the session is not captured properly.
To correct this problem, first ensure that third-party browser extensions are [...]]]></description>
			<content:encoded><![CDATA[<p>System Center Operations Manager 2007 SP1 (Release Candidate) has an issue in which the Web Capture tool does not function properly. When you attempt to run a capture session from within the Operations Console Internet Explorer is launched, but the session is not captured properly.</p>
<p>To correct this problem, first ensure that third-party browser extensions are enabled in Internet Explorer. If you have not properly enabled third-party browser extensions you will see the following error:</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2007/12/third-party-browser-extensions.jpg" alt="third-party browser extensions" border="1" height="86" width="400" /></p>
<p>Once you have enabled third party browser extensions, launch a web capture session from within the System Center Operations Manager Ops Console. When an instance of Internet Explorer is spawned, do the following to enable the web capture:</p>
<p>Go to Tools &#8211;&gt; Toolbars &#8211;&gt; Explorer Bar &#8211;&gt; Web Recorder:</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2007/12/web-recorder.jpg" alt="System Center Operations Manager 2007 Web Recorder" border="1" height="337" width="397" /></p>
<p>You should see the web recorder tracking your session on the left hand side of the screen now. Proceed with recording the steps that you need System Center Operations Manager to perform, and click Stop within the web recorder when you are finished. This will take you back to the Operations Console for a summary of the session.<img src="http://mcpguides.com/wp-content/uploads/2007/12/web-recorder2.jpg" alt="Web Recorder" border="1" height="195" width="329" /></p>
]]></content:encoded>
			<wfw:commentRss>http://mcpguides.com/?feed=rss2&amp;p=31</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>System Center Operations Manager 2007 Database and Data Warehouse Size Calculator</title>
		<link>http://mcpguides.com/?p=29</link>
		<comments>http://mcpguides.com/?p=29#comments</comments>
		<pubDate>Thu, 20 Dec 2007 01:14:34 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[SCOM 2007]]></category>
		<category><![CDATA[Calculator]]></category>
		<category><![CDATA[Sizing Tool]]></category>

		<guid isPermaLink="false">http://mcpguides.com/?p=29</guid>
		<description><![CDATA[Here is a helpful System Center Operations Manager 2007 Database and Data Warehouse size calculator tool for Excel:

Please keep in mind that System Center Capacity Planner is the official Microsoft sizing tool.
Download

]]></description>
			<content:encoded><![CDATA[<p>Here is a helpful System Center Operations Manager 2007 Database and Data Warehouse size calculator tool for Excel:</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2007/12/system-center-operations-manager-db-calculator.jpg" alt="System Center Operations Manager 2007 Database and DataWarehouse Size Calculator" border="1" height="386" width="400" /></p>
<p>Please keep in mind that System Center Capacity Planner is the official Microsoft sizing tool.</p>
<p><a href="http://www.mcpguides.com/documents/OpsMgr2007_DB-DW_Size_Calculator.zip" title="System Center Operations Manager 2007 Database and DataWarehouse Size Calculator">Download</a></p>
<p><a href="http://www.mcpguides.com/documents/OpsMgr2007_DB-DW_Size_Calculator.zip" title="System Center Operations Manager 2007 Database and DataWarehouse Size Calculator"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mcpguides.com/?feed=rss2&amp;p=29</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>System Center Operations Manager 2007 Rule &amp; Monitor Targeting Best Practices</title>
		<link>http://mcpguides.com/?p=28</link>
		<comments>http://mcpguides.com/?p=28#comments</comments>
		<pubDate>Mon, 17 Dec 2007 21:03:25 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[SCOM 2007]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[System Center Operations Manager 2007]]></category>
		<category><![CDATA[Targeting]]></category>

		<guid isPermaLink="false">http://mcpguides.com/?p=28</guid>
		<description><![CDATA[Microsoft just released this new System Center Operations Manager 2007 Targeting Best Practices poster to give everyone a quick reference on targeting best practices.

Click here to download the full size PDF poster (5.2MB). 
]]></description>
			<content:encoded><![CDATA[<p>Microsoft just released this new System Center Operations Manager 2007 Targeting Best Practices poster to give everyone a quick reference on targeting best practices.</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2007/12/system-center-targeting.jpg" alt="System Center Operations Manager Targeting Best Practices" border="1" height="330" width="400" /></p>
<p><a href="http://www.mcpguides.com/documents/BestPractices_Rule_Monitor_REV_110607.pdf" title="System Center Operations Manager 2007 Targeting Best Practices">Click here to download the full size PDF poster (5.2MB). </a></p>
]]></content:encoded>
			<wfw:commentRss>http://mcpguides.com/?feed=rss2&amp;p=28</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Guide to Monitoring for Required Reboots with System Center Operations Manager 2007</title>
		<link>http://mcpguides.com/?p=12</link>
		<comments>http://mcpguides.com/?p=12#comments</comments>
		<pubDate>Thu, 15 Nov 2007 22:42:21 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[SCOM 2007]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Reboots]]></category>

		<guid isPermaLink="false">http://mcpguides.com/?p=12</guid>
		<description><![CDATA[System Center Operations Manager 2007 enables the ability to create custom scripts to monitor a system for a specified value, and react accordingly based on your requirements. In order to successfully accomplish this goal, we need to complete three basic steps:

Create a .vbs script to monitor the values that we&#039;re interested in and return that [...]]]></description>
			<content:encoded><![CDATA[<p>System Center Operations Manager 2007 enables the ability to create custom scripts to monitor a system for a specified value, and react accordingly based on your requirements. In order to successfully accomplish this goal, we need to complete three basic steps:</p>
<ol>
<li>Create a .vbs script to monitor the values that we&#039;re interested in and return that data to System Center Operations Manager.</li>
<li>Create an appropriately scoped  Monitor Management Pack Object to leverage the newly created script.</li>
<li>Test the Monitor Object for the desired results.</li>
</ol>
<p>Creating a .vbs script that can interface with System Center Operations Manager 2007 requires adding only a couple of additional steps to your script :</p>
<ul>
<li>We need to make sure that the script is leveraging the MOM Scripting API.</li>
<li>We need to make sure that we return the results of our script back to System Center Operations Manager in a manner that it can understand.</li>
</ul>
<blockquote><p>&#039;*******************************************************************************<br />
&#039;*For more guides and scripts visit http://www.mcpguides.com<br />
&#039;*This System Center Operations Manager 2007 Script will monitor a Windows<br />
&#039;*Server and detect if the computer requires a reboot.<br />
&#039;*If no reboot is required, the state will be healthy. If a reboot is required<br />
&#039;*the state will switch to unhealthy.<br />
&#039;*******************************************************************************<br />
&#039;*Configure system parameters and variables<br />
Dim flgRebootNeeded, oAPI, oBAG<br />
Set oAPI = CreateObject(&#034;MOM.ScriptAPI&#034;)<br />
Set oBag = oAPI.CreateTypedPropertyBag(StateDataType)<br />
Set objSystemInfo = WScript.CreateObject(&#034;Microsoft.Update.SystemInfo&#034;)<br />
&#039;*******************************************************************************<br />
&#039;*Check reboot value; if objSystemInfo = 0, no reboot is required. If it = -1,<br />
&#039;* a reboot is required.<br />
flgRebootNeeded = objSystemInfo.rebootrequired<br />
If flgRebootNeeded = 0 Then<br />
Call oBag.AddValue(&#034;State&#034;,&#034;GOOD&#034;)<br />
Else<br />
Call oBag.AddValue(&#034;State&#034;,&#034;BAD&#034;)<br />
End If<br />
Call oAPI.Return(oBag)<br />
&#039;*******************************************************************************<br />
&#039;*End of Script</p></blockquote>
<p>In the script above, we are monitoring a Windows Server for the &#034;rebootrequired&#034; flag. We are then taking the results of that flag, and passing a &#034;GOOD&#034; or &#034;BAD&#034; string, depending on the results, to a newly created System Center Operations Manager 2007 parameter called &#034;State&#034;.         <strong>Click Read On to contine&#8230;.</strong></p>
<p><span id="more-12"></span>Now we are ready to configure the Monitor Management Pack Object, to leverage this script.</p>
<p>1. Open the System Center Operations Manager 2007  Operations Console.</p>
<p>2. Select the Authoring pane, then expand Management Pack Objects. Right click on Monitors and choose &#034;Create a monitor&#034; then &#034;Unit Monitor&#034;.</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2007/11/create-unit-monitor-system-center-operations-manager.jpg" alt="Create Unit Monitor in System Center Operations Manager 2007" border="1" height="129" width="588" /></p>
<p>3.    In the following window, expand the Scripting folder, then expand the Generic folder. Select &#034;Timed Script Two State Monitor&#034;. Make sure that you create this monitor is the                                   appropriate management pack. If you are unsure, create a new management pack specifically for this monitor in case you need to easily delete it in the future.</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2007/11/timed-script-two-state-monitor-in-system-center-operations-manager-2007.jpg" alt="Timed Script Two State Monitor in System Center Operations Manager 2007" border="1" height="387" width="400" /></p>
<p>4. Provide a logical name and description for the new monitor. Select a Monitor target that makes sense; in this case we&#039;ll select the Windows Server target because we want this               monitor  to watch all Windows servers regardless of version. Finally, select a Parent monitor that makes sense and enable the monitor. In this case leaving it with Availability is               appropriate.</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2007/11/monitor-properties-system-center-operations-manager-2007.jpg" alt="Monitor Properties for System Center Operations Manager 2007" border="1" height="388" width="400" /></p>
<p>5. Select a schedule that is appropriate for the task at hand. Keep in mind that certain scripts, if run too often, could create unwanted performance impacts on the target systems. For this example, we will stick with the default of running every 15 minutes.</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2007/11/monitor-object-schedule-system-center-operations-manager-2007.jpg" alt="Monitor Object Schedule for System Center Operations Manager 2007" border="1" height="387" width="400" /></p>
<p>6. Enter a logical name for the script that will make it easy to identify if you need to troubleshoot errors in the future.  Select a timeout setting for the script; in this case 1 minute will suffice. Paste the script into the script text box, and click Next.</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2007/11/monitor-object-script-information-system-center-operations-manager-2007.jpg" alt="Monitor Object Script Information for System Center Operations Manager 2007" border="1" height="387" width="400" /></p>
<p>7. For the Unhealthy Event Expression, click &#034;Insert&#034; and select &#034;Expression&#034;. For the Parameter name enter &#034;Property[@Name="State"], Select &#034;Equals&#034; for the Operator, and type in &#034;BAD&#034; (or whatever value you used in your script to represent an unhealthy state).</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2007/11/monitor-object-unhealthy-expression-system-center-operations-manager-2007.jpg" alt="Monitor Object Unhealthy Expression System Center Operations Manager 2007" border="1" height="388" width="400" /></p>
<p>8. For the Healthy Event Expression, click  &#034;Insert&#034; and select &#034;Expression&#034;. For the Parameter name enter &#034;Property[@Name="State"], Select &#034;Equals&#034; for the Operator, and type in &#034;GOOD&#034; (or whatever value you used in your script to represent a healthy state).</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2007/11/monitor-object-healthy-expression-system-center-operations-manager-2007.jpg" alt="Monitor Object Healthy Expression System Center Operations Manager 2007" border="1" height="386" width="400" /></p>
<p>9. Configure the appropriate Health State for your Healthy and Unhealthy script events. In this case because a system that requires a reboot is not a critical event, we will set the Unhealthy state to &#034;Warning&#034;.</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2007/11/monitor-object-health-state-system-center-operations-manager-2007.jpg" alt="Monitor Object Health State System Center Operations Manager 2007" border="1" height="388" width="400" /></p>
<p>10. Configure alerting to have System Center Operations Manager populate an alert in the Monitoring pane when the state of this object changes to Unhealthy.</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2007/11/monitor-object-configure-alerts-system-center-operations-manager-2007.jpg" alt="Monitor Object Configure Alerts System Center Operations Manager 2007" border="1" height="387" width="400" /></p>
<p>Now that the Monitor creation is complete,switch back to the monitoring pane to verify that the monitor is working properly. Click on a computer in the Computers State View underneath Monitoring. Next, click on the Health Explorer in the actions column in the right hand pane.</p>
<p><img src="http://mcpguides.com/wp-content/uploads/2007/11/health-explorer.jpg" alt="Health Explorer" border="1" height="133" width="208" /></p>
<p>You should see your newly created Monitor Object and the state of the monitor in the Health Explorer.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://mcpguides.com/?feed=rss2&amp;p=12</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.573 seconds -->
<!-- Cached page served by WP-Cache -->
