<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>teknoglot: &#187; Windows</title>
	<atom:link href="http://www.teknoglot.se/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.teknoglot.se</link>
	<description>Techspeak for the socially diminished</description>
	<lastBuildDate>Fri, 18 May 2012 12:28:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ESENT Error When Modifying OpsMgr Agent</title>
		<link>http://www.teknoglot.se/ms/opsmgr2007/esent-error-when-modifying-opsmgr-agent/</link>
		<comments>http://www.teknoglot.se/ms/opsmgr2007/esent-error-when-modifying-opsmgr-agent/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 09:34:17 +0000</pubDate>
		<dc:creator>Sam T</dc:creator>
				<category><![CDATA[OpsMgr 2007]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[OpsMgr]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Installer]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false">http://teknoglot.hartati.se/ms/opsmgr2007/esent-error-when-modifying-opsmgr-agent/</guid>
		<description><![CDATA[Getting “ESENT Kerys are required to install this application” when you are trying to modify/change an agent installation? This seems to be  most common on Windows 2008 and i guess it’s because of the UAC and the fact that opening the Control Panel isn’t running in administrative mode. To work around this you need to [...]]]></description>
			<content:encoded><![CDATA[<p>Getting “ESENT Kerys are required to install this application” when you are trying to modify/change an agent installation?</p>
<p><a href="http://www.teknoglot.se/wp/wp-content/uploads/2010/03/image.png" rel="lightbox[260]"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border: 0px;" title="image" src="http://www.teknoglot.se/wp/wp-content/uploads/2010/03/image_thumb.png" border="0" alt="image" width="368" height="172" /></a></p>
<p>This seems to be  most common on Windows 2008 and i guess it’s because of the UAC and the fact that opening the Control Panel isn’t running in administrative mode.</p>
<p>To work around this you need to run the msiexec command on the correct installation GUID from an administrative command prompt.</p>
<p>Besides running through the registry to find the GUID, one of the easier ways is this:</p>
<ol>
<li>Open an administrative command prompt.</li>
<li>run <strong>wmic product</strong></li>
<li>Locate your product by its name, the GUID (looks a bit like this {25097770-2B1F-49F6-AB9D-1C708B96262A}) directly after that is the one you want. Copy it.</li>
<li>run <strong>msiexec /i &lt;PASTEYOURGUIDHERE&gt;</strong></li>
<li>Modify the agent as pleased</li>
</ol>
<p>That’s pretty much it. Good luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.teknoglot.se/ms/opsmgr2007/esent-error-when-modifying-opsmgr-agent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot Delete Files with Long Paths?</title>
		<link>http://www.teknoglot.se/ms/cannot-delete-files-with-long-paths/</link>
		<comments>http://www.teknoglot.se/ms/cannot-delete-files-with-long-paths/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 08:39:17 +0000</pubDate>
		<dc:creator>Sam T</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[KB]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://teknoglot.hartati.se/?p=171</guid>
		<description><![CDATA[What do you do when you cannot delete a file or folder on a windows server? Check the file permissions! And if that doesn’t help? Check the share permissions! Yes, if it is a shared folder. And if that doesn’t help? Check the file ownership! Great! But then what? Well, the file could be in [...]]]></description>
			<content:encoded><![CDATA[<p>What do you do when you cannot delete a file or folder on a windows server?</p>
<p>Check the file permissions! And if that doesn’t help?</p>
<p>Check the share permissions! Yes, if it is a shared folder. And if that doesn’t help?</p>
<p>Check the file ownership! Great! But then what?</p>
<p>Well, the file could be in use, and then you would have to shut the locking process down and perhaps kick a user out. In a really bad scenario it could also be a symptom of a broken filesystem, a reserved filename (like “lpt1” or “PRN”) or even an invalid name (silly things like a space in the beginning or the end of a filename).<br />
Another possible reason could actually be that the path to the file or folder is too long. You won’t actually get an error telling you that the filepath exceeds the 255 characters Windows can handle but a simple “Acces Denied”.</p>
<p>There are some, more or less tedious, work-arounds for the problem. Like renaming, starting from the root, all the directories to shorter ones or using the old DOS (8.3, like “dokume~1.doc”) names that windows can auto-generate for you. Personally, I have two favourite ways of handling this.</p>
<ol>
<li>Map the parent-directory of the file/folder you are trying to access/delete as a network drive and access your files that way.<br />
This is particularly useful if the folder you are trying to access a <acronym title="Distributed File System">DFS</acronym>-share or perhaps a share on the central fileserver filepaths like “\servername01Central ProjectsCentral ServicesIT DepartmentDevelop Methods for Automatically Deploying New Central Servers2.2.1 Auto-Deploying SQL-Server 2005 ClusterDocumentsPreparationsWhitepapersSQL Server 2005 Failover Clustering White Paper.doc”</li>
<li>Create a new share to a folder further down the hierarchy. This works locally too if you are logged on to, say, SRV01, you create a new share on “D:FilesharesCentral ProjectsCentral ServicesIT DepartmentDevelop Methods for Automatically Deploying New Central Servers” called “Autodeploymethods” and access it from “\SRV01Autodeploymethods”. That way the filepath doesn’t exceed 255 characters.</li>
</ol>
<p>Now. When designing fileservers, you really should think about how deep the filepaths may get. This is especially true on DFS-shares since you might have to deal with the full <acronym title="Fully Qualified Domain Name">FQDN</acronym> too, and not only the actual folder structure. Many big corporations I know uses “codes” for departments and assign a project ID (quite simply a number or maybe an abbreviation) to each project and uses theese for the fileshares too. Another scenario that could lead to similar problems are intranet sites where users can create and manage their own subsites and where filenames and folders are not stored in a database.</p>
<p>I have only seen this phenomena on Windows systems so far, and I’ve actually used a linux Live-CD on occasion when admin access is denied.</p>
<blockquote><p>Read More:<br />
<a href="http://support.microsoft.com/kb/320081">http://support.microsoft.com/kb/320081</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.teknoglot.se/ms/cannot-delete-files-with-long-paths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

