<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: How to: Allow users to start / stop (server) services</title>
	<atom:link href="http://joomla-and-more.com/2009/12/11/how-to-allow-users-to-start-stop-server-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://joomla-and-more.com/2009/12/11/how-to-allow-users-to-start-stop-server-services/</link>
	<description>Offering solutions for Joomla!® and more</description>
	<lastBuildDate>Mon, 06 Feb 2012 00:24:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Steven Zeegers</title>
		<link>http://joomla-and-more.com/2009/12/11/how-to-allow-users-to-start-stop-server-services/#comment-1274</link>
		<dc:creator><![CDATA[Steven Zeegers]]></dc:creator>
		<pubDate>Mon, 07 Nov 2011 18:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://toretto84.wordpress.com/2009/12/11/how-to-allow-users-to-start-stop-server-services/#comment-1274</guid>
		<description><![CDATA[Danny, 

thank you very much for your contribution. If the formatting doesn&#039;t stay &quot;as is&quot; I&#039;ll add it to the artcle - giving you full credit of course. :)]]></description>
		<content:encoded><![CDATA[<p>Danny, </p>
<p>thank you very much for your contribution. If the formatting doesn&#8217;t stay &#8220;as is&#8221; I&#8217;ll add it to the artcle &#8211; giving you full credit of course. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny Collings</title>
		<link>http://joomla-and-more.com/2009/12/11/how-to-allow-users-to-start-stop-server-services/#comment-1273</link>
		<dc:creator><![CDATA[Danny Collings]]></dc:creator>
		<pubDate>Mon, 07 Nov 2011 16:21:05 +0000</pubDate>
		<guid isPermaLink="false">http://toretto84.wordpress.com/2009/12/11/how-to-allow-users-to-start-stop-server-services/#comment-1273</guid>
		<description><![CDATA[Please nuke this post, see correct version below.]]></description>
		<content:encoded><![CDATA[<p>Please nuke this post, see correct version below.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny Collings</title>
		<link>http://joomla-and-more.com/2009/12/11/how-to-allow-users-to-start-stop-server-services/#comment-1272</link>
		<dc:creator><![CDATA[Danny Collings]]></dc:creator>
		<pubDate>Mon, 07 Nov 2011 16:20:22 +0000</pubDate>
		<guid isPermaLink="false">http://toretto84.wordpress.com/2009/12/11/how-to-allow-users-to-start-stop-server-services/#comment-1272</guid>
		<description><![CDATA[My appologies there was a small error my previous post of this batch file. 

&quot;set ANSWER=&quot; was missing, meaning the service status would not refresh on user input of ENTER. The previous example would continue to issue the last entered command as it was not cleared at the begining of the script.

Steve please feel free to delete this and above text and the original post! Thanks!

-------------------------------------------------------------------------------

Great information, thank you.
I’ve made this useful batch file for the end user, it maybe of use to anyone reading this. Just set the SERVER &amp; SERVICE variables and deploy.

----------------------------begin service.bat---------------------------




REM ****Service start/stop script D.Collings 07.Nov.2011

REM ****Set the 2 variables below for server &amp; service, that is all.

set SERVER=fran-dc01.emea.ad.beck-pollitzer.com
set SERVICE=winvnc

REM ****Begin script. Nothing needs to be edited below this line.

@echo off
:ask
set ANSWER=
cls
echo --------------------------------------------------------------------------------
echo  Status of %SERVICE% service on %SERVER%
echo.
echo --------------------------------------------------------------------------------
sc &quot;\\%SERVER%&quot; query &quot;%SERVICE%&quot;
echo.
echo --------------------------------------------------------------------------------
echo.
echo  Hit ENTER to refresh service status.
echo.
SET /P ANSWER= Options: START/STOP/EXIT: 
echo User selected option: [%ANSWER%]
if /i {%ANSWER%}=={start} (goto :start)
if /i {%ANSWER%}=={stop} (goto :stop)
if /i {%ANSWER%}=={exit} (goto :exit)
goto :ask
:start
cls
echo.
echo Attempting to %ANSWER% %SERVICE% service on %SERVER%
sc &quot;\\%SERVER%&quot; %ANSWER% &quot;%SERVICE%&quot;
echo.
pause
goto ask
exit /b 0

:stop
cls
echo.
echo Attempting to %ANSWER% %SERVICE% service on %SERVER%
sc &quot;\\%SERVER%&quot; %ANSWER% &quot;%SERVICE%&quot;
echo.
pause
goto ask
exit /b 1


:exit
cls
exit
exit /b 2]]></description>
		<content:encoded><![CDATA[<p>My appologies there was a small error my previous post of this batch file. </p>
<p>&#8220;set ANSWER=&#8221; was missing, meaning the service status would not refresh on user input of ENTER. The previous example would continue to issue the last entered command as it was not cleared at the begining of the script.</p>
<p>Steve please feel free to delete this and above text and the original post! Thanks!</p>
<p>&#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;-</p>
<p>Great information, thank you.<br />
I’ve made this useful batch file for the end user, it maybe of use to anyone reading this. Just set the SERVER &amp; SERVICE variables and deploy.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-begin service.bat&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>REM ****Service start/stop script D.Collings 07.Nov.2011</p>
<p>REM ****Set the 2 variables below for server &amp; service, that is all.</p>
<p>set SERVER=fran-dc01.emea.ad.beck-pollitzer.com<br />
set SERVICE=winvnc</p>
<p>REM ****Begin script. Nothing needs to be edited below this line.</p>
<p>@echo off<br />
:ask<br />
set ANSWER=<br />
cls<br />
echo &#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 />
echo  Status of %SERVICE% service on %SERVER%<br />
echo.<br />
echo &#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 />
sc &#8220;\\%SERVER%&#8221; query &#8220;%SERVICE%&#8221;<br />
echo.<br />
echo &#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 />
echo.<br />
echo  Hit ENTER to refresh service status.<br />
echo.<br />
SET /P ANSWER= Options: START/STOP/EXIT:<br />
echo User selected option: [%ANSWER%]<br />
if /i {%ANSWER%}=={start} (goto :start)<br />
if /i {%ANSWER%}=={stop} (goto :stop)<br />
if /i {%ANSWER%}=={exit} (goto :exit)<br />
goto :ask<br />
:start<br />
cls<br />
echo.<br />
echo Attempting to %ANSWER% %SERVICE% service on %SERVER%<br />
sc &#8220;\\%SERVER%&#8221; %ANSWER% &#8220;%SERVICE%&#8221;<br />
echo.<br />
pause<br />
goto ask<br />
exit /b 0</p>
<p>:stop<br />
cls<br />
echo.<br />
echo Attempting to %ANSWER% %SERVICE% service on %SERVER%<br />
sc &#8220;\\%SERVER%&#8221; %ANSWER% &#8220;%SERVICE%&#8221;<br />
echo.<br />
pause<br />
goto ask<br />
exit /b 1</p>
<p>:exit<br />
cls<br />
exit<br />
exit /b 2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: One year anniversary &#171; Joomla and more</title>
		<link>http://joomla-and-more.com/2009/12/11/how-to-allow-users-to-start-stop-server-services/#comment-671</link>
		<dc:creator><![CDATA[One year anniversary &#171; Joomla and more]]></dc:creator>
		<pubDate>Thu, 23 Dec 2010 15:41:56 +0000</pubDate>
		<guid isPermaLink="false">http://toretto84.wordpress.com/2009/12/11/how-to-allow-users-to-start-stop-server-services/#comment-671</guid>
		<description><![CDATA[[...] How to: Allow users to start / stop (server) services [...]]]></description>
		<content:encoded><![CDATA[<p>[...] How to: Allow users to start / stop (server) services [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Zeegers</title>
		<link>http://joomla-and-more.com/2009/12/11/how-to-allow-users-to-start-stop-server-services/#comment-431</link>
		<dc:creator><![CDATA[Steven Zeegers]]></dc:creator>
		<pubDate>Thu, 09 Sep 2010 07:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://toretto84.wordpress.com/2009/12/11/how-to-allow-users-to-start-stop-server-services/#comment-431</guid>
		<description><![CDATA[That&#039;s odd, I was sure that the command was correct and working properly.  I&#039;ll update the post right now.  Thank you for your input!]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s odd, I was sure that the command was correct and working properly.  I&#8217;ll update the post right now.  Thank you for your input!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://joomla-and-more.com/2009/12/11/how-to-allow-users-to-start-stop-server-services/#comment-429</link>
		<dc:creator><![CDATA[Adrian]]></dc:creator>
		<pubDate>Thu, 09 Sep 2010 04:56:04 +0000</pubDate>
		<guid isPermaLink="false">http://toretto84.wordpress.com/2009/12/11/how-to-allow-users-to-start-stop-server-services/#comment-429</guid>
		<description><![CDATA[On your commnad there is an &quot;=F&quot; missing at he end.

So the ommand should look like this 

SUBINACL /service \\192.168.0.200\DNS GRANT= toretto.local\Toretto=F]]></description>
		<content:encoded><![CDATA[<p>On your commnad there is an &#8220;=F&#8221; missing at he end.</p>
<p>So the ommand should look like this </p>
<p>SUBINACL /service \\192.168.0.200\DNS GRANT= toretto.local\Toretto=F</p>
]]></content:encoded>
	</item>
</channel>
</rss>

