<?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>MakeUseOf &#187; administration</title>
	<atom:link href="http://www.makeuseof.com/tags/administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.makeuseof.com</link>
	<description>Cool Websites, Software and Internet Tips</description>
	<lastBuildDate>Fri, 10 Feb 2012 21:31:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Create A Realtime Computer Status App With Windows Script &amp; LiveGraph</title>
		<link>http://www.makeuseof.com/tag/create-realtime-computer-status-app-windows-script-livegraph/</link>
		<comments>http://www.makeuseof.com/tag/create-realtime-computer-status-app-windows-script-livegraph/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 17:00:03 +0000</pubDate>
		<dc:creator>Ryan Dube</dc:creator>
				<category><![CDATA[Cool Windows Apps & Tricks]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[pc maintenance]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[system monitor]]></category>
		<category><![CDATA[system tools]]></category>
		<category><![CDATA[troubleshoot]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=96075</guid>
		<description><![CDATA[One of the fun things about being a computer geek is showing off with multiple displays going on all at once. These might include scrolling text across various windows, and a second screen full of real-time graphs rolling from right to left, showing every last detail about the status of every computer system on the network - CPU usage, battery levels of all of the laptops, and remaining hard drive space on all systems.Wouldn't it be cool to have an application that would offer such a display?]]></description>
			<content:encoded><![CDATA[<p><img class="align-right" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/realchart.png?323f2c" alt="computer system status reports" />One of the fun things about being a computer geek is showing off with multiple displays going on all at once.</p>
<p>These might include scrolling text across various windows, and a second screen full of real-time graphs rolling from right to left, showing every last detail about the status of every computer system on the network &#8211; CPU usage, battery levels of all of the laptops, and remaining hard drive space on all systems.</p>
<p>Wouldn&#8217;t it be cool to have an application that would offer such a display?</p>
<p>We&#8217;ve covered a number of programs that provide some real-time status displays like that, like <a href="http://www.makeuseof.com/tag/monitor-your-computer-fans-with-speedfan/">SpeedFan</a> that Kyle and <a href="http://www.makeuseof.com/tag/how-to-use-speedfan-to-remotely-monitor-computer-health/">Guy covered</a>. The most elaborate tool for viewing all of your computer information is probably <a href="http://www.makeuseof.com/tag/speccy-an-advanced-system-information-tool-for-your-pc/">Speccy</a>, which Karl covered.</p>
<p>The problem with all of these is that they either offer too much or too little information. Maybe there are a few things you want to track on your network or your computer system, but you don&#8217;t want to have to dig through all of that other stuff. What if you could customize your own computer monitoring system using Windows Script, and then display the details in a really cool, real-time charting system that is open-source and absolutely free?</p>
<h2>Developing Your Own Cool Real-Time Statistics</h2>
<p>There are two stages to doing this. You don&#8217;t have to be a programming expert. Once you understand how to go about obtaining data from your computer (or any computer on your network) using Windows Script, you&#8217;ll be able to build this system to display whatever you like, and only what you want.</p>
<p>The following script will query your computer system for the current CPU load in percentages.</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;">&lt;script <span style="color: #151B8D; font-weight: bold;">type</span>=<span style="color: #800000;">&quot;text/javascript&quot;</span> language=<span style="color: #800000;">&quot;VBScript&quot;</span>&gt;// &lt;![CDATA[
<span style="color: #E56717; font-weight: bold;">Option</span> <span style="color: #E56717; font-weight: bold;">Explicit</span>
<span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #151B8D; font-weight: bold;">Resume</span> <span style="color: #8D38C9; font-weight: bold;">Next</span>
<span style="color: #151B8D; font-weight: bold;">Dim</span> oFSO, sFile1, oFile1, sFile2, oFile2, sFile3, oFile3, sText
<span style="color: #151B8D; font-weight: bold;">Dim</span> colResults, objResult, strQuery
<span style="color: #151B8D; font-weight: bold;">Dim</span> strResults
<span style="color: #151B8D; font-weight: bold;">Dim</span> x
&nbsp;
<span style="color: #151B8D; font-weight: bold;">Set</span> Shell = wscript.<span style="color: #E56717; font-weight: bold;">createObject</span>(<span style="color: #800000;">&quot;wscript.shell&quot;</span>)
<span style="color: #151B8D; font-weight: bold;">Set</span> oFSO = <span style="color: #E56717; font-weight: bold;">CreateObject</span>(<span style="color: #800000;">&quot;Scripting.FileSystemObject&quot;</span>)
sFile1 = <span style="color: #800000;">&quot;CPULoad.csv&quot;</span>
sFile2 = <span style="color: #800000;">&quot;DriveSpace.csv&quot;</span>
sFile3 = <span style="color: #800000;">&quot;BatteryStatus.csv&quot;</span>
&nbsp;
<span style="color: #008000;">'***Open New File to write CPU Load***
</span><span style="color: #151B8D; font-weight: bold;">Set</span> oFile1 = oFSO.CreateTextFile(sFile1, 1)
&nbsp;
<span style="color: #008000;">'Define the WMI query
</span>strQuery = <span style="color: #800000;">&quot;SELECT * FROM Win32_Processor&quot;</span>
&nbsp;
<span style="color: #008000;">' Run the query
</span><span style="color: #151B8D; font-weight: bold;">Set</span> colResults = <span style="color: #E56717; font-weight: bold;">GetObject</span>(<span style="color: #800000;">&quot;winmgmts://./root/cimv2&quot;</span>).ExecQuery( strQuery )
&nbsp;
<span style="color: #008000;">'Identify the CPU load
</span><span style="color: #8D38C9; font-weight: bold;">For</span> <span style="color: #8D38C9; font-weight: bold;">Each</span> objResult <span style="color: #8D38C9; font-weight: bold;">In</span> colResults
 	strResults = CStr(objResult.LoadPercentage)
<span style="color: #8D38C9; font-weight: bold;">Next</span>	
&nbsp;
oFile1.WriteLine strResults
oFile1.<span style="color: #8D38C9; font-weight: bold;">Close</span>
&nbsp;
<span style="color: #151B8D; font-weight: bold;">Set</span> oFile1 = <span style="color: #00C2FF; font-weight: bold;">Nothing</span>
<span style="color: #151B8D; font-weight: bold;">set</span> colResults = <span style="color: #00C2FF; font-weight: bold;">Nothing</span>
strResults = <span style="color: #800000;">&quot;&quot;</span></pre></div></div>

<p>The key lines here are the select statement that looks at &#8220;Win32_Processor&#8221;, and the &#8220;objResult.LoadPercentage&#8221; line, which extracts the CPU load percentage from the system results. Finally, as you can see toward the bottom of the code, the data that&#8217;s extracted gets written to a csv file.</p>
<p>After creating the file and writing one line, the next step is to create a loop that continues polling the computer system and updating the csv data file with updated data. Here&#8217;s what that loop looks like:</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #008000;">'***Write New CPU Load every 5 seconds***
</span>
<span style="color: #8D38C9; font-weight: bold;">For</span> x = 1 <span style="color: #8D38C9; font-weight: bold;">to</span> 50
&nbsp;
	WScript.Sleep 5000
&nbsp;
	<span style="color: #008000;">'***Update CPU Load File***
</span>	<span style="color: #151B8D; font-weight: bold;">Set</span> oFile1 = oFSO.OpenTextFile(sFile1,8,1)
&nbsp;
	<span style="color: #008000;">'Define the WMI query
</span>	strQuery = <span style="color: #800000;">&quot;SELECT * FROM Win32_Processor&quot;</span>
&nbsp;
	<span style="color: #008000;">' Run the query
</span>	<span style="color: #151B8D; font-weight: bold;">Set</span> colResults = <span style="color: #E56717; font-weight: bold;">GetObject</span>(<span style="color: #800000;">&quot;winmgmts://./root/cimv2&quot;</span>).ExecQuery( strQuery )
&nbsp;
	<span style="color: #008000;">'Identify the CPU load
</span>	<span style="color: #8D38C9; font-weight: bold;">For</span> <span style="color: #8D38C9; font-weight: bold;">Each</span> objResult <span style="color: #8D38C9; font-weight: bold;">In</span> colResults
	 	strResults = CStr(objResult.LoadPercentage)
	<span style="color: #8D38C9; font-weight: bold;">Next</span>	
&nbsp;
	oFile1.WriteLine strResults
	oFile1.<span style="color: #8D38C9; font-weight: bold;">Close</span>
	<span style="color: #151B8D; font-weight: bold;">Set</span> oFile1 = <span style="color: #00C2FF; font-weight: bold;">Nothing</span>
	<span style="color: #151B8D; font-weight: bold;">set</span> colResults = <span style="color: #00C2FF; font-weight: bold;">Nothing</span>
	strResults = <span style="color: #800000;">&quot;&quot;</span>
<span style="color: #8D38C9; font-weight: bold;">Next</span></pre></div></div>

<p>This will loop 50 times, waiting 5 seconds between each system query and updating the data file. You could use a while loop to make it an infinite loop if you want and just have it constantly running in the background, but for this example I&#8217;m using a limited loop that runs for just over 4 minutes. Here&#8217;s what the output file looks like after the script has run for a while.<br />
<img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/realtime1a.png?323f2c" alt="computer system status reports" width="332" height="468" /><br />
This is a cool system to query system information for data and then output that info to a constantly-updated text file. This gives you real-time information about anything the Windows WMIC system has available. Just to give you a glimpse of what sort of information is available, take a look at the <a href="http://technet.microsoft.com/en-us/library/ee156538.aspx">Microsoft Technet page</a> on WMIC &#8211; it&#8217;s pretty impressive.</p>
<p>But the real coolness-factor comes from using <a href="http://www.live-graph.org/">LiveGraph</a> &#8211; an open-source plotting tool that will read in the real-time data you&#8217;re writing to the CSV files, and display those in an updated graph display.</p>
<p>When you install and run LiveGraph, you just tell it what CSV file to query, and move the slider over to the left to have the program check the data file every 10 seconds or so.</p>
<p><img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/realtime2.png?323f2c" alt="computer status" width="470" height="300" /></p>
<p>Here is what LiveGraph looks like after the windows script above has been running for a couple of minutes. LiveGraph updates automatically and as more data gets added to the file, the chart scrolls across the screen with the latest CPU load.</p>
<p><img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/realtime1aa.png?323f2c" alt="computer status" width="439" height="487" /></p>
<p>Once you&#8217;ve gotten this far, you can fill a whole screen up with cool real-time graphs of whatever information you&#8217;d like, by adding additional sections to your windows script that query other information about your computer or any computer on your network. For example, I added the following section to query the system for the current battery level of my laptop.</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #008000;">'***Open New File to write Battery Level***
</span><span style="color: #151B8D; font-weight: bold;">Set</span> oFile3 = oFSO.CreateTextFile(sFile3, 1)
&nbsp;
<span style="color: #008000;">'Define the WMI query
</span>strQuery = <span style="color: #800000;">&quot;SELECT * FROM Win32_Battery&quot;</span>
&nbsp;
<span style="color: #008000;">' Run the query
</span><span style="color: #151B8D; font-weight: bold;">Set</span> colResults = <span style="color: #E56717; font-weight: bold;">GetObject</span>(<span style="color: #800000;">&quot;winmgmts://./root/cimv2&quot;</span>).ExecQuery( strQuery )
&nbsp;
<span style="color: #008000;">'Identify the Battery Level
</span><span style="color: #8D38C9; font-weight: bold;">For</span> <span style="color: #8D38C9; font-weight: bold;">Each</span> objResult <span style="color: #8D38C9; font-weight: bold;">In</span> colResults
 	strResults = CStr(objResult.EstimatedChargeRemaining)
<span style="color: #8D38C9; font-weight: bold;">Next</span>	
&nbsp;
oFile3.WriteLine strResults
oFile3.<span style="color: #8D38C9; font-weight: bold;">Close</span>
&nbsp;
<span style="color: #151B8D; font-weight: bold;">Set</span> oFile3 = <span style="color: #00C2FF; font-weight: bold;">Nothing</span>
<span style="color: #151B8D; font-weight: bold;">set</span> colResults = <span style="color: #00C2FF; font-weight: bold;">Nothing</span>
strResults = <span style="color: #800000;">&quot;&quot;</span></pre></div></div>

<p>After adding another section to monitor the realtime level of my hard drive, I finally had three data files accumulating realtime data about my systems.</p>
<p>The beauty here is that you can customize the system with whatever you like &#8211; it doesn&#8217;t have to be computer information, you can poll network status, ping computers on your network, <a href="http://www.makeuseof.com/tag/basic-internet-browser-vba/">query HTML files</a> and extract information that you can display in a real-time graph on your screen.</p>
<p><img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/realtime4.png?323f2c" alt="computer system status reports" width="580" height="593" /></p>
<p>I love the display, and now kick off the windows script on my PC startup, and just make it run in an infinite loop. For now it&#8217;s providing system info about all of the PCs on my network, but plan to play around with extracting real-time info about my overall network bandwidth use and information polled off the net. With VB Script and imagination, the sky&#8217;s the limit.</p>
<p>Give the script and LiveGraph a try, and play around with adding your own information and data to the system. What kind of cool graph displays did you come up with? Share your experiences and thoughts in the comments section below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/create-realtime-computer-status-app-windows-script-livegraph/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How To Control Running Services With The SC Command [Windows]</title>
		<link>http://www.makeuseof.com/tag/control-running-services-sr-command-windows/</link>
		<comments>http://www.makeuseof.com/tag/control-running-services-sr-command-windows/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 22:31:54 +0000</pubDate>
		<dc:creator>Ryan Dube</dc:creator>
				<category><![CDATA[Cool Windows Apps & Tricks]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[pc maintenance]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[system monitor]]></category>
		<category><![CDATA[system tools]]></category>
		<category><![CDATA[troubleshoot]]></category>
		<category><![CDATA[windows processes]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=95838</guid>
		<description><![CDATA[One of the things that I find myself doing much more often since diving into IT is monitoring and checking the status of services running on computers that are running across the company. There is the standard way of managing services which most people use because it's well-known and fairly easy. But what about another way?]]></description>
			<content:encoded><![CDATA[<p><img class="align-right" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/computercode.png?323f2c" alt="services in computer" />One of the things that I find myself doing much more often since diving into IT is monitoring and checking the status of services running in computers across the company.</p>
<p>There is the standard way of managing services which most people use because it&#8217;s well-known and fairly easy. This involves going into Administrative controls or going into the control panel, hunting down the Services utility and doing what you need to do.</p>
<p>If you want to manage the services that are running on a different computer or server on your network, you need to go to computer management, connect to the remote machine, and then manage those services.</p>
<p>There&#8217;s nothing at all wrong with taking this approach &#8211; in fact system administrators everywhere use these standard Windows utilities to manage the infrastructure across the enterprise. But, what if you could monitor, stop and start services by typing in a single line at the command prompt?</p>
<h2>Controlling Services From the Command Line</h2>
<p>You may need to stop services running in a client computer so that you can reinstall some software. Or maybe you need to restart services that are running on a server because some software isn&#8217;t working properly.</p>
<p>Up until now, you&#8217;ve probably managed services on client machines running on your network using the standard services utility. This is the Services tool that you launch in the <em>Administrative Tools</em> section of the control panel.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 1px solid black;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/services1.png?323f2c" alt="services in computer" width="523" height="398" /></p>
<p>In Admin Tools, you can either go directly to the Services tool, or open up computer management if you want to access a different computer on your network.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 1px solid black;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/services2.png?323f2c" alt="running services windows" width="427" height="363" /></p>
<p>To access a different computer, just click action, &#8220;<em>Connect to Another Computer</em>&#8221; and then type the network name of the computer.</p>
<p><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/services3.png?323f2c" alt="running services windows" width="564" height="373" /></p>
<p>Then you can open up the services tool.</p>
<h3>An Easier Way To Manage Services</h3>
<p>So anyway, that&#8217;s the long way. The shorter and faster way is to use the command &#8220;SC&#8221;.</p>
<p>You&#8217;re probably familiar with the NET command. The SC command is nearly identical to NET, except that it can also create a service, in addition to monitoring, stopping and starting them. Best of all, you can issue the SC command against other computers over the network (assuming you have admin rights).</p>
<p>Doing an SC query against a computer will give you all of the installed services and whether they are running. When you issue the command <em>&#8220;SC \\**computer-name** query |more&#8221;</em> &#8211; you&#8217;ll get an output as shown here.</p>
<p><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/sc11.png?323f2c" alt="running services windows" width="574" height="502" /></p>
<p>As you can see, this gives you the state of the service, the type of service and other parameters. For the sake of our exercises here, we&#8217;re going to pay attention to just the state of the services.</p>
<p>If you want to list only the services that are currently not running (stopped), then you would issue the command, <em>&#8220;SC \\**computer-name** query state= &#8220;inactive&#8221; |more&#8221;</em></p>
<p>The |more part of the command makes the output pause on each screen so that you can scroll.</p>
<p><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/sc21.png?323f2c" alt="services running on computer" width="577" height="500" /></p>
<p>As you can see, those services are all stopped. Now, instead of having to dig through all of those services, if you know the name of the service, you can just issue the command <em>&#8220;SC \\**computer-name** query **service-name**&#8221;</em></p>
<p><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/sc31.png?323f2c" alt="services running on computer" width="578" height="145" /></p>
<p>That will report back with the current status of just that service and nothing else. To remotely stop a service, all you have to do is issue the stop command, <em>&#8220;SC \\**computer-name** stop **service-name**&#8221;</em></p>
<p><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/sc41.png?323f2c" alt="services running on computer" width="579" height="156" /></p>
<p>The output will show a state of &#8220;STOP-PENDING&#8221;, but after a few moments, if you query that service again, you&#8217;ll see that it is no longer running. You can start it by issuing the same command, but replacing &#8220;stop&#8221; with &#8220;start&#8221;.</p>
<h3>Creating A Script To Query, Stop Or Start Any Service</h3>
<p>Okay, so now that you&#8217;ve got the basics down, it&#8217;s time to write a script that will stop any service that you want without the need to remember the exact command string. We can do this by writing a trusty Windows Script, as follows.</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;">&lt;script <span style="color: #151B8D; font-weight: bold;">type</span>=<span style="color: #800000;">&quot;text/javascript&quot;</span> language=<span style="color: #800000;">&quot;VBScript&quot;</span>&gt;// &lt;![CDATA[
   <span style="color: #E56717; font-weight: bold;">Option</span> <span style="color: #E56717; font-weight: bold;">Explicit</span> <span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #151B8D; font-weight: bold;">Resume</span> <span style="color: #8D38C9; font-weight: bold;">Next</span> <span style="color: #151B8D; font-weight: bold;">Dim</span> WshShell <span style="color: #151B8D; font-weight: bold;">Dim</span> strInput <span style="color: #151B8D; font-weight: bold;">Dim</span> strComputer <span style="color: #151B8D; font-weight: bold;">Dim</span> x <span style="color: #151B8D; font-weight: bold;">Dim</span> blnGetList <span style="color: #151B8D; font-weight: bold;">Dim</span> strStopStart <span style="color: #151B8D; font-weight: bold;">set</span> WshShell=<span style="color: #E56717; font-weight: bold;">CreateObject</span>(<span style="color: #800000;">&quot;WScript.Shell&quot;</span>) x=0 strComputer = InputBox(<span style="color: #800000;">&quot;Enter the computer or server name:&quot;</span>) <span style="color: #8D38C9; font-weight: bold;">Do</span> <span style="color: #8D38C9; font-weight: bold;">while</span> x=0    <span style="color: #008000;">'Query User for Service to check    strInput = InputBox(&quot;Enter the service name or DONE:&quot;)    If strInput = &quot;DONE&quot; or strInput = &quot;done&quot; then 	x=1    Else 	strStopStart = MsgBox(&quot;Stop Service? Yes-Stop, No-Start&quot;, VBYesNo, &quot;Stop Request&quot;)        'Send commands 	IF strStopStart = vbYes then       	    WshShell.run &quot;cmd.exe&quot;             WScript.Sleep 1000             WshShell.SendKeys &quot;sc \\&quot; &amp;#038; strComputer &amp;#038; &quot; stop &quot; &amp;#038; strInput &amp;#038; &quot; &gt;&gt; c:\temp\results.txt&quot;
</span>            WshShell.SendKeys (<span style="color: #800000;">&quot;{Enter}&quot;</span>)
            WScript.Sleep 1000
            WshShell.SendKeys <span style="color: #800000;">&quot;exit&quot;</span>
            WshShell.SendKeys (<span style="color: #800000;">&quot;{Enter}&quot;</span>)
&nbsp;
         <span style="color: #8D38C9; font-weight: bold;">Else</span>
&nbsp;
      	    WshShell.run <span style="color: #800000;">&quot;cmd.exe&quot;</span>
            WScript.Sleep 1000
&nbsp;
            WshShell.SendKeys <span style="color: #800000;">&quot;sc \\&quot;</span> &amp;#038; strComputer &amp;#038; <span style="color: #800000;">&quot; start &quot;</span> &amp;#038; strInput &amp;#038; <span style="color: #800000;">&quot; &gt;&gt; c:\temp\results.txt&quot;</span>
            WshShell.SendKeys (<span style="color: #800000;">&quot;{Enter}&quot;</span>)
            WScript.Sleep 1000
            WshShell.SendKeys <span style="color: #800000;">&quot;exit&quot;</span>
            WshShell.SendKeys (<span style="color: #800000;">&quot;{Enter}&quot;</span>)
	 <span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #8D38C9; font-weight: bold;">If</span> 
&nbsp;
  <span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #8D38C9; font-weight: bold;">If</span>
&nbsp;
<span style="color: #8D38C9; font-weight: bold;">Loop</span>
&nbsp;
WScript.Quit
// ]]&gt;&lt;/script&gt;</pre></div></div>

<p>When you run this script, it&#8217;ll ask you for the name of the service that you want to stop or start.</p>
<p><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/sc5.png?323f2c" alt="services running on computer" width="363" height="160" /></p>
<p>And then whether you want to stop or start the service.</p>
<p><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/sc7.png?323f2c" alt="" width="188" height="107" /></p>
<p>Using the <em>&#8220;&gt;&gt; c:\temp\results.txt&#8221;</em> command, it outputs the stop and start results and errors to a text file that you can use to see whether the command worked.</p>
<p>When I ran the script above, I followed it up with a quick query of the service before and after running the script.</p>
<p><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/12/sc8.png?323f2c" alt="services in computer" width="576" height="278" /></p>
<p>As you can see, the service I stopped &#8211; helpsvc &#8211; was running. I ran the Windows Script to stop it, queried it, and it was stopped.</p>
<p>If you wanted to get really fancy, you could add a section to the script that outputted all of the currently installed services on the PC to a text file that you could review before deciding which service to stop or start. The command for that would be <em>&#8220;sc \\&#8221; &amp; strComputer &amp; &#8221; query &gt; c:\temp\services.txt&#8221;.</em></p>
<p>As you can see, the SC command can be a pretty powerful and efficient way to manage services on any computer, and if you have some talent with Windows Scripting, you can even automate the process to make your job even easier.</p>
<p>Do you think the SC command could come in handy for you? What about an automated script that runs the command? Share your ideas and thoughts in the comments section below.</p>
<p><small>Image Credit: <a href="http://image.shutterstock.com/display_pic_with_logo/298498/298498,1281943813,1/stock-photo-code-of-php-language-programming-on-blue-59109898.jpg" rel="nofollow">Shutterstock</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/control-running-services-sr-command-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Test Your Computer For Security Misconfigurations With Microsoft Baseline Security Analyzer</title>
		<link>http://www.makeuseof.com/tag/test-computer-security-misconfigurations-microsoft-baseline-security-analyzer/</link>
		<comments>http://www.makeuseof.com/tag/test-computer-security-misconfigurations-microsoft-baseline-security-analyzer/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 16:31:28 +0000</pubDate>
		<dc:creator>Tina Sieber</dc:creator>
				<category><![CDATA[Cool Windows Apps & Tricks]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[analyzer]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[scanner]]></category>
		<category><![CDATA[security tips]]></category>
		<category><![CDATA[troubleshoot]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=77767</guid>
		<description><![CDATA[Microsoft Baseline Security Analyzer (MBSA) is a free tool, designed for IT professionals of small and medium-sized businesses. Given its clear graphical user interface however, it also serves as a great security tool for personal use. MBSA analyzes the security setup of local and networked Windows computers and can identify common misconfigurations or missing updates.]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/06/MBSA06.png"><img class="align-right" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/06/MBSA06.png?323f2c" alt="security misconfiguration" /><a href="http://technet.microsoft.com/en-us/security/cc184923">Microsoft Baseline Security Analyzer</a> (MBSA) is a free tool, designed for IT professionals of small and medium-sized businesses. Given its clear graphical user interface however, it also serves as a great security tool for personal use. MBSA analyzes the <a title="MakeUseOf Tag: Security" href="http://www.makeuseof.com/service/security/">security</a> setup of local and networked Windows computers and can identify common security misconfigurations or missing updates.</p>
<p>You can <a title="Download MBSA 2.2" href="http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&amp;FamilyID=02be8aee-a3b6-4d94-b1c9-4b1989e0900c">download MBSA 2.2</a> from the Microsoft Download Center. It is available for 64-bit (x64) and 32-bit (x86) Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2. Moreover, it comes in four different languages: German (DE), English (EN), French (FR), and Japanese (JA).</p>
<h2>Getting Started</h2>
<p>The startup interface of MBSA is very simple and basically offers only three options: scan a computer, scan multiple computers, or view existing security scan reports. The sidebar also offers links to the program documentation and the Microsoft security website.</p>
<p><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/06/MBSA01.png?323f2c" border="0" alt="security misconfiguration" /></p>
<p>Note that you require Administrator rights for all machines that you wish to scan. You can scan a single or multiple systems based on the computer name or IP address. If you select to scan multiple computers, you need to enter a domain name or a range of IP addresses.</p>
<p>For this demonstration I went with scanning a single computer.</p>
<p><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/06/MBSA02.png?323f2c" border="0" alt="security configuration" /></p>
<p>The scanning options are straightforward, although not necessarily clear for the inexperienced user. If you don&#8217;t understand what some of the options mean, click the &gt; <em>Scanning Options</em> link at the bottom for detailed explanations. The information will load in a separate Internet Explorer window.</p>
<p><img class="aligncenter" style="border: 1px solid black;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/06/MBSA03.png?323f2c" border="0" alt="security configuration" /></p>
<p>The scan merely takes a few seconds and returns an overview of issues found in different categories. Each item is scored and a summary of the result is provided, along with links to further information material.</p>
<p><img class="aligncenter" style="border: 1px solid black;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/06/MBSA04.png?323f2c" border="0" alt="security configuration" /></p>
<p>Checks that were passed receive a green score, items that could not be checked are marked with a grey minus, room for improvements is highlighted by a blue score, a yellow score indicates a non-critical vulnerability and a red score alerts the user to a failed check and thus a critical security issue. Follow the respective links for detailed information about what was scanned or instructions on how an issue can be corrected.</p>
<p>All reports are saved and can be accessed at a later time for reference. You can also print or copy your report to the clipboard.</p>
<p><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/06/MBSA05.png?323f2c" border="0" alt="security misconfiguration" /></p>
<h2>Conclusion</h2>
<p>Microsoft Baseline Security Analyzer is a very good tool to quickly get an overview of security-related settings on your Windows machine. Instructions for correcting detected security misconfigurations are very clear and should therefore be easy to follow for the average user. Overall, the documentation is surprisingly detailed and well done, almost as if Microsoft expected non-IT folks to use this tool.</p>
<p>It must be said though that fixing most configurations does require some basic understanding of how Windows works. For example an issue with the file system is not necessarily security relevant and the instructions do not provide information on how to find the drive that doesn&#8217;t run NTFS. Moreover, some issues require advanced knowledge and should be left to the experts to be fixed, for example setting a password expiration.</p>
<p>For more information, also have a look at this article from Microsoft Patterns &amp; Practices: <a title="How To: Use the Microsoft Baseline Security Analyzer" href="http://msdn.microsoft.com/en-us/library/ff647642.aspx">How To Use the Microsoft Baseline Security Analyzer</a>.</p>
<p>What is your opinion? Do you think this is a useful tool? Please share your thoughts!</p>
<p><small>Image credits: <a rel="nofollow" href="http://www.shutterstock.com/pic.mhtml?id=59716684">beboy</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/test-computer-security-misconfigurations-microsoft-baseline-security-analyzer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>6 Must-Have Apps For Computer Repair Technicians</title>
		<link>http://www.makeuseof.com/tag/6-musthave-apps-computer-repair-technicians/</link>
		<comments>http://www.makeuseof.com/tag/6-musthave-apps-computer-repair-technicians/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 15:31:54 +0000</pubDate>
		<dc:creator>Matt Smith</dc:creator>
				<category><![CDATA[Cool Software Apps]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[anti-virus]]></category>
		<category><![CDATA[benchmarking]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[tech support]]></category>
		<category><![CDATA[troubleshoot]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=60803</guid>
		<description><![CDATA[Computers are complex pieces of electronics and, unfortunately, they tend to go astray quite often. Knowledgeable geeks can fix these problems quickly, but to the average user, a Blue Screen of Death is as useful as receiving a pie to the face. This, of course, is why people hire computer repair technicians. It&#8217;s also why your grandparents think [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/12/computerrepairthumb1.png"><img class="align-left" style="border: 0px none; margin-left: 20px; margin-top: 5px; float: right;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/12/computerrepairthumb1.png?323f2c" alt="computer repair technician " width="240" height="176" />Computers are complex pieces of electronics and, unfortunately, they tend to go astray quite often. Knowledgeable geeks can fix these problems quickly, but to the average user, a <a href="http://www.makeuseof.com/tag/4-tips-fix-blue-screen-error">Blue Screen of Death</a> is as useful as receiving a pie to the face. This, of course, is why people hire computer repair technicians. It&#8217;s also why your grandparents think that you are one because you know how to change the homepage in Internet Explorer.</p>
<p>If you are ever faced with the task of repairing computers &#8211; either professionals or as an amateur &#8211; it&#8217;s important to have the right tools. This includes software that can help you pinpoint and solve system errors. Let&#8217;s have a look at six programs that can save you a lot of time.</p>
<p><span id="more-60803"></span></p>
<h2><a href="http://www.cpuid.com/softwares/pc-wizard.html">PC Wizard</a></h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/12/computerrepair1.png?323f2c" alt="pc computer repair" width="498" height="265" /></p>
<p>Properly diagnosing and repairing a computer requires knowledge about what is inside it. Some information, like the processor that a computer has and the amount of RAM installed, is extremely easy to come across. But other information, like the exact model of motherboard or hard drive, can be more difficult to determine. This is particularly true in pre-built systems from companies like Dell, as they often do not include technical information about their PCs.</p>
<p>PC Wizard is the easy solution to this issue. This software scans a PC and returns detailed information about the components inside. This includes everything from the audio controller to the motherboard chipset. You&#8217;ll also be able to see the temperature of the processor, video card, and hard drive (provided the system has those sensors installed).</p>
<h2><a href="http://www.ocbase.com/perestroika_en/index.php?Download">OCCT </a>and <a href="http://www.ozone3d.net/benchmarks/fur/">Furmark</a></h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/12/computerrepair2.jpg?323f2c" alt="computer repair technician" width="416" height="406" /></p>
<p>Many computer problems are caused by stress placed on components as they reach maximum load. It is not hard for a processor to run well when it is only using 25% of it&#8217;s potential, but when maxed to 100% it begins to generate significantly more heat and draw far more power. This can expose problems with a computer&#8217;s cooling solution or power supply that are otherwise not an issue.</p>
<p>Controlled stress tests reveal these issues. My two favorite programs are OCCT (for the CPU) and Furmark (for the GPU). Each program can put a load on a processor or video card that will replicate what happens when a program demands everything these components have to give.</p>
<h2><a href="http://download.cnet.com/Malwarebytes-Anti-Malware/3000-8022_4-10804572.html">MalwareBytes Anti-Malware</a></h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/12/computerrepair3.jpg?323f2c" alt="pc computer repair" width="570" height="328" /></p>
<p>Malware is one of the most common causes of computer problems. Unsuspecting folks download the wrong file, and now suddenly their processor seems to be running at 80% or higher usage no matter what they&#8217;re doing, or their homepage has been changed to llamas.com.</p>
<p>This is where a <a href="http://www.makeuseof.com/tag/stop-and-delete-spyware-with-malwarebytes-windows-only/">free malware program like MalwareBytes</a> is handy. You can install it free of charge on as many computers as you&#8217;d like and use it to try and find and remove the malware that is causing innocent folks so much trouble. Cleaning up malware on an already-infected computer is tricky, so don&#8217;t expect this (or any other) anti-malware software to perform magic, but this program will give you one more tool for tackling the problem.</p>
<h2><a href="http://www.revouninstaller.com/start_freeware_download.html">Revo Uninstaller</a></h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/12/computerrepair4.jpg?323f2c" alt="pc computer repair" width="431" height="450" /></p>
<p>One problem that often confronts computer repair technicians is a program that won&#8217;t uninstall properly. The program may be consuming disk space, or interfering with other programs, and you&#8217;d like to remove it. Yet the built-in uninstaller fails every time.</p>
<p><a href="http://www.makeuseof.com/tag/revo-uninstaller-will-hunt-down-your-bloatware/">Revo Uninstaller </a>is a program tailored to defeat such problems. It can track down the different components and registry entries of a program and kill them. In my experience it can remove about 80% of the programs that have previously failed to uninstall through conventional methods, and you may want to simply use Revo Uninstaller by default, as it cleans up after programs more throughly than the default uninstallers usually do.</p>
<h2><a href="http://www.sisoftware.net//?d=dload&amp;f=sware_dl_3264&amp;l=en&amp;a=">SiSoft Sandra 2011 Lite</a></h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/12/computerepair6.jpg?323f2c" alt="computer repair technician" width="549" height="514" /></p>
<p><a href="http://www.makeuseof.com/tag/5-free-benchmark-programs/">You can learn a lot about a computer by benchmarking it</a>. Hardware is hardware &#8211; it is made to precise specifications, and there is very little variation between various examples of a similar product. This creates a good baseline to compare the performance of a computer to, which in turn makes it easier to find where problems might be occurring. Benchmarks can also be handy because, in some cases, a problem assumed to be a hardware defect isn&#8217;t one at all. Instead, the problem is that the hardware just isn&#8217;t up to handling what the user is demanding from it.</p>
<p>There are a lot of useful free benchmarks, but SiSoft Sandra remains one of the most full-featured and robust examples.  The benchmarks included can be used to gauge the performance of hard drives, processors, video cards, memory and more. In addition, SiSoft Sandra offers some comparative examples of benchmarks run using similar hardware. This can help you determine if a computer is behaving normally.</p>
<p>While I find SiSoft Sandra&#8217;s benchmarks to be the most compelling feature, the program offers a number of other tools and hardware information utilities. I find other options to be better in these areas, but the extra tools are handy to have, and some users may prefer them.</p>
<h2>Conclusion</h2>
<p>The 5 must-have apps listed here are ones that I&#8217;ve used in the past. They&#8217;re great programs &#8211; but given the expansive universe of programs available, they&#8217;re surely not the only ones around. If you know of a program that would be useful for computer repair technicians feel free to throw some love on it in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/6-musthave-apps-computer-repair-technicians/feed/</wfw:commentRss>
		<slash:comments>43</slash:comments>
		</item>
		<item>
		<title>Monitor Your Computer Better With Process Hacker</title>
		<link>http://www.makeuseof.com/tag/monitor-computer-process-hacker/</link>
		<comments>http://www.makeuseof.com/tag/monitor-computer-process-hacker/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 15:31:30 +0000</pubDate>
		<dc:creator>Matt Smith</dc:creator>
				<category><![CDATA[Cool Software Apps]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[system monitor]]></category>
		<category><![CDATA[system tools]]></category>
		<category><![CDATA[windows processes]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=53990</guid>
		<description><![CDATA[Windows Task Manager has evolved into a reasonably good utility. It offers a lot of information about what your computer is doing at any particular moment; the programs running, the load on the processor, and network activity are displayed. There are limits to what Windows Task Manager can do for you however. If you&#8217;re interested [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/09/processhackerthumb.png"><img class="align-left" style="border: 0px none; margin-left: 20px; margin-top: 5px; float: right;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/09/processhackerthumb.png?323f2c" alt="monitor your computer" width="265" height="171" /><a href="http://www.makeuseof.com/tag/customizing-windows-task-manager-liking-task-manager-modder/">Windows Task Manager </a>has evolved into a reasonably good utility. It offers a lot of information about what your computer is doing at any particular moment; the programs running, the load on the processor, and network activity are displayed.</p>
<p>There are limits to what Windows Task Manager can do for you however. If you&#8217;re interested in the real nitty-gritty details of your computer&#8217;s inner workings you&#8217;ll need something better, stronger, faster &#8211; something like <a href="http://processhacker.sourceforge.net/">Process Hacker</a>.</p>
<p><span id="more-53990"></span></p>
<h2>Monitoring Processes</h2>
<p>When you install and open Process Hacker you&#8217;ll be presented with a window that has three tabs. They are &#8211; from left to right &#8211; <em>Processes, Services</em> and <em>Network.</em></p>
<p><a href="http://www.makeuseof.com/tag/3-tools-to-manage-processes-better-windows/">Processes </a>is the tab that will be open first by default. Like the Windows Task Manager, this tab of Process Hacker shows all of the programs and applications that are currently running on your computer. This includes programs that are running in the foreground and those that are running in the background.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/09/processhacker11.png?323f2c" alt="monitor your computer" width="570" height="407" /></p>
<p>There are a couple of features here that make Process Hacker more useful than Windows Task Manager. The information that appears in Process Hacker is organized into trees (you have to enable <em>Show All Processes</em> for this to display) that show which currently open processes rely on each other.</p>
<p>For example, closing <em>explorer.exe</em> in Windows typically causes a number of other programs to also shut down and restart. These programs are listed under <em>explorer.exe</em> in Process Hacker, so you know at a glance that shutting down <em>explorer.exe</em> would probably cause these programs to terminate.</p>
<p>Process Hacker also color-codes processes. The color-code chart can be found by going to <em>Hacker &#8211;&gt; Options &#8211;&gt; Highlighting</em>. This lets you quickly determine if a program is a system process, a prioritized program, etc. That information can be useful when hunting down background programs that aren&#8217;t essential.</p>
<h2>Good Service</h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/09/processhacker2.png?323f2c" alt="computer processes" width="545" height="420" /></p>
<p>The <em>Service</em> tab in Process Hacker shows you all of the different Windows services (most of them are drivers) that are on your computer. It is extremely detailed and picks up on information that Windows Task Manager will not show. Process Hacker also provides useful information about the current state of the service. The information to the right details the type of service (driver or process) current state of the service (running or stopped) and how the service is set to start (boot, demand or automatic).</p>
<p>There is so much service information in Process Hacker that, to be frank, it can be bewildering even for a generally tech-savvy computer user. I suggest sorting the Service tab by Running/Stopped before delving into it deeply, as the services that are running are usually the most important.</p>
<h2>Networking Details</h2>
<p>Perhaps the clearest advantage Process Hacker has over Windows Task Manager can be found in the <em>Network</em> tab. Windows Task Manager has a Network tab as well, of course, but it only shows overall network utilization.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/09/processhacker3.png?323f2c" alt="computer processes" width="550" height="420" /></p>
<p>Process Hacker goes far deeper. Instead of showing overall network utilization it provides in-depth information about the network connections your computer currently has opened, the IP addresses involved, and the protocol being used. The tab &#8211; like all tabs &#8211; updates in real-time, and Process Hacker highlights connections that are brand new or recently terminated.</p>
<p>The functionality here is advanced, but can be useful for troubleshooting network problems or searching for a program that you suspect is accessing the Internet without your permission.</p>
<h2>Other Useful Features</h2>
<p>One of my favorite features in Process Hacker is the ability to search for a process by its name. Let&#8217;s say, for example, that for some reason I want to find eveything on my computer related to running Dropbox. I can do this by going to <em>Hacker &#8211;&gt; Find Handles and DLLs</em> and then typing in <em>Dropbox</em>. All the processes related to it will pop up!</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/09/processhacker4.png?323f2c" alt="monitor your computer" width="538" height="429" /></p>
<p>Process Hacker can also find and terminate processes that are trying to hide on your computer, such as <a href="http://www.makeuseof.com/tag/how-to-get-rid-of-a-trojan-horse-virus-that-wont-go-away/">Trojans or Rootkit software</a>. You can access this utility by clickng on <em>Tools &#8211;&gt; Hidden Processes</em>. Any hidden processes active are highlighted in red, and you can then select them and attempt to terminate them. This isn&#8217;t exactly a security suite, and I don&#8217;t recommend it as your sole means of combating malware, but it can be handy.</p>
<p>Finally, Process Hacker includes graphs like Windows Task Manager. They can be accessed by clicking on <em>View &#8212;&gt; System Information</em>. This is one area where Windows Task Manager is actually better, because the graphs are larger and clearer.</p>
<h2>Conclusion</h2>
<p>Process Hacker is a great program, and far more capable than Windows Task Manager. It can be confusing to use because of the level of detail it provides, so be prepared to deal with a learning curve if you&#8217;re not already well versed on what &#8220;processes&#8221; and &#8220;services&#8221; do. Once you get the hang of things however, you&#8217;ll find that Process Hacker is better than Windows Task Manager in almost every way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/monitor-computer-process-hacker/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Get Easy Access Control &amp; Security Features with WinGuard Pro</title>
		<link>http://www.makeuseof.com/tag/easy-access-control-security-features-winguard-pro/</link>
		<comments>http://www.makeuseof.com/tag/easy-access-control-security-features-winguard-pro/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 16:30:39 +0000</pubDate>
		<dc:creator>Varun Kashyap</dc:creator>
				<category><![CDATA[Cool Windows Apps & Tricks]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[parental control]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=50921</guid>
		<description><![CDATA[Windows has been constantly improving the access control and parental control functionality. Windows 7 for instance, does a lot of these very well. The problem however is that most of the features are not available in every edition of Windows 7 and even if they are available, they would be buried deep down inside Control [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/08/wgplogo.png" /><img style="border: 0px none;margin-left:20px;float:right;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/08/wgplogo.png?323f2c" alt="computer security software"/>Windows has been constantly improving the access control and <a href="http://www.makeuseof.com/tag/5-free-parental-control-software-that-will-set-your-mind-at-ease-n/">parental control</a> functionality. Windows 7 for instance, does a lot of these very well. The problem however is that most of the features are not available in every edition of Windows 7 and even if they are available, they would be buried deep down inside Control Panel &#8212; which as some of you would attest to, is unchartered territory! </p>
<p>WinGuard Pro offers to simplify a lot of these tasks by providing a number of such functions bundled together in a tiny little utility.</p>
<p><span id="more-50921"></span><br />
You can download the WinGuard Pro computer security and access control software <a href="http://www.WinGuardpro.com/">here</a>. The download size is under 1 MB and the software installs in a snap. It does however require you to restart your computer. Once you log back in, you can access WinGuard Pro and its features.</p>
<p>The main user interface for WinGuard Pro is the configuration tool. The tool is locked on first run and the default password is &#8220;<strong>LETMEIN</strong>&#8220;. Key it in to get access to WinGuard Pro&#8217;s feature set. Let&#8217;s review some of the features and have a look at what WinGuard Pro offers. </p>
<p>Once you log into the Configuration tool, you are presented with a tabbed interface that gives you access to WinGuard Pro&#8217;s features.</p>
<h2>Lock down programs or tasks</h2>
<p>WinGuard Pro lets you lock down specific programs, folders or tasks via the Tasks tab. Just place a check against the application/feature or folder that you want to lock down and WinGuard Pro will prevent the standard user from accessing the program/feature or the folder.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/08/taskstabwgp.png?323f2c" alt="computer security software"/></p>
<p>Now whenever Notepad is accessed, the user will have to enter a password before he/she can use it. There are a number of options available that you can lock via a simple check within this tab. The options range from the command prompt, System Restore, etc. with security in mind; to Windows Media Player, Messenger with parental controls in mind.</p>
<h2>File and Folder Encryption</h2>
<p>WinGuard Pro also lets you encrypt and decrypt files and folders according to your choice. Be warned that this might not be the solution you are looking for if you want to encrypt an <a href="http://www.makeuseof.com/tag/encrypt-your-usb-stick-with-truecrypt-60/">entire partition or a USB drive</a>. <a href="http://www.makeuseof.com/tag/encrypt-sensitive-data-with-truecrypt/">Truecrypt</a> is your best bet in that case. However, if you want to encrypt a folder or two without getting obsessed with encryption and all the plethora of options that accompany any decent encryption software, WinGuard Pro lets you do that.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/08/encryptwgp.png?323f2c" /></p>
<p>Just browse for the folder you want to encrypt, choose a folder and you are done. To read files, click the Decrypt button, browse to the folder and key in your password!</p>
<h2>Prevent selected actions on the computer</h2>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/08/morewgp.png?323f2c" alt="best computer security software"/></p>
<p>Next up, lets have a look at the More tab. In here, you can lock down actions like file download and software installation along with certain Windows features like Task Manager and Windows Explorer. You can also go a step beyond and lock down all browsers if you so please.</p>
<p>In addition, there are other options that can help you streamline how WinGuard Pro functions and behaves. You can for instance, exclude the Administrator account from all the access control features. That is you will be able to log in as the administrator and do all your chores as if WinGuard Pro never existed. All other accounts except the Administrator account are treated as the Standard user accounts. You can also deploy the same configuration to different computers by using the Import/Export functionality.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/08/importexportwgp.png?323f2c" alt="best computer security software" /></p>
<p>On the whole, <a href="http://www.WinGuardpro.com/">WinGuard Pro</a> is a feature-rich, no fuss and functional software for access control. On the down side, it&#8217;s not free from issues. The UI could be improved a lot. As an example, consider this &#8211; what do you expect to see when you want to browse for a folder that you want to encrypt? A browse button perhaps? In here, you would have to click on the label to get the browse dialog. Everything detailed above is available in the free version of the software. You can also purchase a premium version of the software that gives you finer control over application lock down and folder encryption. The premium version is also available as a 60-day trial. </p>
<p>What are you favorite access control software for Windows? Let us hear about them in comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/easy-access-control-security-features-winguard-pro/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Monitor What&#8217;s Really Going On With Your PC With System Explorer</title>
		<link>http://www.makeuseof.com/tag/monitor-pc-system-explorer/</link>
		<comments>http://www.makeuseof.com/tag/monitor-pc-system-explorer/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 16:31:56 +0000</pubDate>
		<dc:creator>Ryan Dube</dc:creator>
				<category><![CDATA[Cool Software Apps]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[pc maintenance]]></category>
		<category><![CDATA[system monitor]]></category>
		<category><![CDATA[task manager]]></category>
		<category><![CDATA[troubleshoot]]></category>
		<category><![CDATA[windows tips]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=50147</guid>
		<description><![CDATA[One of the biggest problems with being addicted to new software is the tendency for &#8220;leftover&#8221; processes and files to remain throughout my PC &#8211; sometimes even viruses, adware or malware. One of the reasons I was most motivated to write this article for MakeUseOf was because I found that my computer startup time was [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/07/systemexplore.jpg"><img class="align-left" style="border: 0px none; margin-left: 20px; margin-top: 5px; float: right;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/07/systemexplore.jpg?323f2c" alt="system explorer" />One of the biggest problems with being addicted to new software is the tendency for &#8220;leftover&#8221; processes and files to remain throughout my PC &#8211; sometimes even viruses, adware or malware.</p>
<p>One of the reasons I was most motivated to write this article for MakeUseOf was because I found that my computer startup time was crawling, and I would always end up with two or three windows opening that I didn&#8217;t recognize. Annoyed with my inability to see everything  going on with my computer, I decided to strike out in search for a killer application that would give me that power back.</p>
<p>I am pleased to report that the free utility called <a href="http://www.systemexplorer.net/">System Explorer</a> will return power over your own computer back to you.</p>
<p><span id="more-50147"></span></p>
<h2>Use System Explorer To See Every System Detail</h2>
<p>The reason that my own computer usually gets so muddied up with junk is not because I don&#8217;t know how to track down the running processes, identify the culprits and eradicate the files. The problem is that I just don&#8217;t have time to dig through the system to find dll&#8217;s, startup folders, services, registry keys and everything else.</p>
<p>Here at MakeUseOf, we&#8217;re always trying to offer advice on how to troubleshoot your computer problems. Bakari wrote a great writeup with <a href="http://www.makeuseof.com/tag/troubleshooting-resources-to-help-you-fix-your-mac-problems/">8 troubleshooting resources</a> for Mac users, and Saikat covered how to troubleshoot Windows with <a href="http://www.makeuseof.com/tag/how-to-troubleshoot-your-windows-with-the-msconfig-utility/">MSConfig</a>.</p>
<p>The beauty of System Explorer is that it collects, organizes, and rearranges all of the information you need about your system into one central location.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 1px solid black;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/07/sysex1.jpg?323f2c" alt="system explorer" width="534" height="428" /></p>
<p style="text-align: left;">There are obviously a few items that you could see by just doing a quick Ctrl-Alt-Delete and opening your Task Manager. However, the Processes display is actually an enhanced version of the Task Manager processes list.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 1px solid black;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/07/sysex2.jpg?323f2c" alt="diagnose computer problem cpu usage system explorer" width="558" height="423" /></p>
<p>How is this view enhanced? Well, it not only lists every single process running on your machine, as well as all of the details about each process &#8211; but if you see one that&#8217;s questionable, you don&#8217;t have to try and guess what it is.  If you click on the &#8220;Check&#8221; link, you&#8217;ll go to an online database of file type explanations and reviews from experts regarding whether or not the file is considered safe or unsafe.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 1px solid black;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/07/sysex3.jpg?323f2c" alt="diagnose computer problem cpu usage system explorer" width="573" height="321" /></p>
<h2>Troubleshooting System Problems</h2>
<p>Let&#8217;s face it, sometimes even the best antivirus apps will not pick up on some of the latest threats. Harmful programs eventually make it onto your PC. A good place the start is the System Performance display, which provides a graphical view of processor, network and RAM usage &#8211; and much more.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 1px solid black;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/07/sysex4.jpg?323f2c" alt="diagnose computer problem cpu usage system explorer" width="546" height="489" /></p>
<p>As you&#8217;re reviewing each process that&#8217;s running, you can also right click a file, click &#8220;<em>File Check</em>&#8221; and use either VirusTotal.com or Jotti.org to check if the file is a virus.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 1px solid black;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/07/sysex5.jpg?323f2c" alt="computer processes" width="521" height="440" /></p>
<p>Is your network graph maxed out? If it appears that your Internet bandwidth has been hijacked, then click on the &#8220;<em>Connections</em>&#8221; option in the left menu and you&#8217;ll see every last process that&#8217;s accessing the Internet, the protocol being used, and the &#8220;to&#8221; and &#8220;from&#8221; domain addresses. This can help you identify applications that are sending traffic to questionable domains.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 1px solid black;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/07/sysex6.jpg?323f2c" alt="computer processes" width="507" height="464" /></p>
<p>Clicking &#8220;<em>Startups</em>&#8221; displays every program configured to launch up on startup. This include shortcuts in your Startup folder, and items in your registry. See one that you don&#8217;t want? Just right click and disable or delete.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 1px solid black;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/07/sysex7.jpg?323f2c" alt="computer processes" width="515" height="426" /></p>
<h2>Other Cool Features</h2>
<p>If you click &#8220;<em>Additional Info</em>,&#8221; you&#8217;ll find your processor speed, used and free memory, drivers, registered DLLs, and even every font that&#8217;s installed on your system!</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 1px solid black;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/07/sysex8.jpg?323f2c" alt="" width="505" height="449" /></p>
<p>When you&#8217;re satisfied that you have your computer cleaned up and things running smoothly again, you can perform a quick &#8220;snapshot&#8221; of your system. Later, when your computer starts acting strangely again, take another snapshot and compare the two. System Explorer will tell you files and registry keys that have been added since you took the first snapshot.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 1px solid black;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/07/sysex9.jpg?323f2c" alt="" width="545" height="532" /></p>
<p>Even when you&#8217;re not using System Explorer, you can keep it running in the task bar. Just hover your mouse over the icon and get a quick look at the current behavior of your system, including CPU stats, memory usage and battery life.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 1px solid black;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/07/sysex11.jpg?323f2c" alt="system explorer" width="407" height="263" /></p>
<p>System Explorer helped me to resolve my system startup issues, and I plan to use the snapshot utility often to identify any new issues that crop up.</p>
<p>Have you ever tried System Explorer? What do you think? Do you know any other similar free system troubleshooting tools like this? Share your insight in the comments section below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/monitor-pc-system-explorer/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>4 Reasons Every Windows User Should Have An Ubuntu Live CD</title>
		<link>http://www.makeuseof.com/tag/4-reasons-windows-user-ubuntu-live-cd/</link>
		<comments>http://www.makeuseof.com/tag/4-reasons-windows-user-ubuntu-live-cd/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 16:31:54 +0000</pubDate>
		<dc:creator>Justin Pot</dc:creator>
				<category><![CDATA[Cool Linux Apps & Tips]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[live CD]]></category>
		<category><![CDATA[pc maintenance]]></category>
		<category><![CDATA[recover]]></category>
		<category><![CDATA[tech support]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=48894</guid>
		<description><![CDATA[Think Ubuntu is useless? Think again. Ubuntu can be an extremely effective tool for repairing and working on computers, even if you consider yourself a Windows purist. This is because Ubuntu is capable of loading completely from a Ubuntu Live CD, giving you access to your computer in ways Windows can&#8217;t &#8211; or when Windows [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/05/UBN001581.jpg"><img class="align-left" style="border: 0px none; margin-left: 20px; margin-top: 5px; float: right;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/05/UBN001581.jpg?323f2c" alt="ubuntu live cd" width="204" height="240" />Think <a href="http://www.makeuseof.com/tags/ubuntu">Ubuntu</a> is useless? Think again. Ubuntu can be an extremely effective tool for repairing and working on computers, even if you consider yourself a Windows purist. This is because Ubuntu is capable of loading completely from a Ubuntu Live CD, giving you access to your computer in ways Windows can&#8217;t &#8211; or when Windows is completely broken.</p>
<p>For this reason, I suggest every Windows user keeps a copy of Ubuntu on hand, even if they never intend to switch from Windows. Happily, Ubuntu is completely free to aquire. You can <a href="http://www.ubuntu.com/desktop/get-ubuntu/download">download Ubuntu</a> and burn it yourself, but if that sounds like too much work you can request Ubuntu <a href="https://shipit.ubuntu.com/">send you a Ubuntu Live CD for free</a>.</p>
<p><span id="more-48894"></span><br />
That&#8217;s right: you&#8217;ll get a CD in the mail, completely free of charge. There&#8217;s seriously no reason to not look into this, so let&#8217;s see some of the uses Ubuntu has for those who never intend to install it.</p>
<h2>Recover Data From Unbootable System</h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/07/bluescreen.png?323f2c" alt="ubuntu live" width="578" height="185" /></p>
<p>When your Windows system won&#8217;t start &#8211; not even in safe mode &#8211; it&#8217;s easy to feel helpless. If you&#8217;ve got an Ubuntu CD handy you don&#8217;t need to feel that way. Just boot from your CD and you can access every file on your hard drive. This can give you a chance to get some work done, if you want, or just to back up all of your files before re-installing Windows or attempting to repair the Windows installation.</p>
<p>If you want more information on this particular use for an Ubuntu Live CD, including information on how to burn one, check out Varun&#8217;s excellent article <a href="http://www.makeuseof.com/tag/how-to-back-up-data-on-your-computer-that-wont-boot/">How To Back Up Data On Your Computer That Won&#8217;t Boot</a>. There&#8217;s a lot of great information there!</p>
<h2>Run Memtest</h2>
<p>If your computer crashes from time to time it&#8217;s easy to suspect your problem is software related. It might not be &#8211; frequently the cause of such bugginess is a problem with your RAM chip. If you suspect this might be the case with your system, and you&#8217;ve got an Ubuntu CD on hand, you&#8217;re in luck: the Ubuntu CD comes with a memtest!</p>
<p>Just start the CD, being sure to hit &#8220;<em>Enter</em>&#8221; when you see the keyboard icon on the screen. Then select &#8220;<em>memtest</em>&#8221; from the list of options to begin testing your RAM. If there&#8217;s something physically wrong with your RAM you&#8217;ll find out and know that it&#8217;s time to shop for a replacement!</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/03/memtestinterface.png?323f2c" alt="ubuntu live cd" width="540" height="301" /></p>
<p>Find out more about Memtest courtesy of our good friend Varun,  and his excellent article <a href="http://www.makeuseof.com/tag/memtest-awesome-tool-test-computers-memory-errors/">about Memtest,</a></p>
<h2>Find Out About Your Hard Drive</h2>
<p>Another reason for an occasionally crashing or sometimes slow Windows computer is a failing hard drive, or one that is too slow. Ubuntu comes with a couple of really good tools for accessing the health of your hard drive.</p>
<p>The first is <em>Disk Utility</em>, which you&#8217;ll find under &#8220;<em>System</em>,&#8221; then &#8220;<em>Administration</em>.&#8221; This app will tell you if any disk connected to your system has physical damage, as well as giving you access to SMART DATA and a couple of other key statistics that can inform you about the life of your drive.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/07/disk-usage.png?323f2c" alt="ubuntu live" width="580" height="186" /></p>
<p>Another nifty tool is <em>Disk Usage Analyzer</em>, which you&#8217;ll find under &#8220;<em>Applications</em>&#8221; followed by &#8220;<em>Accessories</em>.&#8221; This tool can scan any hard drive and graphically display what&#8217;s taking up space on your drive. You&#8217;d be amazed how many times I&#8217;ve discovered people have filled their drive by accidently copying and pasting their entire music folder. Use this tool to find where any such superfluous files may be and then use the File Manager to delete them!</p>
<h2>Edit Partitions</h2>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/07/gparted.png?323f2c" alt="ubuntu live cd" width="579" height="189" /></p>
<p>The Ubuntu CD comes with Gparted, which is a pretty amazing drive partitioning program. If you&#8217;re looking to re-size your Windows partition, or turn some empty space into a secondary partition, this is the tool you&#8217;re looking for. That Ubuntu runs as a Live CD is particularly useful here, because you cannot edit your primary partition from within Windows.</p>
<p>Find Gparted under &#8220;<em>System</em>&#8221; followed by &#8220;<em>Administration</em>.&#8221; If you&#8217;re familar with Partition Magic or similar software you should feel right at home; if not, I&#8217;ll be writing all about Gparted in the weeks to come!</p>
<h2>Conclusion</h2>
<p>Do you need the Ubuntu CD to do these things? No; I&#8217;m certain our commenters will point out a wide variety of alternatives. My only point is that if you have an Ubuntu Live CD on hand you can quickly do all these things. Seeing as Ubuntu is completely free I figure it&#8217;s good to have the option.</p>
<p>What do you think? Is it handy to have a Ubuntu CD around even if you never intend to install it? Do you have any stories of data saved or computer diagnosed because of the tools that come with Ubuntu? Have a seat, grab yourself a drink and let us know what you think in the comments below!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/4-reasons-windows-user-ubuntu-live-cd/feed/</wfw:commentRss>
		<slash:comments>60</slash:comments>
		</item>
		<item>
		<title>Two Apps To Easily Create Network Firewall Rules For Ubuntu</title>
		<link>http://www.makeuseof.com/tag/programs-easily-create-network-firewall-rules-ubuntu-linux/</link>
		<comments>http://www.makeuseof.com/tag/programs-easily-create-network-firewall-rules-ubuntu-linux/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 17:31:19 +0000</pubDate>
		<dc:creator>Varun Kashyap</dc:creator>
				<category><![CDATA[Cool Linux Apps & Tips]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[security tips]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=45136</guid>
		<description><![CDATA[Linux is one of the most secure operating systems out there. Generally, you don&#8217;t need an antivirus, files cannot execute without your permission and there is a lot to protect you from people with malicious intent. One common tool that system administrators and home users use alike is the firewall. A firewall, in the crudest [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/firewallpainting.jpg" /> <img class="align-left" style="border: 0px none; margin-left: 20px; margin-top: 5px; float: right;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/firewallpainting.jpg?323f2c" alt="network firewall rules" />Linux is one of the most secure  operating systems out there. Generally, you don&#8217;t need an antivirus, files cannot execute without your permission and there is a lot to protect you from people with malicious intent. One common tool that system administrators and home users use alike is the <a href="http://www.makeuseof.com/tag/muo-polls-what-firewall-software-do-you-use/">firewall</a>.</p>
<p>A <a href="http://www.makeuseof.com/tag/technology-explained-what-is-the-definition-of-a-firewall/">firewall</a>, in the crudest of forms, just intercepts the incoming packets, and sees what to do with them, before they are sent to their destined applications on your computer or forwarded elsewhere. The &#8220;<em>see what to do with them</em>&#8221; part comes from a set of user defined network firewall rules that decides whether or not to accept or reject a packet.</p>
<p>The Linux kernel has a built in filtering system that can accept or reject a packet depending upon a set of rules, which is essentially what we want. The remaining thing is then how we can specify these rules.</p>
<p><span id="more-45136"></span><br />
By default, Ubuntu and other Linux distributions include the <em>iptables</em> utility that can be used to define and manage network firewall rules that are applied to the network traffic through the computer under question. The thing about iptables is that the command line switches and options are very cryptic and there are <a href="http://dev.medozas.de/files/xtables/iptables.html">at least a few hundred of those</a>. In other words it&#8217;s far from what you would call user friendly.</p>
<p>Here is an example of a typical iptables rule:</p>
<p><strong># iptables -A INPUT -s xmail.spammer.ru -d 10.4.5.6 -p tcp &#8211;dport 25 -j REJECT</strong></p>
<p>Things should be a lot easier, don&#8217;t you think?. I mean, there are <a href="http://www.makeuseof.com/tag/7-security-tools-you-absolutely-must-have/">software available for Windows</a> that will give you a fully functional firewall out of the box, which you can modify later. And indeed there are a number of software that can help you configure a firewall easily on Linux as well.</p>
<h3><strong>UFW &amp; GuFW</strong></h3>
<p>For Ubuntu users there is the <strong>Uncomplicated Firewall</strong> (also called UFW). UFW is also a command line utility, although it has a much simpler syntax. First you allow or deny all incoming/outgoing connections as the need may be and then selectively enable or disable the traffic at said ports, or from certain hosts or for certain services. Perhaps an example would make things a lot more clear:</p>
<p><em>ufw allow 8080/tcp</em> allows all access to the port 8080. Similarly <em>ufw deny 21</em> denies all access to port 21 (or FTP)</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/Selection_009.png?323f2c" alt="network firewall rules" width="534" height="179" /></p>
<p>UFW also has a graphical frontend called GuFW. It provides you with a graphical interface that can be used to create the most sophisticated of rules, without any need to remember the switches and options for UFW. You can install it via the Ubuntu Software Center, or you can use the <strong>sudo apt-get install gufw</strong> command as well.</p>
<h3><strong>Firestarter</strong></h3>
<p>Firestarter is yet another popular tool, that makes Linux firewall configuration a lot easier. Again you can find and install Firestarter via the Ubuntu Software Center, or use <strong>sudo apt-get install firestarter</strong>.</p>
<p>Unlike GuFW, which is simply a GUI front-end for the UFW utility, Firestarter is a lot more feature rich and by default, starts in a wizard mode to make things easier for you. The wizard takes care of detecting your network device and optionally setting up Internet Connection Sharing and the likes.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/Selection_007.png?323f2c" alt="network firewall rules" width="504" height="310" /></p>
<p>Again you can create network firewall rules just as easily and Firestarter will take care of all the internal details. To create a rule, head over to the <em>Policy</em> tab, right click inside one of the active areas and you will be able to add a rule (or policy) for that type.</p>
<p>In the following screen, for example I am allowing inbound HTTP traffic from the host 192.168.0.56. Add the optional comment if you desire and the rule is added.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/Selection_008.png?323f2c" alt="" width="401" height="474" /></p>
<p>These are not the only tools available for configuring Linux firewalls. There are others like <a href="http://www.linuxkungfu.org/">ipkungfu</a> and <a href="http://www.shorewall.net/">shorewall</a>, which let you do the same things. Firestarter and UFW/GuFW are the most common yet easy to use tools for the job out there. If all you need is to configure a firewall for your home computer or server, these should get the job done without much pain.</p>
<p>Do you use a firewall on Linux?  If so, what tools or utilities do you use?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/programs-easily-create-network-firewall-rules-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Ubuntu Control Center &#8211; An Easy Way To Administer Ubuntu</title>
		<link>http://www.makeuseof.com/tag/sleek-easy-administer-ubuntu-ubuntu-control-center/</link>
		<comments>http://www.makeuseof.com/tag/sleek-easy-administer-ubuntu-ubuntu-control-center/#comments</comments>
		<pubDate>Mon, 31 May 2010 17:30:42 +0000</pubDate>
		<dc:creator>Varun Kashyap</dc:creator>
				<category><![CDATA[Cool Linux Apps & Tips]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[tweaks]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=44485</guid>
		<description><![CDATA[As you know, Ubuntu and Linux are hugely configurable. Find some spare time and you can customize anything starting from the boot up messages to the gradients used on the buttons and the scroll bars. While one might not attempt such extreme feats very often, administration and configuration are standard tasks that you might perform [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/05/ucclogo.png" /><img class="align-left" style="border: 0px none;margin-left:20px;float:right;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/05/ucclogo.png?323f2c" alt="ubuntu control center"/>As you know, Ubuntu and Linux are hugely configurable. Find some spare time and you can customize anything starting from the boot up messages to the gradients used on the buttons and the scroll bars. While one might not attempt such extreme feats very often, administration and configuration are standard tasks that you might perform every now and then.</p>
<p>One of the things that irks me about the Ubuntu interface is the fact that you have to find your way among the unusually long Preferences and Administration menu to perform any configuration changes. Things are so much nicer in Windows with the Control panel and even better within Mac OS. </p>
<p>However, as configurable as Linux is, there is almost always a way to tweak it according to your liking. Recently, I found an excellent way to consolidate all the settings in a single panel or window.</p>
<p><span id="more-44485"></span><br />
It&#8217;s called the <a href="http://code.google.com/p/ucc/">Ubuntu Control Center</a>. Ubuntu Control Center offers you a central place you can visit for most of your Ubuntu administration needs. </p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/05/fullscreenapp.png?323f2c" alt="ubuntu control center" /></p>
<p>Installation is easy. You download a deb package for Ubuntu using the above mentioned Google Code page. At this point, if you try to install using the DEB package, you will most likely get an unresolved dependency error. This is because in addition to the files within the DEB package, Ubuntu Control Center also uses other software like the previously mentioned <a href="http://www.makeuseof.com/tag/get-detailed-information-benchmark-your-linux-system/">Hardinfo</a>, font-manager and the likes to provide you a streamlined administration experience. Of these, you need to install the &quot;<a href="http://code.google.com/p/font-manager/">font-manager</a>&quot; before you try to install Ubuntu Control Center. </p>
<p style="text-align:center"><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/05/installucc.png?323f2c" width="480" height="368" alt="ubuntu control center" /></p>
<p>After font-manager is installed, you can proceed with Ubuntu Control Center installation. It should most likely resolve, download and install all other dependencies. Once installed, you will find Ubuntu Control Center listed under <em>Applications &gt; System Tools</em>. </p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/05/menuwhere.png?323f2c" alt="ubuntu control center" /></p>
<p>Go ahead and run it, you are greeted by a slick interface like the one above. The left side lists categories namely: Software Management, Hardware, Network and Internet, System, Local Disks and Personal Settings. Click on a category and the right pane updates to reveal the configuration tools available in that particular category. &quot;Software Management&quot; for example provides you easy access to Ubuntu Software Center, Software sources, updates, cruft removal and the like. Clicking on a configuration tool will run the same commands and launch the exact same tool and interface as you would have got using the Terminal or the System Menu.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/05/categories.png?323f2c" /></p>
<p>Ubuntu Control Center provides you access to almost all the configuration tools that you will find listed under the long System &gt; Administration menu.  In addition to this, Ubuntu Control Center also uses external tools like GuFW for firewall settings and Font-Manager for configuring fonts.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/05/firewallucc1.png?323f2c" /></p>
<p>Ubuntu Control Center provides a centralized interface, where in you can access all of the common settings and configuration for your computer. It has an intuitive interface and does a great job of providing easy access to configuration tools. In fact, this is how the things should by default inside Ubuntu. That said, there are a few features that would make a lot of sense if included in Ubuntu Control Center. For starters, there could be a &quot;tweak&quot; section that can list some of the common tweaks that Ubuntu users apply (ala Ubuntu Tweak).</p>
<p>What are your thoughts about the application? Should Ubuntu ship with such an interface out of the box? Let it out in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/sleek-easy-administer-ubuntu-ubuntu-control-center/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached (Requested URI is rejected)
Database Caching 1/45 queries in 0.055 seconds using apc
Object Caching 769/872 objects using disk: basic
Content Delivery Network via main.makeuseoflimited.netdna-cdn.com

Served from: www.makeuseof.com @ 2012-02-10 22:02:37 -->
