<?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>cyborgworkshop.org &#187; Windows</title>
	<atom:link href="http://cyborgworkshop.org/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://cyborgworkshop.org</link>
	<description>Blurring the line</description>
	<lastBuildDate>Wed, 22 Feb 2012 14:31:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>editing windows permissions from the command line</title>
		<link>http://cyborgworkshop.org/2010/10/20/editing-windows-permissions-from-the-command-line/</link>
		<comments>http://cyborgworkshop.org/2010/10/20/editing-windows-permissions-from-the-command-line/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 18:03:36 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=657</guid>
		<description><![CDATA[The cacls command lets you edit permissions from the command line on windows E:\>cacls Folder outputs E:\Folder BUILTIN\Administrators:F BUILTIN\Administrators:(OI)(CI)F NT AUTHORITY\SYSTEM:(OI)(CI)F CREATOR OWNER:(OI)(CI)(IO)F BUILTIN\Users:(CI)(special access:) adds full control of Folder to my user E:\> Cacls Folder /E /G cyborg:F removes full control of Folder from my user E:\> Cacls Folder /E /R cyborg:F]]></description>
			<content:encoded><![CDATA[<p>The cacls command lets you edit permissions from the command line on windows<br />
<code><br />
E:\>cacls Folder<br />
</code><br />
outputs</p>
<blockquote><p>
E:\Folder BUILTIN\Administrators:F<br />
               BUILTIN\Administrators:(OI)(CI)F<br />
                 NT AUTHORITY\SYSTEM:(OI)(CI)F<br />
                 CREATOR OWNER:(OI)(CI)(IO)F<br />
                 BUILTIN\Users:(CI)(special access:)
</p></blockquote>
<p>adds full control of Folder to my user<br />
<code>E:\> Cacls Folder /E /G cyborg:F</code></p>
<p>removes full control of Folder from my user<br />
<code>E:\> Cacls Folder /E /R cyborg:F</code></p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2010/10/20/editing-windows-permissions-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Write an event to the eventlog in windows from a script</title>
		<link>http://cyborgworkshop.org/2010/10/15/write-an-event-to-the-eventlog-in-windows-from-a-script/</link>
		<comments>http://cyborgworkshop.org/2010/10/15/write-an-event-to-the-eventlog-in-windows-from-a-script/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 18:41:47 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Best Tools]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=648</guid>
		<description><![CDATA[I&#8217;m a regular user of the logger command on linux boxes and I&#8217;ve found the equivalent in windows. The command is called eventcreate.exe and seems to be present from windows XP forward. To create an informational event in the application log with a message subject of &#8220;Test message&#8221;, an arbitrary message id of 13 and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a regular user of the logger command on linux boxes and I&#8217;ve found the equivalent in windows.  The command is called eventcreate.exe and seems to be present from windows XP forward.  To create an informational event in the application log with a message subject of &#8220;Test message&#8221;, an arbitrary message id of 13 and a message text of &#8220;This is a test&#8221; you would just run the following</p>
<p><code><br />
eventcreate /t information /l application /so "Test message" /id 13 /d "This is a test"<br />
</code></p>
<p>More info on eventcreate.exe can be found at <a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/eventcreate.mspx?mfr=true">microsoft</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2010/10/15/write-an-event-to-the-eventlog-in-windows-from-a-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>find files older than X days on a windows box</title>
		<link>http://cyborgworkshop.org/2010/10/13/find-files-older-than-x-days-on-a-windows-box/</link>
		<comments>http://cyborgworkshop.org/2010/10/13/find-files-older-than-x-days-on-a-windows-box/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 14:21:15 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Best Tools]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=645</guid>
		<description><![CDATA[To find files older than X days on a windows box, you either need the forfiles.exe command installed from the windows resource kit, or a 2003 and newer machine. The command looks like so forfiles -pC:\TEMP -s -m*.* -d-5 -c"cmd /C echo @PATH\@FILE" Just replace &#8220;-d-5&#8243; with &#8220;-d-X&#8221; where X is the number of days [...]]]></description>
			<content:encoded><![CDATA[<p>To find files older than X days on a windows box, you either need the forfiles.exe command installed from the windows resource kit, or a 2003 and newer machine. The command looks like so</p>
<p><code>forfiles -pC:\TEMP -s -m*.* -d-5 -c"cmd /C echo @PATH\@FILE"</code></p>
<p>Just replace &#8220;-d-5&#8243; with &#8220;-d-X&#8221; where X is the number of days since a file has been created.</p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2010/10/13/find-files-older-than-x-days-on-a-windows-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get the PID of an application pool in iis 6.0</title>
		<link>http://cyborgworkshop.org/2010/08/25/get-the-pid-of-an-application-pool-in-iis-6-0/</link>
		<comments>http://cyborgworkshop.org/2010/08/25/get-the-pid-of-an-application-pool-in-iis-6-0/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 16:52:49 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Best Tools]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=641</guid>
		<description><![CDATA[All of the IIS process&#8217;s show up as the same process name, which makes it really challenging to figure out which of your websites has lost it&#8217;s mind.  In order to trace an IIS website or application pool back to a PID, you just need to open a command prompt and run the iisapp utility. [...]]]></description>
			<content:encoded><![CDATA[<p>All of the IIS process&#8217;s show up as the same process name, which makes it really challenging to figure out which of your websites has lost it&#8217;s mind.  In order to trace an IIS website or application pool back to a PID, you just need to open a command prompt and run the iisapp utility.<br />
<code><br />
iisapp<br />
</code><br />
Outputs<br />
W3WP.exe PID: 7424   AppPoolId: Site1<br />
W3WP.exe PID: 8096   AppPoolId: JoesSite<br />
W3WP.exe PID: 13080   AppPoolId: Wookielove.com</p>
<p>And now you can just use taskmanager to track resource usage to a site. </p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2010/08/25/get-the-pid-of-an-application-pool-in-iis-6-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get a windows hostname from an IP using netbios</title>
		<link>http://cyborgworkshop.org/2010/07/23/get-a-windows-hostname-from-an-ip-using-netbios/</link>
		<comments>http://cyborgworkshop.org/2010/07/23/get-a-windows-hostname-from-an-ip-using-netbios/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 13:35:15 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=627</guid>
		<description><![CDATA[I&#8217;ve run into a situation a couple of times now where DNS hasn&#8217;t been setup correctly and I have no idea what hostname an IP resolves to. For better or worse, windows has the netbios system that keeps it&#8217;s own naming services and can be queried from the command line using nbtstat. nbtstat -A XXX.XXX.XXX.XXX [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve run into a situation a couple of times now where DNS hasn&#8217;t been setup correctly and I have no idea what hostname an IP resolves to.  For better or worse, windows has the netbios system that keeps it&#8217;s own naming services and can be queried from the command line using nbtstat.<br />
<code><br />
nbtstat -A XXX.XXX.XXX.XXX<br />
</code><br />
Where XXX is the IP address that you are trying to resolve. </p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2010/07/23/get-a-windows-hostname-from-an-ip-using-netbios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

