<?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; Utility</title>
	<atom:link href="http://www.intelliadmin.com/index.php/category/utility/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>Monitor your file sharing</title>
		<link>http://www.intelliadmin.com/index.php/2012/02/monitor-your-file-sharing/</link>
		<comments>http://www.intelliadmin.com/index.php/2012/02/monitor-your-file-sharing/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 18:19:32 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Utility]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4733</guid>
		<description><![CDATA[I received an email from Jennifer this week: &#8220;Howdy Steve. I want to thank you for all the tips and ideas. I ran across this small utility that I think your readers might like. It is called Share Watch. It lets you keep track of what files and folders are being accessed by remote users&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2012/02/monitor-your-file-sharing/" title="Permanent link to Monitor your file sharing"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Folder.jpg" width="55" height="55" alt="Post image for Monitor your file sharing" /></a>
</p><p>I received an email from Jennifer this week:</p>
<p><em>&#8220;Howdy Steve. I want to thank you for all the tips and ideas. I ran across this small utility that I think your readers might like. It is called Share Watch. It lets you keep track of what files and folders are being accessed by remote users&#8221;<br />
</em></p>
<p>She is right. This little utility is great. </p>
<p>Yes, Windows has a built in share monitoring service:</p>
<p><img src="http://www.intelliadmin.com/images2/Windows%20Share%20Monitor.jpg" alt="Windows Share Monitor"/></p>
<p>But, it is kind of clunky and limited. It really has not changed much since Windows 2000.</p>
<p>What is nice about Share Monitor is that it puts all of the information in one spot:</p>
<p><img src="http://www.intelliadmin.com/images2/Share%20Monitor.jpg" alt="Share Monitor"/></p>
<p>Plus, unlike the windows share monitor&#8230;you can watch a bunch of computers at the same time:</p>
<p><img src="http://www.intelliadmin.com/images2/Share%20Watch%20Multiple.jpg" alt="Share Monitor Multiple Computers"/></p>
<p>It has easy access to information about the computers connecting to a share:</p>
<p><img src="http://www.intelliadmin.com/images2/Share%20Monitor%20Computer%20Properties.jpg" alt="Monitor Windows Share"/></p>
<p>And the files that are currently open across a share:</p>
<p><img src="http://www.intelliadmin.com/images2/Share%20Monitor%20File%20Folder%20Properties.jpg" alt="Share Monitor File Folder Properties"/></p>
<p>Plus, <a href="http://www.intelliadmin.com/index.php/downloads/">like a lot of our utilities</a> &#8211; No install is required. It is one small exe.</p>
<p>Best of all, it is free for personal or commercial use.</p>
<p>Get it from the Share Watch website:</p>
<p><a href="http://stevemiller.net/ShareWatch/">http://stevemiller.net/ShareWatch/</a></p>
<p>PS: If you run it under Vista, or Windows 7&#8230;make sure you right click and run it as administrator or you will get access denied.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2012/02/monitor-your-file-sharing/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Burn a folder to a DVD from the command line</title>
		<link>http://www.intelliadmin.com/index.php/2012/01/burn-to-a-folder-command-line/</link>
		<comments>http://www.intelliadmin.com/index.php/2012/01/burn-to-a-folder-command-line/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 04:33:44 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Utility]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4592</guid>
		<description><![CDATA[This week we have a question from Melissa: &#8220;Hi Steve. Got a really quick question. Previously you had an article that showed how to burn an ISO from the command line. My question is, what about a folder? I want to simply burn a folders contents to a DVD once a week. Any simple way [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2012/01/burn-to-a-folder-command-line/" title="Permanent link to Burn a folder to a DVD 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 Burn a folder to a DVD from the command line" /></a>
</p><p>This week we have a question from Melissa:</p>
<p><em>&#8220;Hi Steve. Got a really quick question. Previously you had <a href="http://www.intelliadmin.com/index.php/2009/08/burn-dvds-and-cds-from-the-command-line/">an article that showed how to burn an ISO from the command line</a>. My question is, what about a folder? I want to simply burn a folders contents to a DVD once a week. Any simple way to do this?&#8221;<br />
</em></p>
<p>Good question Melissa. I too have been looking for something like this. </p>
<p>Most of the DVD/CD burning software is not free. </p>
<p>That is not a big problem&#8230;but I would think that the simple process of copying a folder to a DVD or CD shouldn&#8217;t cost me $49!</p>
<p>So what to do? Have the IntelliAdmin team make one for you!</p>
<p>This first version we wanted to be as simple as possible, so it only does one thing: Burn a folder to a disk.</p>
<p>-You specify a drive, and a folder.</p>
<p>-It burns it and closes the session on the drive</p>
<p>-If it fails, the program will return 1</p>
<p>-If it succeeds the program will return 0</p>
<p>This means you can create conditional statements in a batch file too.</p>
<p>How do you use it?</p>
<p>Once you grab it from our <a href="http://www.intelliadmin.com/index.php/downloads/">downloads page</a> you can call it like this from the command line:</p>
<p><code>BurnDisk.exe E: C:\Backup</code></p>
<p>Where &#8216;E:&#8217; is the DVD/CD drive letter, and C:\Backup is the folder you want to back up.</p>
<p>It will automatically set the volume name to the current date. It will then zip through your specified folder and burn the contents to the CD or DVD:</p>
<p><img src="http://www.intelliadmin.com/images/Burn%20Disk%20Command%20Line.jpg" alt="Write CD DVD from the command line"/></p>
<p>You can use the ERRORLEVEL value for conditional statements in your batch file (Like send you an email if it fails)</p>
<p>Here is an example bat file that checks the result of the BurnDisk.exe output:<br />
<code><br />
@ECHO OFF</p>
<p>REM Backup our files to DVD or CD ROM</p>
<p>burndisk.exe e:\ c:\Backup</p>
<p>REM Check our result</p>
<p>IF %ERRORLEVEL%==0 goto COMPLETE</p>
<p>REM ERROR HANDLING HERE</p>
<p>:COMPLETE<br />
</code></p>
<p>This is version 1.0 so it is quite simple &#8211; but for many situations I think it will work perfect. </p>
<p>Let us know what &#8220;Must Have&#8221; features you want to see in 1.1</p>
<p>It has been tested on Windows Vista, 2008, and 7. It should work on 2003 and XP (With the latest patches) but we have not had a chance to try it on those platforms yet.</p>
<p>Get it from our <a href="http://www.intelliadmin.com/index.php/downloads/">downloads page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2012/01/burn-to-a-folder-command-line/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<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>Get notified when an IP changes</title>
		<link>http://www.intelliadmin.com/index.php/2011/12/get-notified-when-an-ip-changes/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/12/get-notified-when-an-ip-changes/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 16:46:39 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Free]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Utility]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4523</guid>
		<description><![CDATA[I got a question from John this week: &#8220;A few of my clients are using a broadband connection with DHCP addresses for the public interface. Do you know of a script or program that can be used to monitor the IP address and send a email if the IP address changes?&#8221; Good question. It is [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/12/get-notified-when-an-ip-changes/" title="Permanent link to Get notified when an IP changes"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Command.jpg" width="64" height="54" alt="Post image for Get notified when an IP changes" /></a>
</p><p>I got a question from John this week:</p>
<p>&#8220;A few of my clients are using a broadband connection with DHCP addresses for the public interface. Do you know of a script or program that can be used to monitor the IP address and send a email if the IP address changes?&#8221;</p>
<p>Good question. It is possible to get IP address lists from VB Script, but we happen to have a utility we have used internally for quite some time. It is called &#8220;MyIP.exe&#8221;</p>
<p>MyIP.exe has two options. You can get a current list of IP addresses like this:</p>
<p><CODE>MyIP.exe /list</code></p>
<p>It will return a list of your current IP addresses to the command line:</p>
<p><code>C:\temp>myip /list<br />
10.10.29.231<br />
192.168.68.1<br />
192.168.198.1</code></p>
<p>The second option is /wait. It will pause until it sees an IP change. When the change happens it will pause for 15 seconds to allow any DHCP addressing to settle down, and then finally return the result to the command line.</p>
<p>How do we set this up to email when we detect an IP change?</p>
<p>We can use <a href="http://www.blat.net/">blat</a>. Blat is a tool for sending email from the command line. </p>
<p>Here is how I would structure a bat file to use both programs:<br />
<code><br />
:Loop<br />
@ECHO OFF<br />
ECHO IP Address Change > status.log<br />
ECHO ========================= >> status.log<br />
ECHO The computer %COMPUTERNAME% has had an IP address change >> status.log<br />
ECHO This is the new IP list: >> status.log<br />
MyIP.exe /wait >> status.log<br />
blat.exe -f support@intelliadmin.com -to support@intelliadmin.com -server mysmtp.server.com -subject "IP Change" -bodyF status.log<br />
ECHO "Waiting for IP Change..."<br />
goto loop</code></p>
<p>What is going on in the code above?</p>
<p>First we build up a file called status.log. It is filled with the body of our email. It contains everything except our list of changed IP addresses. Then MyIP.exe will wait until a change happens - when it does, those IPs are written to the end of status.log</p>
<p>Finally, blat sends out the text file with the subject "IP Change". When that is done, it loops back around to wait for a change all over again.</p>
<p>One important thing to note about SMTP - Many internet providers are blocking send from port 25 by default, except to their own email servers. So make sure you test the script out before depending on it.</p>
<p>MyIP.exe can be found in our downloads section:</p>
<p><a href="http://www.intelliadmin.com/index.php/downloads/">http://www.intelliadmin.com/index.php/downloads/</a></p>
<p>Blat can be found here:</p>
<p><a href="http://www.blat.net/">http://www.blat.net/</a></p>
<p>One final note. Most likely you want this IP address information because you need to remote into their computer from time to time. Our <a href="http://www.intelliadmin.com/index.php/enterprise-remote-control/">Enterprise Remote control</a> has this functionality built in. It will automatically track all IP address changes on remote machines, and you only need a username to find their computer! - Might save you a lot of time and trouble:) </p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2011/12/get-notified-when-an-ip-changes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Automatically logoff inactive users</title>
		<link>http://www.intelliadmin.com/index.php/2011/11/automatically-logoff-inactive-users/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/11/automatically-logoff-inactive-users/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 18:09:14 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Utility]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4439</guid>
		<description><![CDATA[I got a question from Tracy this week: &#8220;Hi Steve. Love all the tools and tips you keep sending our way. Got a question. Is there any easy way to logoff a user when they are not active for say, 15 Minutes?&#8221; I spoke with Tracy further to explain that forcing a logoff could cause [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/11/automatically-logoff-inactive-users/" title="Permanent link to Automatically logoff inactive users"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Command.jpg" width="64" height="54" alt="Post image for Automatically logoff inactive users" /></a>
</p><p>I got a question from Tracy this week:</p>
<p>&#8220;Hi Steve. Love all the tools and tips you keep sending our way. Got a question. Is there any easy way to logoff a user when they are not active for say, 15 Minutes?&#8221;</p>
<p>I spoke with Tracy further to explain that forcing a logoff could cause data loss.</p>
<p>For example, a user has a Word document open and they walk away. Then boom the forced logoff happens and their document is gone.</p>
<p><img src="http://www.intelliadmin.com/images/Word%20In%20The%20Trash.jpg" alt="MS Word in the trash"/></p>
<p>In her case she needs it for public facing kiosks. If one of the technicians walks away, it leaves the system wide open. </p>
<p>Locking the workstation for this situation is bad too &#8211; since it makes it so the customer cannot use the machine.</p>
<p>Did some googling and found some hacks that used chopped up screen savers that would activate, and then call some logoff code.</p>
<p>Didn&#8217;t like that. So I had the team build a little app that would just logoff or lock idle users.</p>
<p>Here is how it works, you call the program like this:</p>
<p><code>idlelogoff.exe [timeout] [action]</p>
<p><b>timeout</b> - The number of idle seconds before the action is taken</p>
<p><b>action</b> - [logoff / lock] You can lock the workstation or log the user off<br />
</code><br />
If you wanted a user to get booted off after 5 minutes (300 Seconds) of no activity, You would call it like this:</p>
<p><code>idlelogoff.exe 300 LOGOFF</code></p>
<p>Or, if you wanted it to lock the workstation after 30 seconds of no activity this would do the trick</p>
<p><code>idlelogoff.exe 30 LOCK</code></p>
<p>It has some sanity checking for the timeout. Anything less than 10 seconds is set to 10 seconds.</p>
<p>Call it from the users startup script to make sure it is active while they are logged in.</p>
<p>Get it from our downloads page:</p>
<p><a href="http://www.intelliadmin.com/index.php/downloads/">http://www.intelliadmin.com/index.php/downloads/</a></p>
<p>It is free for personal and commercial use.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2011/11/automatically-logoff-inactive-users/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Cron Service for Windows</title>
		<link>http://www.intelliadmin.com/index.php/2011/11/cron-service-for-windows/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/11/cron-service-for-windows/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 17:49:48 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Utility]]></category>
		<category><![CDATA[Windows 2000]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4392</guid>
		<description><![CDATA[If you spend any amount of time working with Unix, you will come across Cron and the CronTab file. What is it? Cron allows you to schedule programs to run at specified intervals, like every Sunday at 1AM. Now I can already hear it&#8230;&#8221;Steve, that is what the task scheduler is for in Windows&#8221; While [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/11/cron-service-for-windows/" title="Permanent link to Cron Service for Windows"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Utility.jpg" width="66" height="73" alt="Post image for Cron Service for Windows" /></a>
</p><p>If you spend any amount of time working with Unix, you will come across Cron and the CronTab file.</p>
<p>What is it? </p>
<p>Cron allows you to schedule programs to run at specified intervals, like every Sunday at 1AM.</p>
<p><img src="http://www.intelliadmin.com/images/Alarm%20Clock.jpg" alt="Alarm Clock"/></p>
<p>Now I can already hear it&#8230;&#8221;Steve, that is what the task scheduler is for in Windows&#8221;</p>
<p>While it is true you can schedule tasks in Windows, one big issue with task scheduler is how do you transfer scheduled tasks from one computer to another?</p>
<p>You could copy the folder c:\windows\tasks, but this is totally unsupported and it does not always work.</p>
<p>That is the beauty of Cron. Every bit of scheduling info is contained within the Crontab file. </p>
<p>If you want a group of servers to have the same scheduled jobs, you just need to sync this file. No registry hacks, no tricks. Just one file.</p>
<p>Not only that, since it is just a simple text file you can easily schedule jobs from PHP, PowerShell or VBScript&#8230;without any ActiveX or hooks into Windows. You just need to modify a simple text file.</p>
<p>There are a few Windows implementations out there&#8230;but most of them are quite old. We wanted something that would work on 2000 through 2008 x64 &#8211; so we built our own <img src='http://www.intelliadmin.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>To use it, download the setup file from our downloads page:</p>
<p><a href="http://www.intelliadmin.com/index.php/downloads/">http://www.intelliadmin.com/index.php/downloads/</a></p>
<p>The install does not create any icons, or shortcuts. It installs all the application files into <code>c:\program files\IntelliAdmin\Cron</code> by default, and automatically starts the cron service (Named icronsvr).</p>
<p><img src="http://www.intelliadmin.com/images/IntelliAdmin%20Cron%20Service.jpg" alt="IntelliAdmin Cron Service"/></p>
<p>There are two files for configuration, they are both in the same folder as the service.</p>
<p>The first to look at is the file config.cfg:<br />
<code><br />
[Configuration]<br />
status_enabled=true<br />
status_handler=<br />
path=<br />
</code></p>
<p>Here is what each option does:</p>
<p><b>status_enabled (true/false)</b> &#8211; If set to true, each time a program is executed it is logged to a file named status.log in the same folder as the service</p>
<p><b>status_handler</b> &#8211; If set to point to an executable file, it is executed each time a process is run. The first argument is the status text shown in status.log. (Example usage of this would be to send an email each time a process is executed by cron..using a bat file and a command like tool <a href="http://www.blat.net/">blat</a>)</p>
<p><b>path</b> &#8211; An alternative path for the crontab file. By default the service looks for the crontab in the same folder as the service. Setting this tells the service to look at the specified folder for the crontab file</p>
<p>The next is the actual crontab file. It roughly follows the same format as the <a href="http://en.wikipedia.org/wiki/Cron">Unix crontab</a></p>
<p>The file is formatted in this way:</p>
<p>[M] [H] [D] [M] [DOW] [Process Name] [Process Arguments]</p>
<p>M &#8211; The minute that the process should be executed (0-59)<br />
H &#8211; The hour that the process should be executed (0-23)<br />
D &#8211; The day that the process should be executed (1-31)<br />
M &#8211; The month that the process should be executed (1-12)<br />
DOW &#8211; The day of the week that the process should be executed (0-6 Sunday = 0, Monday = 1, Etc)</p>
<p><b>Note:</b> <i>Our format does not support names such as THU, or JAN&#8230;only numerical values</i></p>
<p>Each section can:</p>
<p>-Have a range of values like this: 12-24 (All items from 12 to 24)<br />
-Have a list of values like this: 12,13,14,15<br />
-Include all possible values like this: *<br />
-Skip values using the / like this: 0-59/5 (This would only include 0,5,10,15,20,etc)</p>
<p>Lets put it all together. If we wanted a process to run every 5 minutes we would create a line like this in our crontab file:</p>
<p><code>*/5 * * * * c:\process.bat</code></p>
<p>See how the skip value works? We specified the * for the minute section (All minutes), and then told it to skip 5. This means it will run at 0, 5, 10, 15, 20, etc.</p>
<p>If you wanted to run a process every Sunday at 1 pm:</p>
<p><code>00 01 * * 00 c:\process.bat</code></p>
<p>Or how about, only every Sunday from June to the end of the year:</p>
<p><code>00 01 * 06-12 00 c:\process.bat</code></p>
<p>At 15, and 30 minutes past every hour:</p>
<p><code>15,30 * * * * c:\process.bat</code></p>
<p>This might give you a clearer picture:</p>
<pre>
*     *     *   *    *     C:\SomeEXE.EXE ARG1 ARG2 ARG3
-     -     -   -    -
|     |     |   |    |
|     |     |   |    +----- day of week (0 - 6) (Sunday=0)
|     |     |   +------- month (1 - 12)
|     |     +--------- day of        month (1 - 31)
|     +----------- hour (0 - 23)
+------------- min (0 - 59)
</pre>
<p>It takes a little time to get used to the format, but once you do it is a breeze to work with.</p>
<p>A few things to think about when using this:</p>
<p>-Make sure you secure the crontab file by only allowing &#8216;System&#8217; and Administrator write access. Otherwise a standard user could simply alter the crontab file and start running stuff as &#8216;System&#8217;</p>
<p>-The programs are run in the context of a service. By default the user account is &#8216;System&#8217;, and for security reasons it does not have network share access. If you want to allow access to network shares you would have to go into the settings of the IntelliAdmin Cron Service, and have it login as a user with the appropriate rights.</p>
<p>-Since it is a service, make sure your program does not pop up forms or message boxes&#8230;otherwise they will just get stuck and you will never see them. Test&#8230;test&#8230;test before you deploy.</p>
<p>If you have any other features you would like to add to this little tool, let us know and we will see what we can do.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2011/11/cron-service-for-windows/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Missing network drives in Windows 7</title>
		<link>http://www.intelliadmin.com/index.php/2011/10/missing-network-drives-in-windows-7/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/10/missing-network-drives-in-windows-7/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 14:55:02 +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>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4343</guid>
		<description><![CDATA[If you have been using Windows 7 (Or even Vista) for a while, you might have noticed something really annoying. When you have drives mapped in explorer: They don&#8217;t show up in a command prompt if it is elevated with administrator permissions: There is a simple reason for this &#8211; The feature known as User [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/10/missing-network-drives-in-windows-7/" title="Permanent link to Missing network drives in Windows 7"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Network.jpg" width="55" height="55" alt="Post image for Missing network drives in Windows 7" /></a>
</p><p>If you have been using Windows 7 (Or even Vista) for a while, you might have noticed something really annoying.</p>
<p>When you have drives mapped in explorer:</p>
<p><img src="http://www.intelliadmin.com/images/Mapped%20Drive%20Explorer.jpg"></p>
<p>They don&#8217;t show up in a command prompt if it is elevated with administrator permissions:</p>
<p><img src="http://www.intelliadmin.com/images/Mapped%20Drive%20Command%20Line.jpg" alt="Mapped Drives in the command line"/></p>
<p>There is a simple reason for this &#8211; The feature known as User Account Control, or UAC. When you want to launch a program with admin rights, you see that familiar window:</p>
<p><img src="http://www.intelliadmin.com/images/UAC%20Prompt%20CMD.jpg" alt="UAC Prompt"/></p>
<p>This causes the application to execute under a different user token, and in turn it means that you have a totally different set of mapped drives (Usually none!)</p>
<p>Personally I will take the security risk of the standard apps and the elevated apps sharing the same set of mapped drives &#8211; before you do this you need to determine if this risk is too high for your situation.</p>
<p>To get windows to share the list of mapped drives between both, you need to make a registry change.</p>
<p>Drill down to this key:</p>
<p><code>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System</code></p>
<p>Under that key create a DWORD value named:</p>
<p><code>EnableLinkedConnections</code></p>
<p>And set it to 1</p>
<p>If you don&#8217;t want to plunk around in the registry, we have updated <a href="http://www.intelliadmin.com/index.php/network-administrator/">Network Administrator</a> to do it for you.</p>
<p><img src="http://www.intelliadmin.com/images/Network%20Administrator%20Share%20Drives.jpg" alt="Network Administrator Share Drives"></p>
<p>Download your copy from here:</p>
<p><a href="http://www.intelliadmin.com/NetworkAdministratorTrial.exe" rel="nmlp">http://www.intelliadmin.com/NetworkAdministratorTrial.exe</a></p>
<p>Just make sure you reboot after the change &#8211; it won&#8217;t take effect until you do.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2011/10/missing-network-drives-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Remove unavailable drives from a script</title>
		<link>http://www.intelliadmin.com/index.php/2011/10/remove-unavailable-drives-from-a-script/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/10/remove-unavailable-drives-from-a-script/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 17:34:33 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Utility]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4325</guid>
		<description><![CDATA[I have been testing parts of our software lately (Alpha stuff that will be released in a few months). One problem I keep running into, is I collect up a large number of mapped drives that are unavailable: This is because the machine is powered off, or is a virtual machine that I deleted. I [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/10/remove-unavailable-drives-from-a-script/" title="Permanent link to Remove unavailable drives from a script"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Command.jpg" width="64" height="54" alt="Post image for Remove unavailable drives from a script" /></a>
</p><p>I have been testing parts <a href="http://www.intelliadmin.com/index.php/products/">of our software</a> lately (Alpha stuff that will be released in a few months). One problem I keep running into, is I collect up a large number of mapped drives that are unavailable:</p>
<p><img src="http://www.intelliadmin.com/images/Unavailable%20Drives.jpg" alt="Unavailable Drives"></p>
<p>This is because the machine is powered off, or is a virtual machine that I deleted.</p>
<p>I like to use the same set of drive letters for testing, since it makes it simpler, and I don&#8217;t have to keep changing paths. The problem is that once a drive becomes &#8216;unavailable&#8217; you need to to explicitly disconnect each one by using the command:</p>
<p><code>net use /delete [drive]</code></p>
<p>I was getting tired of doing this all the time, so I built a script that will automatically clear out disconnected or unavailable drives.</p>
<p>Here is the script:<br />
<code><br />
@echo off<br />
for /F "tokens=1-3" %%a in ('net use') do (<br />
  if /i %%a==Disconnected  net use /delete %%b<br />
  if /i %%a==Unavailable   net use /delete %%b<br />
)<br />
</code><br />
It loops through all the network connections, and looks for &#8216;Disconnected&#8217; or &#8216;Unavailable&#8217; and runs a &#8216;net use /delete [drive]&#8216; against it.</p>
<p>I ran it once on my machine:</p>
<p><img src="http://www.intelliadmin.com/images/Unavailable%20Drives%20Deleted.jpg" alt="Unavailable Drives Deleted"/></p>
<p>It cleared out all of those unavailable drives in a few seconds.</p>
<p>This can be helpful in your login scripts too &#8211; if the user has failed mappings from before, it can prevent your logon script from properly mapping to the correct server.</p>
<p>If you want to create a shortcut to it on your desktop, just create a new text file, name it &#8220;clear_drives.bat&#8221; and put the above script in.</p>
<p>Now if you want to clear out your unavailable drives you just need to double click on a shortcut, instead of wasting time in the command line.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2011/10/remove-unavailable-drives-from-a-script/feed/</wfw:commentRss>
		<slash:comments>2</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>Unlock a file that is in use &#8211; Without a reboot</title>
		<link>http://www.intelliadmin.com/index.php/2011/09/unlock-a-file-that-is-in-use-without-a-reboot/</link>
		<comments>http://www.intelliadmin.com/index.php/2011/09/unlock-a-file-that-is-in-use-without-a-reboot/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 02:30:33 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Utility]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4234</guid>
		<description><![CDATA[A few weeks back I wrote about a way to delete or move a file on reboot. Why would you want to do that? It is probably in use by an application or service that you can&#8217;t seem to find (Usually maleware or a virus). Many readers were kind enough to point me to a [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2011/09/unlock-a-file-that-is-in-use-without-a-reboot/" title="Permanent link to Unlock a file that is in use &#8211; Without a reboot"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/folder.jpg" width="55" height="55" alt="Post image for Unlock a file that is in use &#8211; Without a reboot" /></a>
</p><p>A few weeks back <a href="http://www.intelliadmin.com/index.php/2011/09/move-or-delete-files-that-are-always-in-use/">I wrote</a> about a way to delete or move a file on reboot. </p>
<p>Why would you want to do that?</p>
<p>It is probably in use by an application or service that you can&#8217;t seem to find (Usually maleware or a virus).</p>
<p>Many readers were kind enough to point me to a free tool offered by MalwareBytes &#8211; it is called FileAssassin.</p>
<p>It allows you to unlock any file in use, without the reboot.</p>
<p>It is very simple to use. </p>
<p>Launch the application, and pick the file you want to remove:</p>
<p><img src="http://www.intelliadmin.com/images/FileAssassin%20Pick%20Files.jpg" alt="Pick Files"/></p>
<p>Select your options (Notice it can delete on reboot too)</p>
<p><img src="http://www.intelliadmin.com/images/FileAssassin%20Pick%20Options.jpg" alt="FileAssassin Main Window"/></p>
<p>After you pick your file and options &#8211; execute. Now your file is unlocked, without a reboot.</p>
<p>Download it from here:<br />
<a href="http://www.malwarebytes.org/products/fileassassin">http://www.malwarebytes.org/products/fileassassin</a></p>
<p>It is free for commercial and personal use &#8211; another great tool to add to that flash drive you carry around <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/09/unlock-a-file-that-is-in-use-without-a-reboot/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

