<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx</link><description>OK, I've got one more! :) I put together a web application to help with maintenance mode. This was my first attempt at building a web application so I'm sure there are inefficiencies and better ways to do it - so be kind with the comments! I wrote this</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Another (web app) OpsMgr Maintenance Mode tool | MS Tech News</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9020155</link><pubDate>Tue, 28 Oct 2008 15:43:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9020155</guid><dc:creator>Another (web app) OpsMgr Maintenance Mode tool | MS Tech News</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://mstechnews.info/2008/10/another-web-app-opsmgr-maintenance-mode-tool/"&gt;http://mstechnews.info/2008/10/another-web-app-opsmgr-maintenance-mode-tool/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9058740</link><pubDate>Tue, 11 Nov 2008 00:29:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9058740</guid><dc:creator>PrMedic</dc:creator><description>&lt;P&gt;I was able to set up the web page and add it to the SCOm console - works great!!&lt;/P&gt;
&lt;P&gt;Only issue I have is when trying to list computers in maintenance mode. Only the computers that were put in maint mode using the web page show up, none of the computers that were already in maint mode are listed. &lt;/P&gt;
&lt;P&gt;Is this expected?&lt;/P&gt;</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9060856</link><pubDate>Wed, 12 Nov 2008 01:00:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9060856</guid><dc:creator>steverac</dc:creator><description>&lt;p&gt;That is not intended - but I can't say I tested it either. &amp;nbsp;I would expect the web page to pick up all systems in maintenance mode. &amp;nbsp;Maybe the ones put in maintenance mode from the console were not placed in 'full' maintenance mode?&lt;/p&gt;
</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9210453</link><pubDate>Sat, 13 Dec 2008 20:35:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9210453</guid><dc:creator>steverac</dc:creator><description>&lt;p&gt;A number of readers have downloaded this tool and have found it very useful. &amp;nbsp;I have received some feedback regarding a couple of configuration items that are required but weren't documented. &amp;nbsp;The first is membership in the IIS_WPG group and the second is to make sure .NET framework 3.5 is installed. &amp;nbsp;Hope this helps!&lt;/p&gt;
</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9284005</link><pubDate>Tue, 06 Jan 2009 02:04:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9284005</guid><dc:creator>azee</dc:creator><description>&lt;p&gt;This is an awesome tool. &amp;nbsp;However, when I go in to schedule a recurring job for daily, weekly or monthly and select an expiration date it gives me an error message, &amp;quot;A schedule was selected to recur either daily, weekly or monthly. When defining a recurring schedule you must specify an end date for the schedule.&amp;quot; &amp;nbsp;Even when an end date is selected I still receive this message. &amp;nbsp;Any suggestions?&lt;/p&gt;</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9284741</link><pubDate>Tue, 06 Jan 2009 10:03:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9284741</guid><dc:creator>steverac</dc:creator><description>&lt;p&gt;Thanks for the feedback and glad you find it useful. &amp;nbsp;As for the scheduling problem - I seem to remember running across that during testing and it boiled down to needing to pick the right end date in order for the script to validate the entry. &amp;nbsp;&lt;/p&gt;
</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9285869</link><pubDate>Tue, 06 Jan 2009 20:54:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9285869</guid><dc:creator>azee</dc:creator><description>&lt;p&gt;Thank you for your reply. &amp;nbsp;Even after I select a date that falls after today's date, I am still getting the same error message. &amp;nbsp;If I schedule once for a later time that same day it works fine, but If I select Daily, Weekly, or Monthly and even if I select a date after today's current date, it gives me the same error message.&lt;/p&gt;
&lt;p&gt;Any help you can provide will be greatly appreciated.&lt;/p&gt;</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9286619</link><pubDate>Wed, 07 Jan 2009 04:40:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9286619</guid><dc:creator>steverac</dc:creator><description>&lt;p&gt;OK, this is a bug in the error checking code. &amp;nbsp;Open default.aspx in notepad and find the following line...&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If MMFrequency.SelectedValue = &amp;quot;DAILY&amp;quot; Or MMFrequency.SelectedValue = &amp;quot;WEEKLY&amp;quot; Or MMFrequency.SelectedValue = &amp;quot;MONTHLY&amp;quot; Then&lt;/p&gt;
&lt;p&gt;In the section that follows there are two items that need to be updated&lt;/p&gt;
&lt;p&gt;Find the first if statement that reads &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; If Len(MMExpDate) &amp;lt; 10 Then&lt;/p&gt;
&lt;p&gt;Replace that line with&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; If Len(Session(&amp;quot;MMExpDate&amp;quot;) &amp;lt; 10 Then&lt;/p&gt;
&lt;p&gt;Also, in the else section replace&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; Session(&amp;quot;MMExpDate&amp;quot;) = Left(MMExpDate, 10)&lt;/p&gt;
&lt;p&gt;with &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; Session(&amp;quot;MMExpdate&amp;quot;) = Left(Session(&amp;quot;MMExpDate&amp;quot;), 10)&lt;/p&gt;
</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9289769</link><pubDate>Wed, 07 Jan 2009 22:58:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9289769</guid><dc:creator>azee</dc:creator><description>&lt;p&gt;Thank you so much! &amp;nbsp;I really appreciate your assistance with this. &amp;nbsp;We had some administrators that want to schedule downtime and now it is possible through this tool. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks once again.&lt;/p&gt;</description></item><item><title>Need Help Server 2008 + IIS 7</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9298403</link><pubDate>Thu, 08 Jan 2009 18:41:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9298403</guid><dc:creator>bogmancometh</dc:creator><description>&lt;p&gt;I'm following the instructions but new to IIS 7. I did the find replaces in the default.aspx. In IIS 7&lt;/p&gt;
&lt;p&gt;1. I right clicked default web site added virtual directory for mmscheduler and added permissions.&lt;/p&gt;
&lt;p&gt;2. Right clicked application pool &amp;quot;add application pool&amp;quot; put in name and it defaults to .net 2.0.50727 and managed pipeline integrated. With option to start pool immediately.&lt;/p&gt;
&lt;p&gt;_______This is where I get lost________&lt;/p&gt;
&lt;p&gt;Next instructions say right click MMScheduler website and select properties. &lt;/p&gt;
&lt;p&gt;- On the virtual directory tab selec scripts and executables&lt;/p&gt;
&lt;p&gt;- Select MMScheduler for application pool &lt;/p&gt;
&lt;p&gt;- ect... ect... more instructions&lt;/p&gt;
&lt;p&gt;In IIS 7 I can't find the properties for the MMSScheduler web site to do this? I clicked the virtual folder created earlier in step one and thought it might be in Handler Mappings but I get an error in web.config line number 110 Error: Configuration section not allowed to be set below application. &lt;/p&gt;
&lt;p&gt;Just need some guidance on this section of the instructions above. Thanks, Can't wait to try the tool.&lt;/p&gt;</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9312388</link><pubDate>Tue, 13 Jan 2009 06:00:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9312388</guid><dc:creator>steverac</dc:creator><description>&lt;p&gt;OK, I haven't tested this web page with IIS 7 nor do I think I'll have time to anytime soon. But, all of the configurations I list in the install doc can easily be made on IIS 7...&lt;/p&gt;
&lt;p&gt;-Enabling scripts and executables&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; In IIS 7 select the web ite and go to &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; 'Handler Mappings'. &amp;nbsp;Select 'Edit Feature&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; Permissions' to enable what you need.&lt;/p&gt;
&lt;p&gt;-Configuring application pool for website&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; -Add a new App Pool using Integrated (if&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; that doesn't work, try classic)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; -Uder Application Pools, click&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; DefaultAppPool and then click 'view &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; Applications'&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; -Right click on MMScheduler web site and&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; select 'Change Application Pool' to the &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; one you want.&lt;/p&gt;
&lt;p&gt;-Documents tab and Default.aspx&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; Click the website and select 'default&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; documents' and move default.aspx to the&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; top.&lt;/p&gt;
&lt;p&gt;-Directory Security&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; -click the website and select &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; 'Authentication'&lt;/p&gt;
&lt;p&gt;Hope this works!&lt;/p&gt;
</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9525894</link><pubDate>Wed, 01 Apr 2009 11:52:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9525894</guid><dc:creator>m_speksnijder</dc:creator><description>&lt;p&gt;Hai,&lt;/p&gt;
&lt;p&gt;I tested this tool, works great. I do have 1 issue, when I try to close the website with the &amp;quot;Exit MM&amp;quot; button, I get a loginbox. &lt;/p&gt;
&lt;p&gt;I do run the tool at port 8080, perhaps this can cause the issue?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Mohammed&lt;/p&gt;</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9530753</link><pubDate>Fri, 03 Apr 2009 19:17:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9530753</guid><dc:creator>ccastell</dc:creator><description>&lt;p&gt;I am having trouble configuring this, i am a bit green to all this. I am getting a service unavailable mention when i follow the steps outlined in the doc. &amp;nbsp;Also how do i know what i should but for the sql connection string. my db server name is ***sc02. &amp;nbsp;do i just add the server name after Data source=?&lt;/p&gt;</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9567026</link><pubDate>Fri, 24 Apr 2009 20:02:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9567026</guid><dc:creator>ccastell</dc:creator><description>&lt;p&gt;Group maintenance mode does not work right for me. &amp;nbsp;this is what i am getting&lt;/p&gt;
&lt;p&gt;Microsoft (R) Windows Script Host Version 5.6&lt;/p&gt;
&lt;p&gt;Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.&lt;/p&gt;
&lt;p&gt;powershell &amp;quot;d:\mmscheduler\groupmm.ps1&amp;quot; -groupName:'Vison Server Group' -hours:1 -rmsServerName:'localhost' -startMM:$true&lt;/p&gt;
&lt;p&gt;but the group never goes into maintenance mode and the schedule task doesn't get created. &amp;nbsp;However single computer maintenance mode works fine.&lt;/p&gt;
&lt;p&gt;any help?&lt;/p&gt;</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9762347</link><pubDate>Tue, 16 Jun 2009 16:43:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9762347</guid><dc:creator>Chris Morgan</dc:creator><description>&lt;p&gt;Steve ,&lt;/p&gt;
&lt;p&gt;Installed the MMScheduler on MS (Not RMS Server) &amp;nbsp;After selecting agent to place in MM and time to be in MM I get the following when I click go . ** I noticed the SDK service is not running on the MS only on the RMS . Is there a way to identify RMS in the code so I can run this remotely or do I have to run this on an RMS server so it can call SDK locally . &lt;/p&gt;
&lt;p&gt;Connecting to SDK &lt;/p&gt;
&lt;p&gt;Connection failed. The sdk service is either not running or not yet initialized.&lt;/p&gt;
&lt;p&gt;Could not connect to net.tcp://localhost:5724/SdkDataAccess. The connection attempt lasted for a time span of 00:00:01.0000128. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:5724. &lt;/p&gt;</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9776244</link><pubDate>Thu, 18 Jun 2009 17:47:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9776244</guid><dc:creator>steverac</dc:creator><description>&lt;p&gt;I never tested this other than on the RMS - but it should work without issue on the RMS. &amp;nbsp;Can be accessed from a web browser runnng anywhere.&lt;/p&gt;
</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9824743</link><pubDate>Wed, 08 Jul 2009 23:25:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9824743</guid><dc:creator>Mike Bay</dc:creator><description>&lt;p&gt;Thanks for the great tool. However, I am still not able to get the Group Maintenence mode to function. It returns a successful response in the tool, but the servers never get placed into Maintenence mode. Any additional information you can provide would be greatly appreciated.&lt;/p&gt;</description></item><item><title>re: Enough with the Maintenance Mode tools!!!</title><link>http://blogs.msdn.com/steverac/archive/2008/10/27/enough-with-the-maintenance-mode-tools.aspx#9932703</link><pubDate>Fri, 04 Dec 2009 19:03:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9932703</guid><dc:creator>New B</dc:creator><description>&lt;p&gt;Great idea here Steve! I've got this set up and running on my RMS.&lt;/p&gt;
&lt;p&gt;I'm having a little trouble getting it to work right for me. &lt;/p&gt;
&lt;p&gt;When I try to schedule a group, they go into MM immediately. In fact, it prints &amp;quot;GroupName is about to be placed in maintenance mode - continue?&amp;quot; as soon as I press the &amp;quot;Schedule&amp;quot; button.&lt;/p&gt;
&lt;p&gt;Also, how do I clear the list of agents in MM when they are taken out of MM manually?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>