<?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>Teh Tech &#187; Tools</title>
	<atom:link href="http://tehtech.com/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://tehtech.com</link>
	<description>Being an Admin is Hard Enough</description>
	<lastBuildDate>Wed, 14 Jul 2010 16:14:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Cause a Computer to Stop Booting via Script</title>
		<link>http://tehtech.com/cause-a-computer-to-stop-booting-via-script/</link>
		<comments>http://tehtech.com/cause-a-computer-to-stop-booting-via-script/#comments</comments>
		<pubDate>Sat, 08 May 2010 18:26:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Break]]></category>
		<category><![CDATA[Cute Secretary]]></category>
		<category><![CDATA[Stop Booting]]></category>

		<guid isPermaLink="false">http://tehtech.com/?p=371</guid>
		<description><![CDATA[Interesting simple script I wrote today to cause a computer to stop booting. When run the operating system will not load, the issue is easily reversed with a boot cd of any kind. Why would I ever want to do this you might ask. Simple I used it at the request of an employer. The [...]]]></description>
			<content:encoded><![CDATA[<p>Interesting simple script I wrote today to cause a computer to stop booting. When run the operating system will not load, the issue is easily reversed with a boot cd of any kind.  Why would I ever want to do this you might ask. Simple I used it at the request of an employer. The boss had requested a way to see exactly what a user was doing on his work computer without a chance to clean it up.  I used kaseya to push this script down and a few min later I got a call from the user saying his computer crashed. I told him to send it to IT and he did. I got the computer, renamed the file and turned it over to the boss so he could see what he wanted.  He was let go a few hours later.<br />
<span id="more-371"></span></p>
<p>More or less what we are doing is renaming ntdetect.com to ntdetect.bak.  When the computer reboots it will loop until you rename the file back by boot disk like bart pe.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<div class="box">
Script Name: Break the computer<br />
Script Description: Causes the computer to stop booting until a file is renamed.</p>
<p>IF True<br />
THEN<br />
Execute Shell Command<br />
Parameter 1 : attrib -H -R -S c:ntdetect.com<br />
Parameter 2 : 0<br />
OS Type : 0<br />
Execute Shell Command<br />
Parameter 1 : rename c:ntdetect.com ntdetect.bak<br />
Parameter 2 : 0<br />
OS Type : 0<br />
ELSE
</p></div>
<p>
This can also be used in a batch file:<br />

<div class="box">
attrib -H -R -S c:ntdetect.com<br />
rename c:ntdetect.com ntdetect.bak<br />
Shutdown -r -f -t 0
</div>
<p>Could be useful for trying to recover stolen computers, data from soon to be fired employees (not giving them the chance to delete things).  Or recovering a computer to investigation.  You can also use it as an excuse to go visit that cute new secretary&#8230;</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://tehtech.com/cause-a-computer-to-stop-booting-via-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>All About Internet Explorer 8 &amp; Uninstall/Rollback Script</title>
		<link>http://tehtech.com/all-about-internet-explorer-8-uninstallrollback-script/</link>
		<comments>http://tehtech.com/all-about-internet-explorer-8-uninstallrollback-script/#comments</comments>
		<pubDate>Sun, 02 May 2010 18:19:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Kaseya]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[Internet Explorer 8]]></category>
		<category><![CDATA[Patch]]></category>
		<category><![CDATA[Windows update]]></category>

		<guid isPermaLink="false">http://tehtech.com/?p=368</guid>
		<description><![CDATA[Internet Explorer 8 is the newest release from Microsoft and recently left beta and hit automatic updates. I will be discussing the issues that I have encountered, and the fixes I have found. Additionally, I will include group policy templets to prevent its distribution and a uninstall script to remove it for systems. I came [...]]]></description>
			<content:encoded><![CDATA[<p>Internet Explorer 8 is the newest release from Microsoft and recently left beta and hit automatic updates. I will be discussing the issues that I have encountered, and the fixes I have found.  Additionally, I will include group policy templets to prevent its distribution and a uninstall script to remove it for systems. I came in Monday to find that the software was installed on a spattering of computers across sever different clients (about 250 computers). I spent most of the rest of the week fixing them.<br />
<span id="more-368"></span></p>
<h4>Issues that I have had:</h4>
<p>No reboot: This seems to be the most common issue I encountered.  If the patch was installed and the computer was no rebooted you will experience things like not being able to type in text input fields. Rundll32.exe memory dumps, and missing menus and toolbars.  To fix this rebooting seems to do the trick.</p>
<p>No Header or title in internet explorer: For some reason I have seen this a few times when the computer went from IE6 to IE8 directly.  The browser window will not show any title, and will not allow you to open any menus.  The fix I found for this is to give the user account local admin rights and login again.  Go through the setup wizard and change the rights back again.</p>
<p>Internet explorer will not open after upgrade: I have seen this a few times.  First try running the browser as another user.  If it opens, try giving the user that is having issues local admin rights. If this does not fix it I found that recreating the user profile works ( I had to resort to this only twice out of 12 browsers that would not open)</p>
<p>Website Incompatibility: MANY products and websites are not compatibly with internet explorer 8.  Microsoft chose not to follow internet conventions when developing the browser so there have been a ton of issues encountered.  This is actually so prevalent that Microsoft introduced compatibility view to allow people to render websites in Internet Explorer 7.  Check out <a title="MS FAIL" href="http://blogs.msdn.com/ie/archive/2008/08/27/introducing-compatibility-view.aspx " onclick="pageTracker._trackPageview('/outgoing/blogs.msdn.com/ie/archive/2008/08/27/introducing-compatibility-view.aspx?referer=');">THIS</a><br />
Spybot &#8211; If you have spybot installed on your computer unfortunately it will not work with internet explorer 8.  The people at spybot are working to fix this but the only solution I found as of writing this is to uninstall either IE8 or spybot.</p>
<p>ADP &#8211; a very common workflow and payroll management provider.  If you are using IE8 you cannot log into ADP unless you view the page in Compatibility Mode.</p>
<p>Centricity &#8211; A common medical Practice management software, this does not seem to work at all with IE8 installed.  I found uninstalling to be the only option.</p>
<p>Solidworks &#8211; a Design and CAD application, once installed IE8 will cause web help to stop functioning as well as some other web based services. Uninstalling IE8 seems to be the best option for this as well.</p>
<p>Quickbooks &#8211; IE8 will break the web-help application and case older versions of quickbooks to crash on first load.  Again until there is a hotfix uninstalling IE is the best option.</p>
<p>General Browsing &#8211; About 2400 websites are not compatible with IE8.  A  bunch of banking sites and smaller sites do not work or allow for login, most of these are fixed with compatibility view.  Some big name sites like amazon.com ebay.com and download.com are having issues with the browser rendering.  I list of sites that are not rendered correctly is available <a title="Broken Sites" href="http://blogs.zdnet.com/microsoft/?p=2072" onclick="pageTracker._trackPageview('/outgoing/blogs.zdnet.com/microsoft/?p=2072&amp;referer=');">HERE</a>.Â </p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<h4>Options:</h4>
<p>Microsoft seems to have messed up again.  The browser does not follow conventions, it does not have nearly all the bugs and kinks worked out.  It causes a ton of applications and websites to not work, so much so they included a compatibility option out of the box. It seems hardly finished to me.</p>
<p>That said rollback may be a good option for you.  Microsoft allows several uninstall options:</p>
<p>Add and remove programs wizard &#8211; This will let you remove the browser and all subsequent patches in one wizard.</p>
<p>Restore &#8211; Sometimes it is just too messed up, the uninstaller wont work, or something else goes wrong. By defult the install creates a restore point.  This may be a option in some situations to rollback the mess.</p>
<p>Login Script: My favorite!  This is what I have been using on some domains to remove it.<br />

<div class="box">
%windir%\ie8\spuninst\spuninst.exe /quiet /norestart /log:G:\%computername%\<span style="color: #ff0000;">ie8uninstall.log</span><br />
Shutdown -r -f -t 30 -c â€œReboot for Internet Explorer 8 Uninstallâ€</div>
<p>Kaseya &#8211; It for things like this I love kaseya.<br />

<div class="box">
Script Name: IE8 Uninstall<br />
Script Description: Uninstall IE 8</p>
<p>IF Test File<br />
Parameter 1 : %windir%\ie8\spuninst\spuninst.exe<br />
Exists :<br />
THEN<br />
Execute File<br />
Parameter 1 : %windir%\ie8\spuninst\spuninst.exe<br />
Parameter 2 : /quiet /norestart /log:<span style="color: #ff0000;">G:\ie8uninstall.log</span><br />
Parameter 3 : 3<br />
OS Type : 0<br />
ELSE
</div>
<p>
Preventing the patch for reaching your system &#8211; Microsoft admits that the patch might not be for everyone.  Check out <a title="MS FAIL" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=21687628-5806-4ba6-9e4e-8e224ec6dd8c&amp;displaylang=en" onclick="pageTracker._trackPageview('/outgoing/www.microsoft.com/downloads/details.aspx?FamilyID=21687628-5806-4ba6-9e4e-8e224ec6dd8c_amp_displaylang=en&amp;referer=');">THIS</a>.  It included a group policy template to prevent the update from installing via automatic updates, and a login script option that can also be used with kaseya.<br />

<div class="box">
Script Name: Block IE 8<br />
Script Description: Blocks IE8 From Auto Update</p>
<p>IF True<br />
THEN<br />
Execute Shell Command<br />
Parameter 1 : md c:\temp<br />
Parameter 2 : 0<br />
OS Type : 0<br />
Execute Shell Command<br />
Parameter 1 : md c:\temp\ie8<br />
Parameter 2 : 0<br />
OS Type : 0<br />
Write File<br />
Parameter 1 : md c:\temp\ie8\ie8block.cmd<br />
Parameter 2 : <span style="color: #ff0000;">admin\batch</span>\IE80Blocker.cmd<br />
OS Type : 0<br />
Execute File<br />
Parameter 1 : md c:\temp\ie8\ie8block.cmd<br />
Parameter 2 : /b<br />
Parameter 3 : 0<br />
OS Type : 0<br />
ELSE
</div>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://tehtech.com/all-about-internet-explorer-8-uninstallrollback-script/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Enable and Disable UAC Via Login in Vista</title>
		<link>http://tehtech.com/enable-and-disable-uac-via-login-in-vista/</link>
		<comments>http://tehtech.com/enable-and-disable-uac-via-login-in-vista/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 00:44:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[UAC]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://tehtech.com/?p=305</guid>
		<description><![CDATA[In Vista UAC (User Access Control) is both anoying and can prevent you for doing some tasks remotely. For example, Installing Trend Micro Client Security Agent is not possible over VNC if UAC is enabled. UAC will cause a window to pop up asking you to confirm that the drivers that the antivirus is trying [...]]]></description>
			<content:encoded><![CDATA[<p>In Vista UAC (User Access Control) is both anoying and can prevent you for doing some tasks remotely. For example, Installing Trend Micro Client Security Agent is not possible over VNC if UAC is enabled. UAC will cause a window to pop up asking you to confirm that the drivers that the antivirus is trying to install are legitimate. When UAC is invoked you will oftenÂ loseÂ VNC to a computer, I found that this a very common issue when installing drivers in particular. In looking for a easy way to disable UAC on a few computers while doing some maintenance I found this command line chunk.<br />
<span id="more-305"></span></p>
<p>Disable UAC:</p>
<div class="box">C:WindowsSystem32cmd.exe /k %windir%System32reg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 0 /f</div>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>Enable UAC:</p>
<div class="box">C:WindowsSystem32cmd.exe /k %windir%System32reg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 1 /f</div>
<p>Note that in Vista though this can be run from command line but if you make it a batch file you will have to right click and select &#8216;run as administrator&#8217;</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://tehtech.com/enable-and-disable-uac-via-login-in-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The 333 Event ID In The Application Event Log</title>
		<link>http://tehtech.com/the-333-event-id-in-the-application-event-log/</link>
		<comments>http://tehtech.com/the-333-event-id-in-the-application-event-log/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 02:52:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Event Log]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Application Error]]></category>
		<category><![CDATA[Event ID 333]]></category>

		<guid isPermaLink="false">http://tehtech.com/?p=294</guid>
		<description><![CDATA[I am writing this because I had a server doing this for a very long time before I pinned down the cause. This will include a lot of what I found on the internet and my own personal fix that worked for me. Example Event: Event Type: Error Event Source: Application Popup Event Category: None [...]]]></description>
			<content:encoded><![CDATA[<p>I am writing this because I had a server doing this for a very long time before I pinned down the cause. This will include a lot of what I found on the internet and my own personal fix that worked for me.</p>
<p>Example Event:</p>
<div class="box">Event Type: Error<br />
Event Source: Application Popup<br />
Event Category: None<br />
Event ID: 333<br />
Date: 3/23/2009<br />
Time: 2:44:53 PM<br />
User: N/A<br />
<a href="http://forums.techguy.org/networking/534339-event-id-333-windows-server.html#" onclick="pageTracker._trackPageview('/outgoing/forums.techguy.org/networking/534339-event-id-333-windows-server.html?referer=');">Computer</a>: SERVER1<br />
Description:<br />
An I/O operation initiated by the Registry failed unrecoverably. The Registry could not read in, or write out, or flush, one of the files that contain the system&#8217;s image of the Registry.Â </p>
<p>For more information, see Help and Support Center atÂ <a href="http://go.microsoft.com/fwlink/events.asp" onclick="pageTracker._trackPageview('/outgoing/go.microsoft.com/fwlink/events.asp?referer=');">http://go.microsoft.com/fwlink/events.asp</a>.<br />
Data:<br />
0000: 00 00 00 00 01 00 6c 00 &#8230;&#8230;l.<br />
0008: 00 00 00 00 4d 01 00 c0 &#8230;.M..Ã€<br />
0010: 00 00 00 00 4d 01 00 c0 &#8230;.M..Ã€<br />
0018: 00 00 00 00 00 00 00 00 &#8230;&#8230;..<br />
0020: 00 00 00 00 00 00 00 00 &#8230;&#8230;..</div>
<p>Symptoms: Every third of a second or so there was an event id 333 error logged in the application event log on the server. This would start after the server has been up for a few hours to days and will stop for a period after the server was rebooted. The error occurred so often I was reaching 30,000 instances of the error in 24 hours. About 36 hours after the event started occurring no one was able to login active directory, and to get the server back up it required a manual hard reboot.</p>
<p>Â <span id="more-294"></span></p>
<p>Things I found on the internet: This error is often caused by lack of resources on the server. Either there is not enough addressable memory, your disk speed it too low, or something is functioning very sub optimally. Everything I found on the internet pointed to checking these:</p>
<p>Â <br />
<script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<ul class="unIndentedList">
<li> /3GB Â /PAE Â  and /USERVAÂ switches in the boot ini. Â It it worth evaluating if you have these set up right. Â More often than not they are not needed at all. Â <a href="http://blogs.technet.com/askperf/archive/2007/03/23/memory-management-demystifying-3gb.aspx" onclick="pageTracker._trackPageview('/outgoing/blogs.technet.com/askperf/archive/2007/03/23/memory-management-demystifying-3gb.aspx?referer=');">This</a>Â post on /3gb and /PAE and<a href="http://support.microsoft.com/?id=316739" onclick="pageTracker._trackPageview('/outgoing/support.microsoft.com/?id=316739&amp;referer=');">this</a>Â articleÂ on /userva</li>
</ul>
<p></p>
<ul>
<li> CheckÂ performance. UseÂ <a href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx" onclick="pageTracker._trackPageview('/outgoing/technet.microsoft.com/en-us/sysinternals/bb896653.aspx?referer=');">process explorer</a>Â to see if there is something creating a excessive number of threads, or handles. Â Use it to monitor tasks and make sure no process is being greedy with CPU time orÂ memoryÂ usage.</li>
<p></p>
<li> Disable Hot add Memory. Â This has been useful to me on terminal servers before, though it did not fix my issue I have found a significant number of posts where it did. Â Check out thisÂ <a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;913568" onclick="pageTracker._trackPageview('/outgoing/support.microsoft.com/default.aspx?scid=kb_EN-US_913568&amp;referer=');">article</a>.</li>
<p></p>
<li> Out of date firmware and drivers. Â ThisÂ especiallyÂ goes for RAID controllers and hard disks. Â This can often times be really hard to upgrade without breaking the data on your disks. Â If you are using a RAID controller with 6 year old firmware, chances are that it is notÂ preformingÂ optimallyÂ on your 2 TB RAID 5 configuration. Â I would start byÂ upgradingÂ in this path: 1. RAID controller driver Â  Â  2. Motherboard BIOS Â  Â 3. Motherboard chipset drivers Â  4. RAID controller firmware Â  Â 5. Â Hard disk firmware. Â Be very careful to check with the vendors beforeÂ changingÂ firmware on your disks or controller that it is not data destructive.</li>
<p></p>
<li> Update SQL. Â If you are running SQL make sure you have all the updates, and that your memory usage in SQL is not set higher than 1/2 of your totalÂ availableÂ memory unless it is aÂ detectedÂ SQL server. Â </li>
<p></p>
<li> Disk Quotas. Â Turn them off, i really don&#8217;t think anyone uses them anyways. Â If you do make sure you don&#8217;t have any service running under a account that is subject to disk quotas. Â for example if you have a 500 mb disk quota for all users, and your print spooler is running under a service account. Â If a few peopleÂ printÂ big things, its not going to work and you will get 333 errors among other errors.</li>
<p></p>
<li> Page File. Â Your page file should be 1.5 times your totalÂ system RAM. Â On a server with 1 gb of RAM you would set this to 1.5 gb, do not allow for system managed pagefile.</li>
<p></p>
<li>Ntbackup.exe. Â This can cause strange system hangs if you are having a issue with VSS, are running SQL, or exchange, or any other application that is very did write intensive. Â I found several posts that pointed to nightly systemstate backups as theÂ culprit. Â You can disable thisÂ temporarilyÂ for troubleshooting. Â </li>
<p></p>
<li>Old Antivirus. Â Make sure you have the latest scanÂ engineÂ on your antivirus. Â There were some examples of people that updated their antivirus and the issue was resolved like magic.Â </li>
<p></p>
<li>Virus/spyware. Â This goes with out saying in most cases, but make sure there is nothing sketchyÂ runningÂ on your server.</li>
<p>
</ul>
<p>Â </p>
<p>My solution: Â For me the the solution was pagefile and disk quota. Â The page file was system managed and moved to a disk off the primary partition. Â This disk had disk quota limitations on it. Â When things got intense and the server wanted more disk space for the page file quotaÂ managementÂ would slap its hand and make it put it back. Â This was decreasing my performance and using causing a ton of errors. Â I wasÂ effectivelyÂ able to use 1.5gb of my pagefile on a server that was runningÂ exchangeÂ and SQL. Â I turned off disk Quotas and change the pagefile to a set size, since doing this I have had no issues at all.<br />
<script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://tehtech.com/the-333-event-id-in-the-application-event-log/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding â€˜Lock My Computerâ€™ Shortcut to The Desktop</title>
		<link>http://tehtech.com/adding-lock-my-computer-shortcut-to-the-desktop/</link>
		<comments>http://tehtech.com/adding-lock-my-computer-shortcut-to-the-desktop/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 01:14:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Kaseya]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Lock]]></category>

		<guid isPermaLink="false">http://tehtech.com/?p=287</guid>
		<description><![CDATA[In a effort to increase security at one of my healthcare providers they requested a quick way their employees can lock their computers when they walk away from their computers. Â I foundÂ Mklnk,Â it isÂ a very tiny free utility that lets you make shortcuts from command line. Â I decided to use this to accomplish this task. Â I [...]]]></description>
			<content:encoded><![CDATA[<p>In a effort to increase security at one of my healthcare providers they requested a quick way their employees can lock their computers when they walk away from their computers. Â I foundÂ <a title="mklnk" href="http://smithii.com/mklnk" target="_blank" onclick="pageTracker._trackPageview('/outgoing/smithii.com/mklnk?referer=');">Mklnk,</a>Â it isÂ a very tiny free utility that lets you make shortcuts from command line. Â I decided to use this to accomplish this task. Â I did some research and found that the following command will lock your computer.</p>
<div class="box">rundll32.exe user32.dll,LockWorkStation</div>
<p><span id="more-287"></span><br />
So I used this with mklnk.exe to make a shortcut on the users desktop, with a lock icon. Â Below is the batch file I used. Â G: is a network share containing mklnk.exe.</p>
<div class="box">g:mklnk.exe -a user32.dll,LockWorkStation -i %SystemRoot%system32SHELL32.dll -n 47 %SystemRoot%system32rundll32.exe &#8220;%ALLUSERSPROFILE%DesktopLock&#8221;</div>
<p>What this does it it passes the argumentsÂ user32.dll,LockWorkStation to the rundll32.exe, and the result is a shortcut on the all user desktop called &#8220;lock&#8221; that uses shell icon 47 (a cute lock graphic).</p>
<p>To use this with kaseya you have to upload mklnk.exe to the kserver, and then import the following script. Â Be sure to change the <span style="color: #ff0000;">red</span> to match the location you have uploaded mklnk.exe.</p>
<div class="box">Script Name: Lock Computer Icon on Desktop<br />
Script Description: Creates a Lock icon on the all user desktop silentlyÂ </p>
<p>IF True<br />
THEN<br />
Execute Shell Command<br />
Parameter 1 : md c:temp<br />
Parameter 2 : 0<br />
OS Type : 0<br />
Write File<br />
Parameter 1 : c:tempmklnk.exe<br />
Parameter 2 : <span style="color: #ff0000;">adminutilmklnk.exe</span><br />
OS Type : 0<br />
Execute Shell Command<br />
Parameter 1 : c:tempmklnk.exe -a user32.dll,LockWorkStation -i %SystemRoot%system32SHELL32.dll -n 47 %SystemRoot%system32rundll32.exe &#8220;%ALLUSERSPROFILE%DesktopLock My Computer&#8221;<br />
Parameter 2 : 1<br />
OS Type : 0<br />
Delete File<br />
Parameter 1 : c:tempmklnk.exe<br />
OS Type : 0<br />
ELSE</div>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://tehtech.com/adding-lock-my-computer-shortcut-to-the-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integrating Service Pack 3 Into a Windows CD</title>
		<link>http://tehtech.com/integrating-service-pack-3-into-a-windows-cd/</link>
		<comments>http://tehtech.com/integrating-service-pack-3-into-a-windows-cd/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 03:30:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[Service Pack 3]]></category>
		<category><![CDATA[Windows update]]></category>
		<category><![CDATA[windowsXP-KB936929-SP3-x86-ENU.exe]]></category>

		<guid isPermaLink="false">http://tehtech.com/?p=254</guid>
		<description><![CDATA[I hate having to install service pack 3 after installing a OS. Â I did not have a CD with SP3 slipstreamed yet, so I made one. Â Here is how to do it. Download: Â Download the path from Microsoft HERE Copy: Copy the ENTIRE contents of your windows CD to a working directory. Â Your windows CD [...]]]></description>
			<content:encoded><![CDATA[<p>I hate having to install service pack 3 after installing a OS. Â I did not have a CD with SP3 slipstreamed yet, so I made one. Â Here is how to do it.<br />
<span id="more-254"></span></p>
<ol>
<li>Download: Â Download the path from Microsoft <a title="SP3 Direct Link" href="http://download.microsoft.com/download/d/3/0/d30e32d8-418a-469d-b600-f32ce3edf42d/WindowsXP-KB936929-SP3-x86-ENU.exe" onclick="pageTracker._trackPageview('/outgoing/download.microsoft.com/download/d/3/0/d30e32d8-418a-469d-b600-f32ce3edf42d/WindowsXP-KB936929-SP3-x86-ENU.exe?referer=');">HERE</a></li>
<p></p>
<li>Copy: Copy the ENTIRE contents of your windows CD to a working directory. Â Your windows CD must have SP2 already. For this example we will make believe my CD is in my &#8220;E&#8221; drive and I am working out of a folder called &#8220;c:SP3_cd&#8221; Â I would copy everything from the E drive to c:sp3_cd, this can be done with drag and drop or by using xcopy:
<div class="box">xcopyÂ /e /r /y Â e:*.* c:sp3_cd</div>
</li>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<br />
</p>
<li>Integrate: Â From command prompt CD to the location of your downloaded SP3 file and run theÂ integrateÂ command. Â For my example I will use:
<div class="box">Â WINDOWSXP-KB936929-SP3-X86-ENU.exe /integrate:c:sp3_cd</div>
</li>
<p></p>
<li>Rip: Using a utility called bbie (click <a title="BBIE link" href="http://69.90.47.6/mybootdisks.com/mybootdisks_com/nu2/bbie10.zip" onclick="pageTracker._trackPageview('/outgoing/69.90.47.6/mybootdisks.com/mybootdisks_com/nu2/bbie10.zip?referer=');">HERE</a>) rip the boot sector off your windows CD. Â Again from command line navigate to the location of your bbie andÂ simplyÂ input theÂ sourceÂ CD. Â To drop a file called &#8220;image1.bin&#8221; in the same directory as your bbie.exe I would run:
<div class="box"> bbie.exe e:</div>
</li>
<p></p>
<li>Make: Make a ISO with your folder and boot file. Â Use Nero, or Magic iso to burn the contents of your patched CD. Â Be sure to use the boot file we created. Â Select bootable form them menu. Â Alternitivly you can download barpe builder <a title="Bart pe" href="http://nu2.nu/pebuilder/" onclick="pageTracker._trackPageview('/outgoing/nu2.nu/pebuilder/?referer=');">HERE.</a> This package contains a file called mkisofs.exe from command line we can pass it a ton of arguments to make it output a iso.Â Change the colors to match your paths.<br />

<div class="box">
mkisofs.exe -force-uppercase -iso-level 4 -A mkisofs -sysid &#8220;dos&#8221; -b <span style="color: #993366;">c:image1.bin</span> -no-emul-boot -boot-load-size 4 -hide &#8220;boot.catalog&#8221; -oÂ <span style="color: #ff0000;"><span style="color: #00ffff;">c:SP3.iso </span><span style="color: #ff0000;">c:</span></span><span style="color: #ff0000;">sp3_cd</span></div>
</li>
<p></p>
<li>Rejoice: Â If you are like me and install windows a lot this will save you lots of time. Â </li>
<p>
</ol>
<p>Note: mkisofs is insanely complex switches. Â If you have nero or a application with a GUI to browse to the <span style="color: #ff0000;">source</span>, <span style="color: #993366;">boot image</span> and <span style="color: #00ffff;">output</span> it makes it much easier.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://tehtech.com/integrating-service-pack-3-into-a-windows-cd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retrieving Lost Product Keys with Magic Jelly Bean</title>
		<link>http://tehtech.com/retrieving-lost-product-keys-with-magic-jelly-bean/</link>
		<comments>http://tehtech.com/retrieving-lost-product-keys-with-magic-jelly-bean/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 02:20:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Registry]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Magic Jelly Bean]]></category>
		<category><![CDATA[Product Key]]></category>

		<guid isPermaLink="false">http://tehtech.com/?p=249</guid>
		<description><![CDATA[A magic jelly bean; just in time for Easter. Â I recently had to reinstall windows on a few computers at one of my clients. Unfortunately they are horribly disorganized and literally lost all the licenses information for office. I did a little digging around and happened to find this nifty little tool. It locates the [...]]]></description>
			<content:encoded><![CDATA[<p>A<a title="Magic Jelly Bean Keyfinder" href="http://www.magicaljellybean.com/keyfinder/" onclick="pageTracker._trackPageview('/outgoing/www.magicaljellybean.com/keyfinder/?referer=');"> </a><em><a title="Magic Jelly Bean Keyfinder" href="http://www.magicaljellybean.com/keyfinder/" onclick="pageTracker._trackPageview('/outgoing/www.magicaljellybean.com/keyfinder/?referer=');">magic</a></em><a title="Magic Jelly Bean Keyfinder" href="http://www.magicaljellybean.com/keyfinder/" onclick="pageTracker._trackPageview('/outgoing/www.magicaljellybean.com/keyfinder/?referer=');"> jelly bean</a>; just in time for Easter. Â I recently had to reinstall windows on a few computers at one of my clients.  Unfortunately they are horribly disorganized and literally lost all the licenses information for office.  I did a little digging around and happened to find this nifty little tool.  It locates the registry key where the product keys are kept, decrypts it and plops it in plane text for your viewing pleasure.  Really helpful for reinstalling office when someone lost a product key.  Or for reinstalling windows when someone killed the COA on the computer case.</p>
<p>http://www.magicaljellybean.com/keyfinder/</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://tehtech.com/retrieving-lost-product-keys-with-magic-jelly-bean/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conficker; What is it? How to Prevent and clean It.</title>
		<link>http://tehtech.com/conficker-what-is-it-how-to-prevent-and-clean-it/</link>
		<comments>http://tehtech.com/conficker-what-is-it-how-to-prevent-and-clean-it/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 17:12:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[Conflicker]]></category>
		<category><![CDATA[MS08-067]]></category>
		<category><![CDATA[Virus]]></category>
		<category><![CDATA[Windows update]]></category>

		<guid isPermaLink="false">http://tehtech.com/?p=262</guid>
		<description><![CDATA[What is it?: Conflicker is a virus that has been spreadingÂ  for about 2 months infecting an estimated 15-20 million computers worldwide. Â Systems running windows 2000, server 2000, windows XP (all variations), Vista (all variations), server 2003, server 2008 and even windows 7 areÂ susceptible. Â TheÂ detailsÂ of what exactly the virus does are a bit sketchyÂ becauseÂ of the [...]]]></description>
			<content:encoded><![CDATA[<p>What is it?: Conflicker is a virus that has been spreadingÂ  for about 2 months infecting an estimated 15-20 million computers worldwide. Â Systems running windows 2000, server 2000, windows XP (all variations), Vista (all variations), server 2003, server 2008 and even windows 7 areÂ susceptible. Â TheÂ detailsÂ of what exactly the virus does are a bit sketchyÂ becauseÂ of the way the virus is created. Â At this time it appears that the virus isÂ dormantÂ in the computer and waiting to download theÂ remainderÂ of its payload code Â on April 1st.Â  Right nowÂ it isÂ presumed that the worm spreads itsself through the RPC service and through http, network shares, USB and removable media, and even FTP. Â The worm has the ability to modify open port exceptions on windows firewall as well as theÂ abilityÂ to stop svchost.exe, services.exe, and explorer.exe. Â It has a built in P2P application so that the virus can bothÂ communicateÂ code betweenÂ each otherÂ andÂ web serversÂ andÂ coordinate. Â This is where the fear of Â fastÂ changingÂ polymorphic code comes from as well as the ability of the virus to use host computers in a zombie like fashion to attack other computers or servers. Â </p>
<p>Symptoms of the virus are expected to include and have been confirmed to include:</p>
<ul>
<li>ServicesÂ disablingÂ on their own. Namely windows defender, BITS, windows firewall, and some third party antivirus services such as live update.</li>
<li>Massive increase in network traffic. Â Up to a 10-15% increase in total network traffic isÂ expectedÂ on infected networks. This is due to attacks on shares and accounts, as well as spreading of the virus and payload.</li>
<li>Account lockouts reset. Â If the virus is on a DC it will dictionary attack the adminÂ accountÂ and admin shares, if the account locks out, it will automatically reset the lockout.</li>
<li>Lastly some or all AV websites, security websites, and windows update sites areÂ inaccessible. Â they reply to ping and answer to telnet on port 80, but they are notÂ accessibleÂ to any browser. Â This appears to be done through a virtual proxy system.</li>
</ul>
<p><span id="more-262"></span><br />
Microsoft has teamed up with ICANN, AOL, Symantec and other big names in computer security and networkÂ technologiesÂ to attempt to curtail the infestation of the virus. Â A $250,000 reward isÂ availableÂ for anyone that can provide information leading to the arrest of the coder. Â <br />
<script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<br />
Microsoft released a patchÂ MS08-067 on october 15th 2008, that fixes this exploitÂ however,Â it is estimated thatÂ aboutÂ 30% of computers do not have this patch installed. Â This patch isÂ availableÂ fromÂ MicrosoftÂ <a title="MS08-067" href="http://www.microsoft.com/technet/security/Bulletin/MS08-067.mspx" onclick="pageTracker._trackPageview('/outgoing/www.microsoft.com/technet/security/Bulletin/MS08-067.mspx?referer=');">HERE</a>. Â The patch isÂ availableÂ for windows 2000 sp4 &#8211; windows server 2008 with the exception of windows xp service pack 1 (service pack one has reached its end of support). Â Windows 7 has the patch integrated in it already. Â Many antivirus makers are releasing removal tools for the virus already. Â Microsoft has a removal toolÂ availableÂ <a title="Conflicker and malware cleaner from microsoft" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&amp;displaylang=en" onclick="pageTracker._trackPageview('/outgoing/www.microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356_amp_displaylang=en&amp;referer=');">HERE</a>. Â And bit defender has a network/domain removal tool <a title="bdtool" href="http://www.bdtools.net/" onclick="pageTracker._trackPageview('/outgoing/www.bdtools.net/?referer=');">HERE</a>.</p>
<p>What you can do to limit and prevent conflicker spread as a network administrator.</p>
<ul>
<li>Follow best practice passwords. Â Require password that include specialÂ charactersÂ and are at least 6Â characters long. Â This makes brute forcing the password very difficult. Â </li>
<li>Turn off all unnecessary network shares. Â Any computer on the network that has a opened share is aÂ vulnerability. Check <a title="EnumShare" href="http://technet.microsoft.com/en-us/sysinternals/bb897442.aspx" onclick="pageTracker._trackPageview('/outgoing/technet.microsoft.com/en-us/sysinternals/bb897442.aspx?referer=');">this</a> out to discover shares.</li>
<li>Turn off auto run. Â You don&#8217;t need it in most cases. Â Turn it off, it allows for theÂ potentialÂ executionÂ of code.</li>
<li>Update antivirus. Â Make sure you have the last definitions and scan engine. Â Note that sometimes the scanÂ engineÂ is not an auto update and may require manual processing. Â Also make sure that all of your computers are showing in the antivirus console. Â If not you might have a potential issue.Â Â Look into it ASAP before it becomes a problem. Â </li>
<li>Windows update. Â Update everything. Â Every computer should have every critical rated patch, always. Â Check out my past post on autopatcher, and check <a title="baseline" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=F32921AF-9DBE-4DCE-889E-ECF997EB18E9&amp;displaylang=en" onclick="pageTracker._trackPageview('/outgoing/www.microsoft.com/downloads/details.aspx?FamilyID=F32921AF-9DBE-4DCE-889E-ECF997EB18E9_amp_displaylang=en&amp;referer=');">this</a> out for aÂ alternativeÂ way to investigate the security of your network.</li>
<li>Be a bouncer. Â Do not allow people to bring in homeÂ computers, set up wireless, connect external harddrives and otherÂ strangeÂ stuff to the network. Â  They are not on the domain, notÂ subjectÂ to group policy, and they might not have AV or patches. Â This is a hugeÂ vulnerabilityÂ that often goes unnoticed, but it allows for another way to accidently introduce an infection into a network.</li>
</ul>
<p>April 1st will be interesting at the least. Â I have taken a ton ofÂ percautions so I can just sit back and watch the news all day while my network stands strong.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://tehtech.com/conficker-what-is-it-how-to-prevent-and-clean-it/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>All about the Shutdown Command</title>
		<link>http://tehtech.com/all-about-the-shutdown-command/</link>
		<comments>http://tehtech.com/all-about-the-shutdown-command/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 01:21:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Kaseya]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Shutdown]]></category>

		<guid isPermaLink="false">http://tehtech.com/?p=215</guid>
		<description><![CDATA[The ability to restart and shutdown computers automatically or remotely is key to completing installs, fixing issues, or just having a hell of a time messing with end users. In this post ill detail all the switches and uses of the shutdown command. For anyone that is not familiar with the command &#8216;shutdown&#8217;, it is [...]]]></description>
			<content:encoded><![CDATA[<p>The ability to restart and shutdown computers automatically or remotely is key to completing installs, fixing issues, or just having a hell of a time messing with end users. In this post ill detail all the switches and uses of the shutdown command.</p>
<p>For anyone that is not familiar with the command &#8216;shutdown&#8217;, it is a windows/dos function that controlls the the shutdown, logoff and restart of a compiter or server either locally or remotely.</p>
<p>Here are the switchesÂ </p>
<div class="box">shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]</div>
<p><span id="more-215"></span><br />
Just typing shutdownÂ won&#8217;t do anything; Â you needÂ arguments.Â </p>
<ul>
<li>-i Â  This will display the GUI interface for the shutdown command. Â This works well in some cases though you do get more flexability with the command line options.</li>
<li>-l Â This will log off the current session on the computer. Â This cannot be used on remote computers though.Â </li>
<li>-s This will turn off the computer, this can be done remotely, but carefull you can&#8217;t remotely press the power botton on the front of the box!</li>
<li>-r Â This will restart the local or remote computer. Â Usefull stuff.</li>
<li>-a Â This will cancel the shutdown restart or logoff process, this must be used before the shutdown commences (during the countdown).</li>
<li>-m Â This is what allows you to specify the name of the computer you want to perform the action on (shutdown, restart or abort).</li>
<li>-t Â This lets you chose how long you want to display the warning message for in seconds. Â You can use &#8216;-t 0&#8242; to immediatly start the shutdown process with no message displayed.</li>
<li>-c Â This lets you specify the reason that you shutdown or restarted in the event log. Â There is a max of 127 chracters for this switch.</li>
<li>-f Â This forces all applications to close with no warning. Â This should almost always be used with a remote computer so you dont have a box asking if you would like to shave chnages to &#8216;untitled.txt&#8217; on the screen instead of it actually rebooting.</li>
<li>-d Â This switch will let you specify the reason for the shutdown using microsoft reason codes. &#8216;u&#8217; is for user code &#8216;p&#8217; is for planned and the &#8216;xx&#8217; is to specify a major reason, while &#8216;yy&#8217; is to specify a minor reason.</li>
</ul>
<p>So putting it all together.</p>
<div class="box">shutdown -r -f -m\\remotecomputer -t 60 -c &#8220;reboot required to complete software install&#8221;</div>
<p>This will restart the the computer &#8216;remotecomputer&#8217; Â after 60 seconds of displaying the message &#8220;reboot required to complete software install&#8221;. Â To abort the shutdown within 60 seconds, issue the following command.</p>
<div class="box">shutdown -a -m \\remotecomputer</div>
<p>If the remote shutdown is not working for you remember that if you are in a workgroup the account you are logged in with must exist on, and have administrative rights on the remote computer. If you are on a domain, the user account must haveÂ SeRemoteShutdownPrivilege andÂ SeShutdownPrivilege to accomplish this.Â </p>
<p>Here are some other interesting notes on this function/script: Â It can be batched and run as aÂ scheduledÂ task. Â For example, saving the above script as a restart.bat andÂ schedulingÂ it to run at a specified time will give you the ability to reboot a server at whatever time you want. Additionally, shutdown commands can be used via telnet. Â You can telnet to a remote computer or server and issue the shutdown command to reboot the target computer. Â Lets face it, sometimes you have to install something with administrative rights, but you don&#8217;t want to wait for it to finish. So justÂ batch it and add a logoff commandÂ right after the install. Â I useÂ this all the time when I install office. Â I login to a computer with an elevated account,Â and run a batch fileÂ to install office silently with aÂ shutdown -l -t 0 at the end of the batch file, then lock the computer. Â The install will finish and theÂ accountÂ will logoff, its aÂ usefulÂ little trick. Lastly with Kaseya; since this is directly a shell command you can issue it with just a few steps.Â <br />
Â </p>
<div class="box">Script Name: ShutdownÂ Â Â Â </div>
<p>Script Description: Shutdown the computer using Shutdown.exe</p>
<p>IF TrueÂ </p>
<p>THEN</p>
<p>Â Â  Execute Shell Command</p>
<p>Â Â  Â  Parameter 1 : <span style="color: #ff0000;">shutdown -s -f -t 1 -c &#8220;Setup complete&#8221;</span></p>
<p>Â Â  Â  Parameter 2 : 0</p>
<p>Â Â  Â  Â  Â  OS Type : 0</p>
<p>ELSE</p>
<p>Change the red to match your needs and away you go.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://tehtech.com/all-about-the-shutdown-command/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Devolutions Remote Desktop Manager</title>
		<link>http://tehtech.com/devolutions-remote-desktop-manager/</link>
		<comments>http://tehtech.com/devolutions-remote-desktop-manager/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 03:02:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Organization]]></category>
		<category><![CDATA[Remote Desktop]]></category>

		<guid isPermaLink="false">http://tehtech.com/?p=116</guid>
		<description><![CDATA[I am always looking for a way to keep things in order so I can get to them as fast as possible when I have to.Â  I support several different companies, and all of them have a few servers, an antivirus interface, a firewall, and some other stuff.Â  This application is awesome for managing all [...]]]></description>
			<content:encoded><![CDATA[<p><span>I am always looking for a way to keep things in order so I can get to them as fast as possible when I have to.Â  I support several different companies, and all of them have a few servers, an antivirus interface, a firewall, and some other stuff.Â  <a href="http://www.devolutions.net/products/remotedesktopmanager.aspx" onclick="pageTracker._trackPageview('/outgoing/www.devolutions.net/products/remotedesktopmanager.aspx?referer=');"><span>This</span></a> application is awesome for managing all that. Â It allows you to group and search through all your RDP connections, webpages, putty services, and VNC servers with a few clicks. Â It supports a few other nifty functions too. Â You canÂ easilyÂ edit the information tab to keep track of the compony contacts and the logins. It will save your username andÂ passwordÂ for RDP as well. It also supports direct shell commands through command line. Â I have used this to fire off applications that are not natively supported by the software. Â And best of all it supports shared databases, so if you have a few techs doing remote work its indispensable. The application is not perfect, it is somewhat memory intensive, but is an awesome must have find for anyone managing a bunch of stuff at once. Â </span></p>
<p><span>http://www.devolutions.net/products/remotedesktopmanager.aspx</span></p>
<p>And no I have no affiliation with them, just a good chunk of code <img src='http://tehtech.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Â </p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2740910196434334";
google_ad_slot = "5492961778";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://tehtech.com/devolutions-remote-desktop-manager/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

