<?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>Remote Administration For Windows &#187; Windows</title>
	<atom:link href="http://www.intelliadmin.com/index.php/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.intelliadmin.com</link>
	<description>Windows Network Administration Software</description>
	<lastBuildDate>Wed, 08 Feb 2012 13:36:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Reset the printer spooler remotely</title>
		<link>http://www.intelliadmin.com/index.php/2011/12/reset-the-printer-spooler-remotely/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/12/reset-the-printer-spooler-remotely/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 20:51:15 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Network Administrator]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Utility]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4546</guid>
		<description><![CDATA[I got a question from Lewis this week: &#8220;I hope this email finds you well. I have a plotter here at my company, and the driver is really temperamental. At least twice a week the driver crashes, and then all of the jobs get stuck in the spooler. To fix it I need to stop [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/12/reset-the-printer-spooler-remotely/" title="Permanent link to Reset the printer spooler remotely"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Printer.jpg" width="112" height="99" alt="Post image for Reset the printer spooler remotely" /></a>
</p><p>I got a question from Lewis this week:</p>
<p><em>&#8220;I hope this email finds you well. I have a plotter here at my company, and the driver is really temperamental. At least twice a week the driver crashes, and then all of the jobs get stuck in the spooler. To fix it I need to stop the spooler service, delete all the jobs and start the service again. Is there any easy way to do this remotely with a script? Have a Merry Christmas Steve, and thanks for all the tips&#8221;</em></p>
<p>Good question. A script in this case won&#8217;t always work. This is because with Vista, Windows 7, and 2008 the print spooler folder is restricted. Only the system account can access it. </p>
<p>A way around this is to use our Network Administrator tool. It will remotely execute the script in the system account context.</p>
<p>This is how the script would look if we wanted to stop the print spooler, delete the files, and start it again:<br />
<code><br />
net stop spooler<br />
del %systemroot%\System32\spool\printers\*.shd /q<br />
del %systemroot%\System32\spool\printers\*.spl /q<br />
net start spooler<br />
</code></p>
<p>.shd, and .spl files are print job files. If you delete them, it will wipe away any pending jobs. </p>
<p>You could put this into a bat file, and simply use the remote execute option of Network Administrator. To make it a smoother experience, we created a plugin that will handle everything for you:</p>
<p><img src="http://www.intelliadmin.com/images/Printer%20Spooler%20Reset%20Option.jpg" alt="Reset Printer Remotely"/> </p>
<p>You can also tell it if you want to delete all the pending jobs:</p>
<p><img src="http://www.intelliadmin.com/images/Reset%20Printer%20Delete%20Option.jpg" alt="Reset Printer Delete Optio"/></p>
<p>This can be quite helpful if you have a huge backlog of print jobs:</p>
<p><img src="http://www.intelliadmin.com/images/Printer%20Queue%20Stuck.jpg" alt="Printer Queue Stuck"/></p>
<p>Using Network Administrator to do this is quicker than manually deleting the jobs since it does not have to talk back and forth with the printer driver to do it.</p>
<p>Get your free copy from our download page:</p>
<p><a href="http://www.intelliadmin.com/index.php/downloads/">http://www.intelliadmin.com/index.php/downloads/</a></p>
<p>The free version is free for commercial and personal use. No spyware or adware &#8211; only software goodness.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2011/12/reset-the-printer-spooler-remotely/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>&#8220;No to all&#8221; For Windows 2003 and XP file copy</title>
		<link>http://www.intelliadmin.com/index.php/2011/12/no-to-all-for-windows-2003-and-xp-file-copy/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/12/no-to-all-for-windows-2003-and-xp-file-copy/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 16:44:23 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4509</guid>
		<description><![CDATA[Sometimes the simplest tips are the best. Normally I would not even write about this but it is such a great time saver, it is worth repeating even if only a few of you don&#8217;t know about it. I know you have seen this before: What is the problem here? Well, what if you want [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/12/no-to-all-for-windows-2003-and-xp-file-copy/" title="Permanent link to &#8220;No to all&#8221; For Windows 2003 and XP file copy"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Folder.jpg" width="55" height="55" alt="Post image for &#8220;No to all&#8221; For Windows 2003 and XP file copy" /></a>
</p><p>Sometimes the simplest tips are the best. </p>
<p>Normally I would not even write about this but it is such a great time saver, it is worth repeating even if only a few of you don&#8217;t know about it.</p>
<p>I know you have seen this before:</p>
<p><img src="http://www.intelliadmin.com/images/Copy%20Confirmation%20Dialog.jpg" alt="Copy Confirmation"></p>
<p>What is the problem here? Well, what if you want the &#8220;No to all&#8221; option?</p>
<p>Got to keep pressing N right?</p>
<p>Wrong!</p>
<p>Next time you see this dialog. Hold down the shift key, and then click no. That tells windows &#8220;No to all&#8221;!</p>
<p>All of your files will copy over, except the ones that already exist.</p>
<p>The sad part is I found this by accidentally holding down the shift key last week while pressing no <img src='http://www.intelliadmin.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2011/12/no-to-all-for-windows-2003-and-xp-file-copy/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Block ports from the command line</title>
		<link>http://www.intelliadmin.com/index.php/2011/10/block-ports-from-the-command-line/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/10/block-ports-from-the-command-line/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 16:46:32 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4291</guid>
		<description><![CDATA[This week I received a question from Scott: &#8220;Hi Steve, Management at my company wants to block AIM (AOL Messenger) on all computers. Because some of the machines are not joined to the domain I want a way to do this from a script. The port is 4099 TCP btw. Thanks!&#8221; I spoke with Scott, [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/10/block-ports-from-the-command-line/" title="Permanent link to Block ports from the command line"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/network.jpg" width="55" height="55" alt="Post image for Block ports from the command line" /></a>
</p><p>This week I received a question from Scott:</p>
<p>&#8220;Hi Steve,</p>
<p>Management at my company wants to block AIM (AOL Messenger) on all computers. Because some of the machines are not joined to the domain I want a way to do this from a script. The port is 4099 TCP btw. Thanks!&#8221;</p>
<p>I spoke with Scott, and I determined that all of his systems are running Vista or Windows 7 (Important since this tip won&#8217;t work on XP).</p>
<p>This can be done by adding an outbound rule to the built in firewall.</p>
<p><img src="http://www.intelliadmin.com/images/Outbound%20Firewall%20Rules.jpg" alt="Outbound rules"/></p>
<p>But like Scott said, he wants to do it from the command line. </p>
<p>This is easy using the &#8216;netsh&#8217; command.</p>
<p>To block it we would call it like this:</p>
<p><code>netsh advfirewall firewall add rule name="BlockAIM" protocol=TCP<br />
dir=out remoteport=4099 action=block</code></p>
<p>Let me explain each setting:</p>
<p>name = The name of the rule. (Pick something descriptive)<br />
protocol = The protocol we are going to block (UDP or TCP for most cases)<br />
dir = The direction of the block. Can be IN or OUT<br />
remoteport = The port of the remote host that is going to be blocked<br />
action = Could be block or allow. In our case we want to block the connection</p>
<p>Once you execute the above code, all outbound requests to any host on port 4099 will be blocked, and it adds an entry to the Windows firewall:</p>
<p><img src="http://www.intelliadmin.com/images/Outbound%20Block%20Aim.jpg" alt="Outbound rule to block AIM"/></p>
<p>If you want to remove the rule from the command line, you can call netsh like this:</p>
<p><code>netsh advfirewall firewall delete rule name="BlockAIM"</code></p>
<p>That is all there is to it. One line to add a rule, and one line to remove. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2011/10/block-ports-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Get an alert if a program uses to much CPU Time</title>
		<link>http://www.intelliadmin.com/index.php/2011/09/get-an-alert-if-a-program-uses-to-much-cpu-time/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/09/get-an-alert-if-a-program-uses-to-much-cpu-time/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 14:59:50 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Utility]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4253</guid>
		<description><![CDATA[Got a question from Brett this week: &#8220;Hi Steve. I have a tough one for you. I want to determine from a VBScript if a program is using too much CPU time. Specifically, I want to know when the spooler service goes over 50% CPU utilization. All the scripts I see don&#8217;t seem to work [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/09/get-an-alert-if-a-program-uses-to-much-cpu-time/" title="Permanent link to Get an alert if a program uses to much CPU Time"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Utility.jpg" width="66" height="73" alt="Post image for Get an alert if a program uses to much CPU Time" /></a>
</p><p>Got a question from Brett this week:</p>
<p>&#8220;Hi Steve. I have a tough one for you. I want to determine from a VBScript if a program is using too much CPU time. Specifically, I want to know when the spooler service goes over 50% CPU utilization. All the scripts I see don&#8217;t seem to work like task manager (The CPU time reported by the script is much higher). Thanks, and keep it up.&#8221;</p>
<p>Thanks Brett. I did some testing, and indeed you are correct that all of the scripts I found report CPU usage differently than task manager.</p>
<p><img src="http://www.intelliadmin.com/images/Task%20Manager%20CPU%20Time.jpg" alt="CPU Usage in Task Manager"/></p>
<p>The reason for this is that the scripts are reporting the percentage of usage on one specific core. </p>
<p>What you need to do is find out how many cores there are and then divide the cpu usage by that number.</p>
<p>After lots of experimenting with different versions of Windows, I came up with a script that will do this on Windows XP through 2008 R2.</p>
<p><a href="http://www.intelliadmin.com/checkcputime.dat">Click here to download the script</a><br />
(Rename to .VBS after downloading)</p>
<p>If you open the script, and scroll to the bottom&#8230;you can see how to use it. </p>
<p>In your case, we want to check the spooler process. On Windows 7 it is named &#8220;spoolsv&#8221;. I want to check once a minute, and if it goes over 50%, the script will show a message box.</p>
<p>Here is how I would do that:<br />
<code><br />
while (true)<br />
 &nbsp;'Check our spooler for over 50% cpu time<br />
 &nbsp;if (check_process_cpu_time("spoolsv",50)) then<br />
  &nbsp;&nbsp;MsgBox "Spooler is running high on CPU Time!"<br />
 &nbsp;end if<br />
 &nbsp;'Wait a minute before checking again<br />
 &nbsp;WScript.Sleep(60000)<br />
wend<br />
</code></p>
<p>I wouldn&#8217;t set the checking time for less than a minute, since the script itself takes some work to get this info.</p>
<p>Also, notice that the name you use for the process does not include the file extension. In our example we want to watch <code>spoolsv.exe</code>, so we provide <code>spoolsv</code> to the script.</p>
<p>This is just a demo, but you cold have it <a href="http://www.intelliadmin.com/index.php/2010/05/receive-an-email-notification-for-your-ftp-script/">send an email using blat</a> or, have it send you an windows message using the <a href="http://www.intelliadmin.com/index.php/2007/08/vista-what-happened-to-the-net-send-command/">msg command</a> in windows &#8211; the possibilities are endless.</p>
<p>Now Brett will know when his printer spooler is jacked up, before he starts getting phone calls.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2011/09/get-an-alert-if-a-program-uses-to-much-cpu-time/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Free Remote Desktop Management Tool</title>
		<link>http://www.intelliadmin.com/index.php/2011/09/free-remote-desktop-management-tool/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/09/free-remote-desktop-management-tool/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 15:02:35 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Terminal Services]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Utility]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4196</guid>
		<description><![CDATA[In another life I worked at a bank. We had a bunch of terminal servers &#8211; all of them packed with users. Throughout the day I would get a call like this: &#8220;My teller program is stuck, can you help me?&#8221; This buggy teller app would freeze up and no matter how much they tried [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/09/free-remote-desktop-management-tool/" title="Permanent link to Free Remote Desktop Management Tool"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Utility.jpg" width="66" height="73" alt="Post image for Free Remote Desktop Management Tool" /></a>
</p><p>In another life I worked at a bank. </p>
<p>We had a bunch of terminal servers &#8211; all of them packed with users. </p>
<p>Throughout the day I would get a call like this: &#8220;My teller program is stuck, can you help me?&#8221; </p>
<p>This buggy teller app would freeze up and no matter how much they tried to log on or log off, it would still be running in the terminal session. </p>
<p>Worse yet, because they logged on and off so many times they had frozen sessions running across all the terminal servers.</p>
<p>To fix it I would open the Microsoft Terminal Server management console, and then work my way through each server, then find the user, and then find the process that I needed to kill. A huge time sink.</p>
<p><img src="http://www.intelliadmin.com/images/Terminal%20Services%20Console.jpg" alt="Terminal Services Console"/></p>
<p>That is the beauty of our new Remote Desktop Manager. It makes it a breeze to manage one, or 100 terminal servers.</p>
<p><img src="http://www.intelliadmin.com/images/Remote%20Desktop%20Manager%20Main.jpg" alt="Remote Desktop Manager Main"/></p>
<p>You simply pick the machines you want to manage, enter your credentials, and then press start.</p>
<p>Then, it pulls information from all the servers and organizes it so you can quickly get your task done.</p>
<p>Need to find a process that might be running on multiple servers, under multiple sessions?</p>
<p>Switch the view to group by process, and you can kill it in a few clicks:</p>
<p><img src="http://www.intelliadmin.com/images/Remote%20Desktop%20Manager%20Process%20View.jpg" alt="Remote Desktop Manager Process View"/></p>
<p>No scrolling around looking for it either, just start typing in the search bar above it and it instantly filters the view:</p>
<p><img src="http://www.intelliadmin.com/images/Remote%20Desktop%20Filter%20Edit.jpg" alt="Remote Desktop Filter"/></p>
<p>Got an upgrade you are going to install tonight, and need everyone to get out? </p>
<p>Don&#8217;t waste time calling around to all your branches and remote sites &#8211; just send a message to everyone:</p>
<p><img src="http://www.intelliadmin.com/images/Remote%20Desktop%20Manager%20Messaging.jpg" alt="Remote Desktop Send Messages"/></p>
<p>Want to logoff a user on all terminal servers? </p>
<p>No problem, just sort by user, and log them off with two clicks:</p>
<p><img src="http://www.intelliadmin.com/images/Remote%20Desktop%20Order%20By%20User.jpg" alt="Remote Desktop Order By User"/></p>
<p>This free tool is a technology preview of the next version of <a href="http://www.intelliadmin.com/index.php/network-administrator/">Network Administrator</a>. This functionality, and much more will be included in the next version. </p>
<p>If you purchase now, you will receive a free upgrade when it is released:</p>
<h2><a href="http://www.intelliadmin.com/NetworkAdministratorPurchase.asp">Click here to purchase Network Administrator</a></h2>
<p>The Remote Desktop Management tool is free for personal and commercial use, and as always &#8211; no spyware or adware, only freeware goodness.</p>
<p><a href="http://www.intelliadmin.com/index.php/downloads/">Get it from our downloads page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2011/09/free-remote-desktop-management-tool/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Restart an application automatically</title>
		<link>http://www.intelliadmin.com/index.php/2011/06/restart-an-application-automatically/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/06/restart-an-application-automatically/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 15:53:13 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Utility]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=3861</guid>
		<description><![CDATA[The emails keep coming in. Keep it up This question is from Steve (Awesome name, love it): &#8220;Hi Steve. We have a piece of software that does not run as a service. It runs like any other application. You launch it and it performs batch processing. The problem is, well, if this application dies over [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/06/restart-an-application-automatically/" title="Permanent link to Restart an application automatically"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Network.jpg" width="55" height="55" alt="Post image for Restart an application automatically" /></a>
</p><p>The emails keep coming in. Keep it up <img src='http://www.intelliadmin.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>This question is from Steve (Awesome name, love it):</p>
<p>&#8220;Hi Steve. We have a piece of software that does not run as a service. It runs like any other application. You launch it and it performs batch processing. The problem is, well, if this application dies over the weekend it causes me a huge headache. It is buggy, crashes at the worst time, and it is needed to batch process items coming in from a web service. My question is, is there any way to automatically restart this app without me coming in to do it myself?&#8221;</p>
<p>Excellent question. First of all, you should never have to go into the office to fix a problem. Why aren&#8217;t you using a <a href="http://www.intelliadmin.com/index.php/enterprise-remote-control/">remote admin solution like ours</a> for situations like this?</p>
<p>I know I know, you just want the damn thing to keep running no matter how bad it is</p>
<p><img src="http://www.intelliadmin.com/images/Rusty%20Old%20Car.jpg" alt="Rusty Old Program"/></p>
<p>This can be accomplished with a small amount of VB Script. You will probably want to put this into your task scheduler to run at startup, so even if the PC gets rebooted it will automatically start again.</p>
<p>First, we need to see if an app is running. How can we do that?</p>
<p>Lets put some code together to see if notepad.exe is running:</p>
<p><code>set Service = GetObject ("winmgmts:")</p>
<p>sEXEName = "notepad.exe"<br />
bRunning = false</p>
<p>'Look for our application. Set the flag bRunning = true<br />
'If we see that it is running </p>
<p>for each Process in Service.InstancesOf ("Win32_Process")<br />
&nbsp;if Process.Name = sEXEName then<br />
&nbsp;&nbsp;bRunning=true<br />
&nbsp;End If<br />
next<br />
</code></p>
<p>The above code will look at all the running processes, and try to find &#8220;notepad.exe&#8221; if it is active then the variable bRunning will be set to true. If not, then bRunning will be set to false.</p>
<p>We are almost half way there. Now, how do we launch an application from VB Script?</p>
<p><code>set Shell = WScript.CreateObject("WScript.Shell")</p>
<p>sEXEName = "Notepad.exe"<br />
sApplicationPath = "c:\windows\system32\"</p>
<p>Shell.Run sApplicationPath &#038; sEXEName<br />
</code></p>
<p>Now we have both parts that we need. 1 &#8211; Detect if an app is not running, and 2 &#8211; Launch of that is true. </p>
<p>Here is the final script:</p>
<p><code></p>
<p>set Service = GetObject ("winmgmts:")<br />
set Shell = WScript.CreateObject("WScript.Shell")</p>
<p>sEXEName = "notepad.exe"<br />
sApplicationPath = "c:\windows\system32\"</p>
<p>'Loop until the system is shutdown or user logs out<br />
while true<br />
&nbsp;bRunning = false</p>
<p>&nbsp;'Look for our application. Set the flag bRunning = true<br />
&nbsp;'If we see that it is running </p>
<p>&nbsp;for each Process in Service.InstancesOf ("Win32_Process")<br />
&nbsp;&nbsp;if Process.Name = sEXEName then<br />
&nbsp;&nbsp;&nbsp;bRunning=true<br />
&nbsp;&nbsp;End If<br />
&nbsp;next</p>
<p>'Is our app running?</p>
<p>if (not bRunning) then<br />
&nbsp;'No it is not, launch it<br />
&nbsp;Shell.Run sApplicationPath &#038; sEXEName<br />
end if</p>
<p>'Sleep a while so we do not hog the cpu<br />
WScript.Sleep(2000)</p>
<p>wend<br />
</code></p>
<p><b>Don&#8217;t copy and paste&#8230;download it from here:</p>
<p><a href="http://www.intelliadmin.com/ApplicationRestart.dat">ApplicationRestart.dat</a></b></p>
<p>Make sure you rename it to .vbs</p>
<p>To change it to fit your needs, fill sApplicationPath and sEXEName with the name and path of the program you want to monitor. Launch it from a logon script, or the task scheduler and you should be good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2011/06/restart-an-application-automatically/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Backup up IIS from the command line</title>
		<link>http://www.intelliadmin.com/index.php/2011/06/backup-up-iis-from-the-command-line/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/06/backup-up-iis-from-the-command-line/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 13:00:23 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Utility]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=3835</guid>
		<description><![CDATA[Trying something new this week &#8211; got a video version of this weeks tip: Got a question from Linda this week, &#8220;Steve. We have quite a few IIS based web servers and each of them has their own custom configuration. I know how to backup all the files, but is there any way to backup [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/06/backup-up-iis-from-the-command-line/" title="Permanent link to Backup up IIS from the command line"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Command.jpg" width="64" height="54" alt="Post image for Backup up IIS from the command line" /></a>
</p><p>Trying something new this week &#8211; got a video version of this weeks tip:</p>
<p><iframe width="425" height="349" src="http://www.youtube.com/embed/sUbLCL5h9Yg" frameborder="0" allowfullscreen></iframe></p>
<p>Got a question from Linda this week,</p>
<p>&#8220;Steve. We have quite a few IIS based web servers and each of them has their own custom configuration. I know how to backup all the files, but is there any way to backup and restore IIS settings from the command line? &#8221;</p>
<p>Great question. When using IIS, you eventually get lots of custom settings hiding in there:</p>
<p><img src="http://www.intelliadmin.com/images/IIS%20Main%20View%20201106.jpg" alt="IIS Main View"/></p>
<p>IIS Stores all of these settings in what as known as the metabase. It keeps track of the home directory, ISAPI filters, what type of files it will process, etc. How to we back this up?</p>
<p>You can back it up manually from the IIS manager:</p>
<p><img src="http://www.intelliadmin.com/images/IIS%20Backup%20Manual%20201106.jpg" alt="Manual Backup"/></p>
<p>But this has a major flaw. It just backs it up to a hidden file on your hard drive. Sure you can find this, and pull it off &#8211; but that takes some digging. That won&#8217;t help you much when the server is smoking and you want to get another one in its place right away.</p>
<p>How can we automate this process, and be able to grab the file and do what we want with it?</p>
<p>By using a little known VBS file that is included with Windows</p>
<p>It is called IISCnfg.vbs</p>
<p>Before we can use it, get to a command line and type IISCnfg and then enter.</p>
<p>It will give you an error, and then ask if you want to default to use CScript.exe instead of VBScript.exe for your VB Scripts.</p>
<p><img src="http://www.intelliadmin.com/images/CScript%20Required%20201106.jpg" alt="CScript Required"/></p>
<p>Once you say yes, you can start calling it from your batch files or the command line.</p>
<p>There are many options to iiscnfg, but there are a few things that we will require:</p>
<p>-We want to export the settings<br />
-We want all the settings, so we will start at the root and include the children<br />
-We need to set a password on the exported file, or it won&#8217;t work on another server (Feature or bug &#8211; you decide)<br />
-We want to export the file to a specific location, not the metabase storage area</p>
<p>So here are those requirements translated into arguments:</p>
<p><code>iiscnfg /export /sp /lm /children /inherited /d [password] /f c:\backup\IISMetabase.bak</code></p>
<p>The [password] is the password the file will be encrypted with. You will need this to restore it, so don&#8217;t forget it!</p>
<p>/sp (Source Path) indicates where in the IIS structure you want to start the backup /lm is at the top of this (I believe lm stands for local machine&#8230;someone please write a comment below if I am wrong)</p>
<p>So the above code will take our entire structure and back it up to c:\backup\IISMetabase.bak and then encrypt that file with the password [password] </p>
<p>Put that in your batch file used for backups and you can pull that config any time you want. Keep in mind this only backs up your configuration. Not the files that make up your website or ftp sites.</p>
<p>Later, a new VP of IT walks in and starts plunking around on your web servers</p>
<p><img src="http://www.intelliadmin.com/images/VP%20Messing%20With%20IIS.jpg" alt="VP Messing with IIS"/></p>
<p>After he &#8220;improved&#8221; the system, how do you restore the settings?</p>
<p>You get that metabase file from your backups, and import it using a very similar command line:</p>
<p><code>iiscnfg /import /dp /lm /sp /lm /children /inherited /d [password] /f c:\backup\IISMetabase.bak</code></p>
<p>Note the /dp (Destination Path) and /sp (Source path). In my example they point to the same place &#8211; the top of the IIS settings tree. </p>
<p>Notice the password &#8211; it must be the same as the one used to back it up. If you forgot it your hosed. If you forgot to even set a password you might be OK&#8230;as long as it is the same system. Otherwise again, your hosed.</p>
<p>That is all there is to it. One line to backup, and one line to restore. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2011/06/backup-up-iis-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Create a Windows rescue disk</title>
		<link>http://www.intelliadmin.com/index.php/2011/03/create-a-windows-rescue-disk/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/03/create-a-windows-rescue-disk/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 13:27:13 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Blue Screen]]></category>
		<category><![CDATA[Boot]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=3062</guid>
		<description><![CDATA[A few days ago a friend of mine called me. He said he had a small problem with his laptop, and was wondering if I could help him over the phone. You get the idea. Not an easy problem. He brought the laptop over, and I determined the cause of the blue screen: it was [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/03/create-a-windows-rescue-disk/" title="Permanent link to Create a Windows rescue disk"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Command.jpg" width="64" height="54" alt="Post image for Create a Windows rescue disk" /></a>
</p><p>A few days ago a friend of mine called me. He said he had a small problem with his laptop, and was wondering if I could help him over the phone.</p>
<p><img src="http://www.intelliadmin.com/images/Windows%20Blue%20Screen%20201103.jpg" alt="Windows Blue Screen"/></p>
<p>You get the idea. Not an easy problem. </p>
<p>He brought the laptop over, and  I determined the cause of the blue screen: it was a corrupted registry hive. </p>
<p>Panic started to set in. He needed some word documents he was working on earlier in the day &#8211; and needed them for a class he had that night! </p>
<p>I was pretty sure the data was there, but how could we get to it? If it was a desktop machine I could pull the hard drive, and connect it to my machine.</p>
<p>I pulled out an old favorite of mine, BartPE</p>
<p><a href="http://www.nu2.nu/pebuilder/">http://www.nu2.nu/pebuilder/</a><br />
(Scroll down to the middle of the page for the download link)</p>
<p>What is it? BartPE will create a special boot disk that runs a compact version of Windows XP &#8211; without any need for a hard drive.</p>
<p>It is perfect for recovery operations like this.</p>
<p>To get Bart PE to build a disk for you, you will need a copy of Windows XP professional. It needs these files from Microsoft to create your boot disk.</p>
<p><img src="http://www.intelliadmin.com/images/BartPE%20Screen%20Shot 201103.jpg" alt="Bart PE Screen Shot"/></p>
<p>You can burn it right from the app, or create an ISO for later use.</p>
<p>I almost forgot the best part &#8211; it is free</p>
<p>I built a boot disk from BartPE, and booted his laptop with it. Within moments I was able to copy his important files to a flash drive. </p>
<p>Even better, I was able to go into the c:\windows\restore folder and copy the corrupted hive over to c:\windows\system32\config</p>
<p>Now his system could boot again. He only had to install a few apps again to get it back to normal (The software hive we recovered was a few months old)</p>
<p>I have been using this utility for years. What type of windows boot disk do you use?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2011/03/create-a-windows-rescue-disk/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Block IE 9 &#8211; Keep it out of automatic updates</title>
		<link>http://www.intelliadmin.com/index.php/2011/03/block-ie-9-keep-it-out-of-automatic-updates/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/03/block-ie-9-keep-it-out-of-automatic-updates/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 20:06:22 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[IE]]></category>
		<category><![CDATA[IE 9]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows 2008 Core]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=3047</guid>
		<description><![CDATA[It is that time again. Microsoft is getting close to releasing IE 9 in its final form. According to my sources, it will be released on Monday, March 14th. This also means it will show up in automatic updates as an &#8220;Important Update&#8221; If you want to prevent this from happening, you can setup a [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/03/block-ie-9-keep-it-out-of-automatic-updates/" title="Permanent link to Block IE 9 &#8211; Keep it out of automatic updates"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/IE.jpg" width="55" height="56" alt="Post image for Block IE 9 &#8211; Keep it out of automatic updates" /></a>
</p><p>It is that time again. Microsoft is getting close to releasing IE 9 in its final form.  According to my sources, it will be released on Monday, March 14th.</p>
<p>This also means it will show up in automatic updates as an &#8220;Important Update&#8221;</p>
<p>If you want to prevent this from happening, you can setup a registry key that will block it.</p>
<p>The key is under this path:</p>
<p><code>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Setup\9.0</code></p>
<p>You will need to create the key above. Once you do that, add this DWORD value:</p>
<p><code>DoNotAllowIE90</code></p>
<p>Set it to 1 to block, Set it to 0 to unblock.</p>
<p>We also have updated the free version of Network Administrator to set this key for you &#8211; that way you don&#8217;t have to mess around with the registry by hand:</p>
<p><img src="http://www.intelliadmin.com/images/IE%20Blocker%209%20201103.jpg" alt="Block IE 9 Network Administrator"/></p>
<p>Download a free copy <a href="http://www.intelliadmin.com/NetworkAdministrator.exe" rel="nmlp">from here</a></p>
<p>One final note &#8211; keep in mind this will only prevent it from showing up in Automatic Update. Users can still install IE 9 by hand if they wish.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2011/03/block-ie-9-keep-it-out-of-automatic-updates/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Set VNC Passwords Remotely</title>
		<link>http://www.intelliadmin.com/index.php/2011/02/set-vnc-passwords-remotely/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/02/set-vnc-passwords-remotely/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 06:00:33 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Free]]></category>
		<category><![CDATA[Network Administrator]]></category>
		<category><![CDATA[Network Administrator Updates]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/index.php?p=2998</guid>
		<description><![CDATA[I got a question from a customer last week: Hi Steve, I just bought your program on Friday and I love it. I have one question though: Is there any way to use IntelliAdmin Network Administrator to set not only the VNC password but also the VNC view only password? We are using TightVNC 1.3 [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/02/set-vnc-passwords-remotely/" title="Permanent link to Set VNC Passwords Remotely"><img class="post_image alignleft remove_bottom_margin" src="http://www.networksteve.com/icons/RemoteDesktop.jpg" width="55" height="55" alt="Post image for Set VNC Passwords Remotely" /></a>
</p><p>I got a question from a customer last week:</p>
<p><i>Hi Steve,<br />
I just bought your program on Friday and I love it.  I have one question though:  Is there any way to use IntelliAdmin Network Administrator to set not only the VNC password but also the VNC view only password? </p>
<p>We are using TightVNC 1.3 and there are two password options.  IntelliAdmin looks like it will only change the default VNC password but not the view-only password.  I was just wondering.</p>
<p>Thanks..</i></p>
<p>After poking around and playing with TightVNC we found two things that Network Administrator did not support &#8211; view only passwords, and the new registry format used in TightVNC 2.0</p>
<p>We have updated <a href="http://www.intelliadmin.com/index.php/network-administrator/">Network Administrator</a> to support both of these. (Note that it is a free tool, and you only need to purchase if you want to use it on more than three computers at a time)</p>
<p>You can download the latest from here:</p>
<p><a href="http://www.intelliadmin.com/NetworkAdministrator.exe" rel="nmlp">http://www.intelliadmin.com/NetworkAdministrator.exe</a></p>
<p>How do you use it? </p>
<p>Open the app, pick the action you want to take (In our case that would be set vnc password)</p>
<p><img src="http://www.intelliadmin.com/images/Network%20Administrator%20Set%20VNC%20Password%20201102.jpg" alt="Network Administrator Set VNC Password"></p>
<p>Set your password(s)</p>
<p><img src="http://www.intelliadmin.com/images/Tight%20VNC%20Remote%20Password%20Set.jpg" alt="Tight VNC Remote Password Set"></p>
<p>Pick the computers you want to target:</p>
<p><img src="http://www.intelliadmin.com/images/Network%20Administrator%20Pick%20Servers%20201102.jpg" alt="Network Administrator Pick Servers"></p>
<p>Click start, and it will make the change.</p>
<p>Got an idea to improve one of our plugins, or an idea for a new plugin for Network Administrator? Let us know by sending an email to <a href="mailto:support@intelliadmin.com">support@intelliadmin.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2011/02/set-vnc-passwords-remotely/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

