<?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</title>
	<atom:link href="http://www.intelliadmin.com/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.intelliadmin.com</link>
	<description>Windows Network Administration Software</description>
	<lastBuildDate>Thu, 10 May 2012 14:27:35 +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>Detect remote desktop sessions from a batch file</title>
		<link>http://www.intelliadmin.com/index.php/2012/05/detect-remote-desktop-sessions-from-a-batch-file/</link>
		<comments>http://www.intelliadmin.com/index.php/2012/05/detect-remote-desktop-sessions-from-a-batch-file/#comments</comments>
		<pubDate>Thu, 10 May 2012 14:23:20 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Terminal Services]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Utility]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=5065</guid>
		<description><![CDATA[Ryan asked this week: &#8220;I have a scenario where an application starts when a particular user (generic admin account) logs on to the console. The problem is that when the same user account is also used to login to an RDP session, on the same server, the service tries to start again, and breaks&#8230;Is it [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2012/05/detect-remote-desktop-sessions-from-a-batch-file/" title="Permanent link to Detect remote desktop sessions from a batch file"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/RemoteDesktop.jpg" width="55" height="55" alt="Post image for Detect remote desktop sessions from a batch file" /></a>
</p><p>Ryan asked this week:</p>
<p><em>&#8220;I have a scenario where an application starts when a particular user (generic admin account) logs on to the console. The problem is that when the same user account is also used to login to an RDP session, on the same server, the service tries to start again, and breaks&#8230;Is it possible for a logon script to recognize that it is logging on to the console? If so I could start the application from this script and not worry about it starting a second time if someone accidentally RDPs using the same account.&#8221;</em></p>
<p><img src="http://www.intelliadmin.com/images2/RDP%20Session%20View.jpg" alt="RDP Session View"/></p>
<p>I originally thought that this could be easily detected by an environment variable, or even VB Script&#8230;but it turns out that those two methods are not reliable.</p>
<p>The %SESSIONNAME% variable is set if you are on a terminal server. If you just RDP to the console of a workstation, or server &#8211; it is empty.</p>
<p>So instead, we put together a free utility called RDPDetect. It returns 1 if you are in an RDP session, and 0 if you are not. The return value can be picked up as an error level, so you can use it in a bat file like this:<br />
<code><br />
@echo off<br />
RDPDetect.exe<br />
if ERRORLEVEL 1 goto RDP_ENABLED<br />
if ERRORLEVEL 0 goto RDP_DISABLED<br />
goto END<br />
:RDP_ENABLED<br />
echo This is a RDP Session<br />
goto end<br />
:RDP_DISABLED<br />
echo This is a not a RDP Session<br />
:END<br />
</code></p>
<p>You can find it in our download section:</p>
<p><a href="http://www.intelliadmin.com/index.php/downloads/">IntelliAdmin Download Page</a></p>
<p>As always, it contains no spyware or adware&#8230;only freeware goodness.</p>
<p>It is free for commercial and personal use.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2012/05/detect-remote-desktop-sessions-from-a-batch-file/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Report firewall settings from a script</title>
		<link>http://www.intelliadmin.com/index.php/2012/05/report-firewall-settings-from-a-script/</link>
		<comments>http://www.intelliadmin.com/index.php/2012/05/report-firewall-settings-from-a-script/#comments</comments>
		<pubDate>Fri, 04 May 2012 16:48:59 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=5037</guid>
		<description><![CDATA[This week Nathan asks: &#8220;Hi Steve, I hope you can help me with this one. I am trying to get a report on what programs and ports are allowed in the firewall on machines across my network. I don&#8217;t want to just enable group policy, since it might break something. If I can get a [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2012/05/report-firewall-settings-from-a-script/" title="Permanent link to Report firewall settings from a script"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Firewall.jpg" width="58" height="53" alt="Post image for Report firewall settings from a script" /></a>
</p><p>This week Nathan asks:</p>
<p>&#8220;Hi Steve, I hope you can help me with this one. I am trying to get a report on what programs and ports are allowed in the firewall on machines across my network. I don&#8217;t want to just enable group policy, since it might break something. If I can get a report, I can look through it and see what I am up against..&#8221;</p>
<p>First lets see how we can tell if the firewall is enabled. In VB Script we can use the HNetCfg.FwMgr object:</p>
<p><code>Set objFirewall = CreateObject("HNetCfg.FwMgr")<br />
Set objPolicy = objFirewall.LocalPolicy.CurrentProfile </p>
<p>Wscript.Echo "Firewall enabled: " &#038; objPolicy.FirewallEnabled</code></p>
<p>Now, how do we get a list of ports, and applications?</p>
<p>The objPolicy object has a property called services, we can enumerate it with a for loop like this:<br />
<code><br />
Set colServices = objPolicy.Services </p>
<p>For Each objService in colServices<br />
&nbsp;'Output our data here<br />
Next<br />
</code></p>
<p>The service object has many properties: The name of the service, if it is enabled or not, and more importantly it has another object called GloballyOpenPorts. This will give us a list of ports that are open for a given service:</p>
<p><code>For Each objService in colServices<br />
&nbsp;Set colPorts = objService.GloballyOpenPorts<br />
&nbsp;&nbsp;For Each objPort in colPorts<br />
&nbsp;&nbsp;&nbsp;'Echo stuff about our ports here<br />
&nbsp;Next<br />
Next</code></p>
<p>The entire script can be found <a href="http://www.intelliadmin.com/FirewallReport.dat">here</a> &#8211; Just rename it to .vbs after downloading.</p>
<p>When you run it on your machine from the command line, it will spit out all the information about your firewall settings:</p>
<p><img src="http://www.intelliadmin.com/images2/firewall%20report.jpg" alt="Firewall Report"/></p>
<p>How can we use that script to get a collection of reports that we can look through in one place?</p>
<p>Start out by creating a public share on the machine where you want to save the reports. </p>
<p>In our example lets say it is:</p>
<p>\\server\report</p>
<p>Create a bat file that calls the above script like this:</p>
<p><code>cscript.exe FirewallReport.vbs >> \\server\report\%computername%_report.txt</code></p>
<p>Put that in the users login script, and when they logon it will create a report and save it on the public share:</p>
<p><img src="http://www.intelliadmin.com/images2/Final%20Firewall%20Report.jpg" alt="Final Firewall Report"/></p>
<p>That is all there is too it. Now you can just look through the reports in the shared folder and get an idea of what ports and applications are open across your network.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2012/05/report-firewall-settings-from-a-script/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Clean out empty files and folders</title>
		<link>http://www.intelliadmin.com/index.php/2012/04/clean-out-empty-files-and-folders/</link>
		<comments>http://www.intelliadmin.com/index.php/2012/04/clean-out-empty-files-and-folders/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 19:00:32 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[BAT Files]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Utility]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=5023</guid>
		<description><![CDATA[A few months ago I received an email from Steve in Ontario: &#8220;&#8230;I want to round out this junk cleaning by trashing empty directories as well. I have found all sorts of approaches to this, but none are elegant. I am old-school, having started as a UNIX system programmer some &#8230; 40 years ago:-) So, [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2012/04/clean-out-empty-files-and-folders/" title="Permanent link to Clean out empty files and folders"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Command.jpg" width="64" height="54" alt="Post image for Clean out empty files and folders" /></a>
</p><p>A few months ago I received an email from Steve in Ontario:</p>
<p>&#8220;&#8230;I want to round out this junk cleaning by trashing empty directories as well.  I have found all sorts of approaches to this, but none are elegant.  I am old-school, having started as a UNIX system programmer some &#8230; 40 years ago:-)  So, I like elegant solutions, and in UNIX, this would be a simple one-line piped solution &#8230; unfortunately, I&#8217;ve been stuck on Windows for the past few decades&#8230;I&#8217;m wondering if you&#8217;ve ever tackled this, and, if so, if there&#8217;s anything you can share?&#8221;</p>
<p>In my arrogance I thought this would be such an easy task, and coded a utility in less than an hour. Sent it off to Steve to try, and when he emailed me back I realized how tough of a problem this is.</p>
<p>For example, if you were looking to remove empty directories from this structure:</p>
<p><code>c:\Folder1\Folder2\EmptyFolder1<br />
c:\Folder1\Folder2\EmptyFolder2</code></p>
<p>It would be easy to find EmptyFolder1, and EmptyFolder2. But now that they are removed, Folder2 is empty as well. This means you need to delete the deepest paths first, and work backwards.</p>
<p>Lots of special cases like this, and that is what makes it much more difficult than I originally thought.</p>
<p>Over a few weeks, Steve was gracious enough to work with me and develop a solution that worked well. </p>
<p>The utility is called DelEmpty.exe, a command line tool:</p>
<p><img src="http://www.intelliadmin.com/images2/Del%20Empty%20Screen%20Shot.jpg" alt="DelEmpty Screen Shot"></p>
<p>Here are the options:</p>
<p><code>DelEmpty.exe OPTIONS [PATH]</p>
<p> -f delete files of size zero<br />
 -d delete empty directories<br />
 -v verbose mode<br />
 -c confirm mode (Shows what was deleted)<br />
 -s include sub directories<br />
 -l list what would be deleted (Will not delete)<br />
 -y delete without (y/n) prompt</code></p>
<p>So, for example, if we wanted to remove all empty folders from c:\DataFolder, including sub folders &#8211; We would call it like this:</p>
<p><code>DelEmpty.exe -d -s c:\datafolder</code></p>
<p>If you wanted it to delete them without prompting you:</p>
<p><code>DelEmpty.exe -d -s -y c:\datafolder</code></p>
<p>Better yet, if we wanted to see what it would delete before taking any action:</p>
<p><code>DelEmpty.exe -d -s -l c:\datafolder</code></p>
<p>Finally, we can also remove any files that have a zero size too using the -f option:</p>
<p><code>DelEmpty.exe -d -s -y -f c:\datafolder</code></p>
<p>Please &#8211; Please be careful with this utility. It only deletes empty files and folders, but it is always possible that you have a program that *needs* those empty folders. So make sure you throughly test before using it.</p>
<p>It is a free utility, and you can get it from our download page:</p>
<p><a href="http://www.intelliadmin.com/index.php/downloads/">IntelliAdmin Download Page</a></p>
<p>As always, there is no spyware, adware &#8211; only IntelliAdmin Goodness.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2012/04/clean-out-empty-files-and-folders/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Use VB Script to list a range of IP addresses</title>
		<link>http://www.intelliadmin.com/index.php/2012/04/use-vb-script-to-list-a-range-of-ip-addresses/</link>
		<comments>http://www.intelliadmin.com/index.php/2012/04/use-vb-script-to-list-a-range-of-ip-addresses/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 15:30:30 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=5009</guid>
		<description><![CDATA[I got a question from Murali: &#8220;Suppose if I have a 100+ work group machines in the same network how can I run a script remotely against them? I would like to enter a range of IP address for my selection&#8221; This is a tough one since Workgroup computers (Systems not joined to a domain) [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2012/04/use-vb-script-to-list-a-range-of-ip-addresses/" title="Permanent link to Use VB Script to list a range of IP addresses"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Network.jpg" width="55" height="55" alt="Post image for Use VB Script to list a range of IP addresses" /></a>
</p><p>I got a question from Murali:</p>
<p>&#8220;Suppose if I have a 100+ work group machines in the same network how can I run a script remotely against them? I would like to enter a range of IP address for my selection&#8221;</p>
<p>This is a tough one since Workgroup computers (Systems not joined to a domain) are not configured to allow this. This means we need to make sure:</p>
<p>-All the computers have the same administrator username and password</p>
<p>-File and printer sharing is opened in the firewall</p>
<p>-On Windows XP systems, simple file sharing must be disabled</p>
<p>Finally, none of the systems can be the &#8220;Home&#8221; edition of windows. </p>
<p>Why? Because Microsoft removes some network functionality that would make our task impossible.</p>
<p>Here are a few good guides on getting file and printer sharing open:</p>
<p><a href="http://www.intelliadmin.com/index.php/2008/12/enabling-file-and-printer-sharing-in-windows-xp/">Windows XP File And Printer Sharing</a></p>
<p><a href="http://www.intelliadmin.com/index.php/2008/12/enabling-file-and-printer-sharing-in-vista/">Vista / 2008 File And Printer Sharing</a></p>
<p><a href="http://www.intelliadmin.com/index.php/2009/08/windows-7-the-admin-share/">Windows 7 / 2008 R2 File And Printer Sharing</a></p>
<p>OK, Now that we got that covered, how do we get our list of computers in the script?</p>
<p>First, our script will take two arguments &#8211; the starting IP address, and the ending IP address. Then it will loop through all the ip addresses between them.</p>
<p>We do this by pulling each octet of the IP:<br />
<code><br />
IPList = Split(StartIP, ".")</p>
<p>iS1 = cint(IPList(0))<br />
iS2 = cint(IPList(1))<br />
iS3 = cint(IPList(2))<br />
iS4 = cint(IPList(3))<br />
</code><br />
Then we run it through a for loop that calls a function for each IP we calculate. In the script I built, I called it ExecuteAction. For a test, I simply put an echo statement:<br />
<code><br />
Function ExecuteAction(HostName)<br />
 WScript.Echo "Host: " &#038; HostName<br />
End Function<br />
</code><br />
Running it from the command line you can see it listed all of the IP addresses in the range I gave it (10.10.10.7 &#8211; 10.10.10.15):</p>
<p><img src="http://www.intelliadmin.com/images2/IP%20Range%20List%20VBScript.jpg" alt="IP Range List"></p>
<p>So now we have a script that can enumerate our IP addresses. Just change the body of &#8220;ExecuteAction&#8221; and it will run against the range of IP addresses you provide.</p>
<p>You can get a copy of my script from here:</p>
<p><a href="http://www.intelliadmin.com/EnumerateIP.dat">EnumerateIP.dat</a></p>
<p>Just make sure to rename it to .vbs after downloading</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2012/04/use-vb-script-to-list-a-range-of-ip-addresses/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Easily Shadow Remote Desktop Sessions</title>
		<link>http://www.intelliadmin.com/index.php/2012/04/easily-shadow-remote-desktop-sessions/</link>
		<comments>http://www.intelliadmin.com/index.php/2012/04/easily-shadow-remote-desktop-sessions/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 15:16:23 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Enterprise Remote Control]]></category>
		<category><![CDATA[Remote Control]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4964</guid>
		<description><![CDATA[We just released Remote Control 5.1. One of the toughest to build (for us), but most interesting additions to this version is the ability to jump into a remote desktop session. What does this mean? Lets say you have a user that is logged into your terminal server, and you need to help them with [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2012/04/easily-shadow-remote-desktop-sessions/" title="Permanent link to Easily Shadow Remote Desktop Sessions"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/RemoteDesktop.jpg" width="55" height="55" alt="Post image for Easily Shadow Remote Desktop Sessions" /></a>
</p><p>We just released <a href="http://www.intelliadmin.com/index.php/remote-control-5/">Remote Control 5.1</a>. One of the toughest to build (for us), but most interesting additions to this version is the ability to jump into a remote desktop session.</p>
<p>What does this mean?</p>
<p>Lets say you have a user that is logged into your terminal server, and you need to help them with something. Usually you would need to use the Microsoft Shadow program:</p>
<p><img src="http://www.intelliadmin.com/images2/Shadow%20Terminal%20Session.jpg" alt="Shadow Terminal Session"></p>
<p>If you have ever used it, you know it is a pain to use. Especially if you have a user on the phone waiting for help.</p>
<p>With Remote Control 5.1, you can connect to the machine, and just pick the user account from a drop down list:</p>
<p><img src="http://www.intelliadmin.com/images2/5.1%20RDP%20Example.jpg" alt="Remote Desktop Example"></p>
<p>Even better, on Windows 7, XP, or Vista machines you can see those remote desktop sessions too. This is not even possible with the tools provided by MS.</p>
<p>We also had to work real hard to fix an issue that has been around for a while. </p>
<p>If you have fast user switching enabled on XP:</p>
<p><img src="http://www.intelliadmin.com/images2/Fast%20User%20Switching.jpg" alt="Fast User Switching"/></p>
<p>Sometimes you would get a blank screen when connecting to the machine. The same is true on 2003 (and XP) if you use Remote Desktop to connect to it with the /console flag. Why? </p>
<p>It is because of a bug in a Windows API call. We fought and fought with this. Even contacted MS. They replied that it was not going to be fixed in those versions of windows&#8230;but it did work in Vista/2008/Windows 7 <img src='http://www.intelliadmin.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Our solution? We re-created the MS API inside our code, and fixed the bug. So now if you have fast user switching turned on, or someone has used RDP &#8211; you won&#8217;t get a blank screen.</p>
<p>Recently it has become common for users to have more than one monitor. </p>
<p>In previous versions of Remote Control, all the monitors were shown in one big window:</p>
<p><img src="http://www.intelliadmin.com/images2/Both%20Monitors%20Remote%20Control.jpg" alt="Both Monitors"/></p>
<p>Many times, it is really hard to work this way. So we gave you the ability to show all monitors, or select an individual monitor to control:</p>
<p><img src="http://www.intelliadmin.com/images2/Remote%20Control%20Monitor%20Selection.jpg" alt="Remote Control Monitor Selection"/></p>
<p>I know some of you have quite a few computers you remote into all the time. A new feature in the viewer lets you position each one where you want them, and it will remember the next time you connect:</p>
<p><a href="http://www.intelliadmin.com/images2/5.1%20Position%20Example.jpg"/><img src="http://www.intelliadmin.com/images2/5.1%20Position%20Example%20Small.jpg" alt="Saved Position"/></a></p>
<p>That feature is not enabled by default, so go into the viewer settings if you want to turn it on.</p>
<p>And finally, we have done a considerable amount of work improving performance. We tested on all types of slow and intermittent internet connections to make it snappy in every type of situation.</p>
<p>Take it for a spin by downloading the trial from here:</p>
<p><a href="http://www.intelliadmin.com/setupex.exe" rel="nmlp">http://www.intelliadmin.com/setupex.exe</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2012/04/easily-shadow-remote-desktop-sessions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Windows Server 8 Preview</title>
		<link>http://www.intelliadmin.com/index.php/2012/04/windows-server-8-preview/</link>
		<comments>http://www.intelliadmin.com/index.php/2012/04/windows-server-8-preview/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 16:31:02 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Beta]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4928</guid>
		<description><![CDATA[Microsoft has released a public beta of Windows Server 8. You can get a free copy from here: http://www.microsoft.com/en-us/server-cloud/windows-server/v8-default.aspx It can&#8217;t run in most virtual environments, so if you are going to try it out&#8230;you will probably need a physical machine. The first thing I noticed &#8211; There is no start menu: While digging around [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2012/04/windows-server-8-preview/" title="Permanent link to Windows Server 8 Preview"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/Windows.jpg" width="64" height="56" alt="Post image for Windows Server 8 Preview" /></a>
</p><p>Microsoft has released a public beta of Windows Server 8. You can get a free copy from here:</p>
<p><a href="http://www.microsoft.com/en-us/server-cloud/windows-server/v8-default.aspx">http://www.microsoft.com/en-us/server-cloud/windows-server/v8-default.aspx</a></p>
<p>It can&#8217;t run in most virtual environments, so if you are going to try it out&#8230;you will probably need a physical machine.</p>
<p>The first thing I noticed &#8211; There is no start menu:</p>
<p><img src="http://www.intelliadmin.com/images2/Windows%208%20Server%20No%20Start%20Menu.jpg" alt="No Start Menu"/></p>
<p>While digging around I found this point very frustrating. I kept clicking that empty space on the far left of the task bar. I can bet if they leave it this way, there will be third party solutions to bring it back <img src='http://www.intelliadmin.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Because the start menu is missing, everything is accomplished through the server manager. This new interface is quite powerful. How many times have you jumped on a server and need to stop and start a particular service right away?</p>
<p>You can easily drill down to a service just by typing its name:</p>
<p><img src="http://www.intelliadmin.com/images2/Windows%208%20Server%20Service%20Manager.jpg" alt="New Service Management"/></p>
<p>As you can see, I was testing our <a href="http://www.intelliadmin.com/index.php/remote-control-5/">Remote Control</a> &#8211; and thankfully it works perfect under this beta of Windows 8.</p>
<p>There are other dashboard controls just like this for events, performance, rolls and features, and even a best practices analyzer. </p>
<p>All the tools you would use in day to day administration are conveniently located on the tools menu of the server manager:</p>
<p><img src="http://www.intelliadmin.com/images2/Windows%208%20Server%20Tools.jpg" alt="Windows 8 Server Tools"></p>
<p>They are making changes to explorer too. Commonly accessed items are available right from the folder view:</p>
<p><img src="http://www.intelliadmin.com/images2/Windows%208%20Server%20Explorer%20Changes.jpg" alt="Windows 8 Explorer Changes"/></p>
<p>Accessing the properties of a folder can now be done in one click:</p>
<p><img src="http://www.intelliadmin.com/images2/Windows%208%20Server%20Explorer%20Properties.jpg" alt="Folder Properties"/></p>
<p>When I first opened task manager I was shocked:</p>
<p><img src="http://www.intelliadmin.com/images2/Windows%208%20Server%20Task%20Manager.jpg" alt="Task Manager Windows 8"/></p>
<p>I thought &#8220;That&#8217;s it?&#8221; What are they doing?!?</p>
<p>But I was pleasantly surprised when I clicked the &#8220;More Details&#8221; button:</p>
<p><img src="http://www.intelliadmin.com/images2/Windows%208%20Server%20Task%20Manager%20Processes.jpg" alt="Task manager more details"/></p>
<p>On another tab, they have beautiful performance graphs:</p>
<p><a href="http://www.intelliadmin.com/images2/Windows%208%20Server%20Graph%20Big.jpg"><img src="http://www.intelliadmin.com/images2/Windows%208%20Server%20Graph%20Small.jpg"></a></p>
<p>The users tab is great, it shows performance, memory usage by user:</p>
<p><img src="http://www.intelliadmin.com/images2/Windows%208%20User%20Graph.jpg" alt="Users Graph"></p>
<p>It would really help when you are trying to figure out who is hogging all the resources on the Terminal Server <img src='http://www.intelliadmin.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I can imagine a lot will change before the final release, but it is worth checking out to see where Microsoft is headed with the next version of Windows.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2012/04/windows-server-8-preview/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Check if a user is a member of an OU</title>
		<link>http://www.intelliadmin.com/index.php/2012/03/check-is-a-user-is-a-member-of-an-ou/</link>
		<comments>http://www.intelliadmin.com/index.php/2012/03/check-is-a-user-is-a-member-of-an-ou/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 15:28:12 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4902</guid>
		<description><![CDATA[Got a question from Matthew this week: &#8220;I was wondering if you guys have a script that could determine what OU a user is a member of&#8230;sort of an if then else clause, If a member of “Said Group” then do this, Else End If&#8230;&#8221; Good question Matthew. This turns out to be more difficult [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2012/03/check-is-a-user-is-a-member-of-an-ou/" title="Permanent link to Check if a user is a member of an OU"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/ActiveDirectory.jpg" width="63" height="63" alt="Post image for Check if a user is a member of an OU" /></a>
</p><p>Got a question from Matthew this week:</p>
<p>&#8220;I was wondering if you guys have a script that could determine what OU a user is a member of&#8230;sort of an if then else clause, If a member of “Said Group” then do this, Else End If&#8230;&#8221;</p>
<p>Good question Matthew. This turns out to be more difficult than it sounds. The reason: To determine this we need to setup an LDAP query that selects the OU, and then loops through all the users to see if the current user is a member.</p>
<p><img src="http://www.intelliadmin.com/images2/Active%20Directory%20Users.jpg" alt="Active Directory Users"/></p>
<p>The LDAP query looks like this:<br />
<code><br />
LDAP://{DOMAIN} WHERE objectCategory='organizationalUnit' and ou='{OU NAME}'<br />
</code></p>
<p>Once the VBScript runs the query, we simply loop through the results and look for our account name. If it is there, then we have a match.</p>
<p>To use the script, simply open it up and go to the bottom. You will see these lines:<br />
<code><br />
if IsMember("Testers") then<br />
&nbsp;Wscript.Echo "This user is a member of the OU"<br />
else<br />
&nbsp;Wscript.Echo "This user is not a member of the OU"<br />
end if<br />
</code></p>
<p>Just change &#8220;Testers&#8221; to the OU you want to see if the current user is a member of, and you can have your script take different actions based on their current membership (Map drives, add printers, etc).</p>
<p>Get the script from here:</p>
<p><a href="http://www.intelliadmin.com/IsOUMember.dat">http://www.intelliadmin.com/IsOUMember.dat</a></p>
<p>Remember to rename it to .vbs after downloading.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2012/03/check-is-a-user-is-a-member-of-an-ou/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>RDP Flaw Found &#8211; Get Patched Now</title>
		<link>http://www.intelliadmin.com/index.php/2012/03/rdp-flaw-found-get-patched-now/</link>
		<comments>http://www.intelliadmin.com/index.php/2012/03/rdp-flaw-found-get-patched-now/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 14:24:55 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4886</guid>
		<description><![CDATA[Recently a flaw has been found in Remote Desktop (Otherwise known as Terminal Services). It allows an attacker to execute code on your computer by just sending a specialized packet to the RDP service. If you have any machines with RDP turned on, you should get your systems patched right away. More details can be [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2012/03/rdp-flaw-found-get-patched-now/" title="Permanent link to RDP Flaw Found &#8211; Get Patched Now"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/RemoteDesktop.jpg" width="55" height="55" alt="Post image for RDP Flaw Found &#8211; Get Patched Now" /></a>
</p><p>Recently a flaw has been found in Remote Desktop (Otherwise known as Terminal Services).</p>
<p><img src="http://www.intelliadmin.com/images/Remote%20Desktop%20Info%20Screen.jpg"></p>
<p>It allows an attacker to execute code on your computer by just sending a specialized packet to the RDP service.</p>
<p>If you have any machines with RDP turned on, you should get your systems patched right away. </p>
<p>More details can be found here:</p>
<p><a href="http://www.pcworld.com/businesscenter/article/251760/microsoft_issues_urgent_patch_for_wormable_rdp_vulnerability.html">PC World: MS Issues Urgent Patch</a></p>
<p>There are a few things you can do to make sure your computers are secure:</p>
<p>-Run automatic updates on your machine and make sure you have all of the latest patches installed</p>
<p>-If you have a bigger network, you could use our <a href="http://www.intelliadmin.com/index.php/network-administrator/">Network Administrator</a> to <a href="http://www.intelliadmin.com/?post_type=post&#038;p=4673">force automatic updates on all your machines</a></p>
<p>-For even better security, turn off Remote Desktop totally! You can do this with <a href=""http://www.intelliadmin.com/index.php/network-administrator/">Network Administrator</a> too</p>
<p>-Use the free tool from MS to assess the patch situation on your network: <a href="http://technet.microsoft.com/en-us/security/cc184924"> MBSA Free Download</a></p>
<p>There is <a href="http://www.techworld.com.au/article/418814/leaked_exploit_prompts_researcher_publish_blueprint_critical_rdp_vulnerability">already an exploit in the wild</a>, so you need to make sure you get your stuff patched, and locked down asap</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2012/03/rdp-flaw-found-get-patched-now/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Recover your wireless keys and passwords</title>
		<link>http://www.intelliadmin.com/index.php/2012/03/recover-your-wireless-keys-passwords/</link>
		<comments>http://www.intelliadmin.com/index.php/2012/03/recover-your-wireless-keys-passwords/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 13:05:36 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[Latptop]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4866</guid>
		<description><![CDATA[I have an old laptop that I always take with me on trips. I finally decided to get a new one &#8211; it was just getting too slow. Last weekend I was going to my brother&#8217;s place up north. The problem was, he was out of town and I really wanted to use his wireless [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2012/03/recover-your-wireless-keys-passwords/" title="Permanent link to Recover your wireless keys and passwords"><img class="post_image alignleft remove_bottom_margin" src="http://www.intelliadmin.com/icons/wireless.jpg" width="64" height="65" alt="Post image for Recover your wireless keys and passwords" /></a>
</p><p>I have an old laptop that I always take with me on trips. I finally decided to get a new one &#8211; it was just getting too slow.</p>
<p>Last weekend I was going to my brother&#8217;s place up north. The problem was, he was out of town and I really wanted to use his wireless when I got there.</p>
<p>So instead of bothering him for the key, I was able to pull the old wireless keys from that clunky old laptop.</p>
<p>I did it using a free tool from <a href="http://www.nirsoft.net">http://www.nirsoft.net</a> called WirelessKeyView:</p>
<p><img src="http://www.intelliadmin.com/images2/Wireless%20Key%20View.jpg" alt="Wireless Key View"/></p>
<p>It is a simple tool that will scan the registry for all the wireless networks you have ever joined, and show you a list of passwords.</p>
<p>It can pull WPA, WEP keys, and will even show you both the password and the hex key for the password.</p>
<p>The latest version can be found here:</p>
<p><a href="http://www.nirsoft.net/utils/wireless_key.html">http://www.nirsoft.net/utils/wireless_key.html</a></p>
<p>Best of all it is free for commercial and personal use.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2012/03/recover-your-wireless-keys-passwords/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Remove shared folders from a script</title>
		<link>http://www.intelliadmin.com/index.php/2012/03/remove-shared-folders-from-a-script/</link>
		<comments>http://www.intelliadmin.com/index.php/2012/03/remove-shared-folders-from-a-script/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 17:47:44 +0000</pubDate>
		<dc:creator>Steve Wiseman</dc:creator>
				<category><![CDATA[BAT Files]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.intelliadmin.com/?p=4839</guid>
		<description><![CDATA[This week we got a question from Mark: &#8220;Hi Steve, I just inherited a network of about 50 computers. I noticed that many of them have all kinds of shared folders. I am trying to do some cleanup and lock-down. Wondering if you have a nice script to remove all shares, except the administrative shares [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.intelliadmin.com/index.php/2012/03/remove-shared-folders-from-a-script/" title="Permanent link to Remove shared folders 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 shared folders from a script" /></a>
</p><p>This week we got a question from Mark:</p>
<p><em>&#8220;Hi Steve,</p>
<p>I just inherited a network of about 50 computers. I noticed that many of them have all kinds of shared folders. I am trying to do some cleanup and lock-down. Wondering if you have a nice script to remove all shares, except the administrative shares like $ipc, $admin, and $c&#8221;</em></p>
<p>Good question Mark. I got just the thing for you in VB Script.</p>
<p>Lets start out with a script that will list all of your shares, except those admin shares:</p>
<p><code>Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")</p>
<p>Set colShares = objWMIService.ExecQuery("Select * from Win32_Share")</p>
<p>For each objShare in colShares<br />
&nbsp;if (objShare.Type=0) then<br />
&nbsp;&nbsp;WScript.Echo "Share: (" &#038; objShare.Name &#038; ")"<br />
&nbsp;end if<br />
Next<br />
</code></p>
<p>The above script will query WMI for our shares, and by looking at the type we can tell if they are admin shares &#8211; non admin shares will always have a type of zero.</p>
<p><img src="http://www.intelliadmin.com/images2/Delete All Shares Test.jpg" alt="Delete All Shares Test"></p>
<p>Now, what do we need to change so it will delete?</p>
<p>We simply need to call the &#8216;delete&#8217; verb on the shared folder object:<br />
<code><br />
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")<br />
'Select our list of shares on the system</p>
<p>Set colShares = objWMIService.ExecQuery("Select * from Win32_Share")</p>
<p>For each objShare in colShares<br />
&nbsp;if (objShare.Type=0) then<br />
&nbsp;&nbsp;WScript.Echo "Deleting Share (" &#038; objShare.Name &#038; ")"<br />
&nbsp;&nbsp;if objshare.delete then<br />
&nbsp;&nbsp;&nbsp;WScript.echo "Error Deleting Share"<br />
&nbsp;&nbsp;end if<br />
&nbsp;end if<br />
Next<br />
</code></p>
<p>If the delete verb returns a non-zero value it means there was an error deleting the share.</p>
<p><img src="http://www.intelliadmin.com/images2/Delete All Shares Action.jpg" alt="Delete All Shares"></p>
<p>If you want to run this on Windows 7, or Vista you will need to make sure it is in the &#8220;Computer Logon Script&#8221; (Not the user) of group policy, or it will fail &#8211; it needs the privileges to delete. </p>
<p>Please be careful with this one. Test, Test, Test before adding that delete command!</p>
<p>Get the full script from here (Rename to .vbs):</p>
<p><a href="http://www.intelliadmin.com/deleteallshares.dat">DeleteAllShares.dat</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelliadmin.com/index.php/2012/03/remove-shared-folders-from-a-script/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

