<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Cyleft's Blog</title>
	<atom:link href="http://cyleft.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cyleft.wordpress.com</link>
	<description>Just another WordPress.com techblog</description>
	<lastBuildDate>Mon, 16 Jan 2012 18:46:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cyleft.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Cyleft's Blog</title>
		<link>http://cyleft.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cyleft.wordpress.com/osd.xml" title="Cyleft&#039;s Blog" />
	<atom:link rel='hub' href='http://cyleft.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Removing Silverlight When it Fails to Uninstall</title>
		<link>http://cyleft.wordpress.com/2011/07/30/removing-silverlight-when-it-fails-to-uninstall/</link>
		<comments>http://cyleft.wordpress.com/2011/07/30/removing-silverlight-when-it-fails-to-uninstall/#comments</comments>
		<pubDate>Sat, 30 Jul 2011 10:14:03 +0000</pubDate>
		<dc:creator>cyleft</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://cyleft.wordpress.com/?p=119</guid>
		<description><![CDATA[  I was having problems removing Silverlight 3 from the Add/Remove Programs feature. These are the steps I followed to get rid of it and upgrade to Silverlight 4. Step 1 Create a new system restore point (if you feel like it) Click Start, All Programs, Accessories, System Tools, and then click System Restore. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=119&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong></strong> </p>
<p><strong>I was having problems removing Silverlight 3 from the Add/Remove Programs feature. These are the steps I followed to get rid of it and upgrade to Silverlight 4.</strong></p>
<h3>Step 1 Create a new system restore point (if you feel like it)</h3>
<p>Click Start, All Programs, Accessories, System Tools, and then click System Restore. The System Restore Wizard opens. Click Create a restore point, and then click Next. In Restore point description box, type a description. Note:  The date and time are automatically added to your restore point. Therefore, you dont need them in your description. Click the Create button.</p>
<h3>Step 2 Try Add/Remove Programs Again</h3>
<p>In the control panel find Add/Remove Programs or Programs and Features whichever one you have. Uninstall Microsoft Silverlight if it is shown as installed by clicking on it and then clicking Uninstall or Remove.</p>
<p>If you still get an error message (for example a dialog appears saying that the msi file cannot be found) just continue on to the next step.</p>
<h3>Step 3 Mess with things</h3>
<p>Click on Start &gt; Run  Type in <em>cmd</em> and select OK. From the command prompt screen run the following commands</p>
<pre>cd\
reg delete HKLM\Software\Microsoft\Silverlight /f</pre>
<p>Close the command prompt window.</p>
<p>Rename the <em>C:\Programs Files\</em><em>Microsoft Silverlight</em> folder to <em>C:\Programs Files\</em><em>MSSL</em></p>
<p>Goto Start &gt;Run and type <em>Regedit</em>. It will open registry editor. Highlight My Computer. Click on the File menu and select Export. Make up a file name and save the file (on the desktop for example).</p>
<p>In the registry editor navigate to <em>HKEY_CLASSES_ROOT\AgControl.AgControl </em>Expand AgControl.AgControl</p>
<p>Select the <em>CLSID</em> key. Edit the <em>(Default)</em> value by right clicking and selecting modify and change it to <em>{DFEAF541-F3E1-4c24-ACAC-99C30715084A}</em> then click OK</p>
<p>Select the <em>CurVer</em> Key and change the <em>(Default)</em> value to <em>AgControl.AgControl.1.0</em></p>
<p>Navigate to <em>HKEY_CLASSES_ROOT\Installer\Products  </em>Find the key called<em> D7314F9862C648A4DB8BE2A5B47BE100</em> and rename it to OLD_D7314F9862C648A4DB8BE2A5B47BE100</p>
<h3> <br />
Step 4 Try to install Silverlight again</h3>
<address><a title="Silverlight Install" href="http://www.microsoft.com/silverlight/resources/install.aspx">http://www.microsoft.com/silverlight/resources/install.aspx</a></address>
<address> </address>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cyleft.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cyleft.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cyleft.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cyleft.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cyleft.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cyleft.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cyleft.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cyleft.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cyleft.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cyleft.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cyleft.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cyleft.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cyleft.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cyleft.wordpress.com/119/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=119&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cyleft.wordpress.com/2011/07/30/removing-silverlight-when-it-fails-to-uninstall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cyleft</media:title>
		</media:content>
	</item>
		<item>
		<title>A Quick Look at Microsoft Windows Active Directory</title>
		<link>http://cyleft.wordpress.com/2010/12/05/a-brief-look-at-microsoft-windows-active-directory/</link>
		<comments>http://cyleft.wordpress.com/2010/12/05/a-brief-look-at-microsoft-windows-active-directory/#comments</comments>
		<pubDate>Sun, 05 Dec 2010 22:05:03 +0000</pubDate>
		<dc:creator>cyleft</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://cyleft.wordpress.com/?p=100</guid>
		<description><![CDATA[Whats this about? When I hear about Exchange Servers and Active Directory, I used to get irritated because I knew little about it. So, I decided to read up and write up. This is not an administration guide, just an overview, so sit back, relax and scroll down. What&#8217;s Active Directory? To me &#8220;Active Directory&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=100&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Whats this about?</h2>
<p>When I hear about Exchange Servers and Active Directory, I used to get irritated because I knew little about it. So, I decided to read up and write up. This is not an administration guide, just an overview, so sit back, relax and scroll down.</p>
<h2>What&#8217;s Active Directory?</h2>
<p>To me &#8220;Active Directory&#8221; is a dumb name, it doesn&#8217;t mean anything. Active Directory is meant to be a <strong>Directory Service</strong>. There are many types of Directory Services, for example a phone book or directory enquiries. They contain information (in a phone book, the information is about phone numbers) and it&#8217;s a service that you can use (eg a book that you can look through, a phone number you can call or a website you can visit).</p>
<p>Active Directory is the directory service included with Windows servers. <strong>It stores all the information you would need to manage a windows network</strong>, for example user accounts, file servers and printers, and the rules about who&#8217;s allowed to do what (Group Policy Objects or GPOs). </p>
<p>You might have noticed the word <strong>Object</strong> pop up there in GPO. The data stored in this &#8216;Active Directory&#8217; is organised into things called objects. The <strong>Active Directory Schema</strong> is where you define what kinds of objects you can put in your directory. If you&#8217;ve never heard of  objects and schema and you are a bit confused, then I suggest you google it, it&#8217;s quite similar to XML schema.</p>
<p><em>It&#8217;s a confusing word &#8220;object&#8221;, because it obviously means something special in this context.. but it&#8217;s an abstract term, so it&#8217;s hard to remember. In my head, I substitute object with &#8220;thing&#8221;, because I can understand things. I don&#8217;t understand objects because &#8220;object&#8221; weird</em></p>
<h2>Lots More Confusing Words</h2>
<p>I think Active Directory should actually be called &#8216;Lots of Confusing Words&#8217; because that&#8217;s what it is, and that&#8217;s what&#8217;s coming up next.</p>
<p>In Active Directory you have to organise all your  information into objects, so you need to put it into some kind of <strong>structure</strong>. So Microsoft made up all these things to help you structure your directory, and here they are.</p>
<p>All your computers are probably networked. <strong> </strong>So you normally organise your LAN into a <strong>Site</strong>. Site means your physical site. You group things into sites because you need to distribute directory information across your whole windows network, so organising your computers into sites helps you manage this information sharing.</p>
<p>You put all your users, printers, email addresses, databases etc. into <strong>domains</strong>. You can make one domain and use it over different sites or locations. So if your organisation has two main sites in two cities, you don&#8217;t need to make two domains, you can use one big domain.</p>
<p><strong>Domain Controller</strong> &#8211; Oh yes, the DC, something you can touch. This is your active directory server that keeps a copy of the domain directory. You can have more than one domain controller in a domain. A domain controller can only service one domain. A domain controller is the server that checks user logins etc.</p>
<p><strong>Trees</strong> &#8211; this is when you create a domain hierarchy. By making a tree of domains in your active directory, you can administrate and manage your network more easily. This is actually quite a simple idea, and it&#8217;s tied in to DNS a bit. Imagine you have a domain name cyleft.wordpress.com. wordpress.com is the top level domain or main site, and cyleft.wordpress.com is my bit. There are lots of &#8216;child&#8217; domains under wordpress.com for everybody else who uses wordpress like torinelson.wordpress.com, everyone looks after their bit. So you can think of it like a tree, with wordpress.com at the root, and cyleft, and torinelson as two branches coming out from there, among others.  That&#8217;s what your tree is, a domain tree helps you organise your directory.</p>
<p>Trees are fine, but <strong>Forests</strong>? Are you kiddin? If for example, you had blogspot.com as a domain tree and wordpress.com as another domain tree, you can make a forest! Whoopeee! Now you can share Active Directory Schema, and communicate between trees etc. Both trees trust each other, so if you logon to one tree, the other tree trusts that you&#8217;re authenticated and logged on (otherwise you&#8217;d need to login to both trees)</p>
<p><strong>Organisational Unit (OU)</strong> is another confusing name. You make OUs to help you administrate your network, so you can have lots of administrative groups to manage your actual windows network. You can put OUs in other OUs to make a nice tree as well.</p>
<p>If you have more than one domain in a forest, you need a <strong>global catalog</strong> so that you can login no matter which domain controller you are using. That&#8217;s what the global catalog does, it stores all group membership information. This is usually stored on a global catalog server and cached on each domain controller.</p>
<h2>Users and Groups</h2>
<p>Now when you login to your computer, you can login in two ways. One, your username and password is stored and checked on your computer, known as a Local User Account. The other place you can store and check your password in is the <strong>Domain Directory</strong> on a domain controller, making it a <strong>domain user account</strong>. This means that you can have local administrative accounts that can control your  computer, and domain administrator accounts which let you change things in the domain, tree or forest.</p>
<p>You also have <strong>user groups</strong>. These are just to group users and things together. You can have different types of groups, some are limited to a single domain, and some groups let you grant permissions and access to anything in any domain in the forest.</p>
<p>Here comes <strong>Group Policy</strong>. It should really be called Grouped Policies I think. A GP is a collection of settings that tell you how programs, the operating system etc. work for users and computers in the active directory. You save them in a group policy object and apply it to domains, sites, OUs etc. It doesn&#8217;t mean that you create some policies or settings that you apply to a group, even though that&#8217;s how it sounds. GPs are not applied to groups, you apply them to domains, or OUs or whatever. Stupid I know. You can have local GPOs for your local computer and domain policy GPOs which get applied to every user in the domain.</p>
<h2>Tools &amp; Utilities</h2>
<p> I&#8217;m just going to put in a list of tools and utils used to administer/diagnose active directory. If you want to know more, leave a comment:</p>
<ul>
<li>netdiag.exe</li>
<li>dcdiag.exe</li>
<li>ntdsutil.exe (NT Directory Service was the old name for Active Directory type stuff in years gone by)</li>
<li>dcpromo</li>
<li>gpedit.msc</li>
<li>netdom</li>
<li>dsastat</li>
<li>repadmin</li>
<li>dsadd, dsmod, dsquery</li>
<li>whoami</li>
<li>runas</li>
<li>gpresult</li>
</ul>
<p>There are lots of details about Active Directory which will bore the hair off your eyebrows but I have already had enough of Active Directory now, so I will conclude here. The majority of Active Directory is straightforward, there are just lots of new words to hate.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cyleft.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cyleft.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cyleft.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cyleft.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cyleft.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cyleft.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cyleft.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cyleft.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cyleft.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cyleft.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cyleft.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cyleft.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cyleft.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cyleft.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=100&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cyleft.wordpress.com/2010/12/05/a-brief-look-at-microsoft-windows-active-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cyleft</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows XP Disk Cleanup Takes A Long Time To Start</title>
		<link>http://cyleft.wordpress.com/2010/05/21/windows-xp-disk-cleanup-takes-a-long-time-to-start/</link>
		<comments>http://cyleft.wordpress.com/2010/05/21/windows-xp-disk-cleanup-takes-a-long-time-to-start/#comments</comments>
		<pubDate>Fri, 21 May 2010 21:41:47 +0000</pubDate>
		<dc:creator>cyleft</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://cyleft.wordpress.com/?p=90</guid>
		<description><![CDATA[Microsoft Windows XP comes with a utility called Disk Cleanup. You can find it by going to: Start Menu -&#62; All Programs -&#62; Accessories -&#62; System Tools -&#62; Disk Cleanup   If Disk Cleanup is taking an annoyingly long time to start up because it is &#8216;scanning for old files to compress&#8217;, you can force it to stop [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=90&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Microsoft Windows XP comes with a utility called Disk Cleanup. You can find it by going to:</p>
<pre>Start Menu -&gt; All Programs -&gt; Accessories -&gt; System Tools -&gt; Disk Cleanup</pre>
<p> </p>
<p>If Disk Cleanup is taking an annoyingly long time to start up because it is &#8216;scanning for old files to compress&#8217;, you can force it to stop this scan. All you need to do is modify the registry. Using regedit.exe or similar tool, browse to this key:</p>
<pre>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\VolumeCaches</pre>
<p> </p>
<p>Find the &#8216;<strong>Compress old files</strong>&#8216; registry key and <strong>rename</strong> it. Save and close.</p>
<p>You can find Microsofts knowledge base article on this here:</p>
<address><a href="http://support.microsoft.com/kb/812248">http://support.microsoft.com/kb/812248</a></address>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cyleft.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cyleft.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cyleft.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cyleft.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cyleft.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cyleft.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cyleft.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cyleft.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cyleft.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cyleft.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cyleft.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cyleft.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cyleft.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cyleft.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=90&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cyleft.wordpress.com/2010/05/21/windows-xp-disk-cleanup-takes-a-long-time-to-start/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cyleft</media:title>
		</media:content>
	</item>
		<item>
		<title>Web hosts</title>
		<link>http://cyleft.wordpress.com/2010/05/11/web-hosts/</link>
		<comments>http://cyleft.wordpress.com/2010/05/11/web-hosts/#comments</comments>
		<pubDate>Tue, 11 May 2010 19:09:57 +0000</pubDate>
		<dc:creator>cyleft</dc:creator>
				<category><![CDATA[web stuff]]></category>

		<guid isPermaLink="false">http://cyleft.wordpress.com/?p=84</guid>
		<description><![CDATA[I use www.fatcow.com! Powered by 100% wind energy! This post was prompted by a comment on one of the articles, so I&#8217;ve moved it to it&#8217;s own spot to write a little about it I want to find a totally free hosting service that is ok to accept CGI. Do you believe that I can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=84&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I use www.fatcow.com! Powered by 100% wind energy!</p>
<p>This post was prompted by a comment on one of the articles, so I&#8217;ve moved it to it&#8217;s own spot to write a little about it</p>
<blockquote><p>I want to find a totally free hosting service that is ok to accept CGI. Do you believe that I can have a wonderful host or better a first-class free hosters database or something like that for what I want ?? ps: Do you know free no ads hosting ??     How have you built your blog ? &#8212; Quentin Bonnes</p></blockquote>
<p>OK, you <strong>can</strong> have wonderful host, a fantastic host, even better, a first class, top notch, top of the line, triple-a host. But I don&#8217;t think you can get one for free.</p>
<p>Do I know any ad-free, cost-free hosting service? Nope, most have ads.</p>
<p>How have I built my blog? Why, that&#8217;s easy. All you do is go to <a title="Wordpress" href="http://www.wordpress.com" target="_blank">www.wordpress.com</a> and hit the big orange button that says sign up. It&#8217;s a quick and easy and free. The editor you get to write your blog with, is amazing &#8211; very easy to use.</p>
<p>If you&#8217;re looking for hosting with features like CGI script support, databases etc. I&#8217;d go for a &#8216;cheap host&#8217;. They&#8217;re usually around £3-5 a month. The web servers might be a bit slow, but they&#8217;re good value for money.</p>
<p><em>If you&#8217;ve found a web host you like (or not) get in touch!</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cyleft.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cyleft.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cyleft.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cyleft.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cyleft.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cyleft.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cyleft.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cyleft.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cyleft.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cyleft.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cyleft.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cyleft.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cyleft.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cyleft.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=84&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cyleft.wordpress.com/2010/05/11/web-hosts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cyleft</media:title>
		</media:content>
	</item>
		<item>
		<title>Desktop PC hardware problems</title>
		<link>http://cyleft.wordpress.com/2009/04/24/desktop-pc-hardware-problems/</link>
		<comments>http://cyleft.wordpress.com/2009/04/24/desktop-pc-hardware-problems/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 02:25:18 +0000</pubDate>
		<dc:creator>cyleft</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[faults]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[problems]]></category>

		<guid isPermaLink="false">http://cyleft.wordpress.com/?p=79</guid>
		<description><![CDATA[Situation: Desktop PC stops working for no apparent reason. Doesn&#8217;t power on. Tested power supply, power button, CPU, RAM, all fine. Solution: CMOS battery. PC would boot if the battery was removed. If it is inserted, system doesn&#8217;t power on. Replaced battery, but the problem persists. Perhaps there is corrosion somewhere near the battery socket [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=79&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Situation: Desktop PC stops working for no apparent reason. Doesn&#8217;t power on. Tested power supply, power button, CPU, RAM, all fine.</p>
<p>Solution: CMOS battery. PC would boot if the battery was removed. If it is inserted, system doesn&#8217;t power on. Replaced battery, but the problem persists. Perhaps there is corrosion somewhere near the battery socket which causes this. I just left the battery out.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cyleft.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cyleft.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cyleft.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cyleft.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cyleft.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cyleft.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cyleft.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cyleft.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cyleft.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cyleft.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cyleft.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cyleft.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cyleft.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cyleft.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=79&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cyleft.wordpress.com/2009/04/24/desktop-pc-hardware-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cyleft</media:title>
		</media:content>
	</item>
		<item>
		<title>When trying to update a password, current password is not correct</title>
		<link>http://cyleft.wordpress.com/2009/04/24/when-trying-to-update-a-password-this-return-status/</link>
		<comments>http://cyleft.wordpress.com/2009/04/24/when-trying-to-update-a-password-this-return-status/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 01:54:24 +0000</pubDate>
		<dc:creator>cyleft</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://cyleft.wordpress.com/?p=72</guid>
		<description><![CDATA[When starting windows you get this message at the login prompt: &#8220;When trying to update a password, this return status indicates that the value provided as the current password is not correct.&#8221; SOLUTION: Replace SECURITY/SAM file in C:\WINDOWS\system32\config<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=72&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When starting windows you get this message at the login prompt:</p>
<p>&#8220;When trying to update a password, this return status indicates that the value provided as the current password is not correct.&#8221;</p>
<p>SOLUTION: Replace SECURITY/SAM file in C:\WINDOWS\system32\config</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cyleft.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cyleft.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cyleft.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cyleft.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cyleft.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cyleft.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cyleft.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cyleft.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cyleft.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cyleft.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cyleft.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cyleft.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cyleft.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cyleft.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=72&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cyleft.wordpress.com/2009/04/24/when-trying-to-update-a-password-this-return-status/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cyleft</media:title>
		</media:content>
	</item>
		<item>
		<title>Cloning when you&#8217;ve forgotten to sysprep</title>
		<link>http://cyleft.wordpress.com/2009/04/24/cloning-when-youve-forgotten-to-sysprep/</link>
		<comments>http://cyleft.wordpress.com/2009/04/24/cloning-when-youve-forgotten-to-sysprep/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 01:51:36 +0000</pubDate>
		<dc:creator>cyleft</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[clone]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[snapshot]]></category>
		<category><![CDATA[sysprep]]></category>

		<guid isPermaLink="false">http://cyleft.wordpress.com/?p=68</guid>
		<description><![CDATA[If you need more help with any of this post please leave feedback Background Cloning a hard drive means making an exact copy of a disks contents so that you can either backup or migrate your disk. This post is about cloning a windows partition so that you can run it from a different PC [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=68&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>If you need more help with any of this post please leave feedback</h3>
<h1>Background</h1>
<p>Cloning a hard drive means making an exact copy of a disks contents so that you can either backup or migrate your disk. This post is about cloning a windows partition so that you can run it from a different PC with different hardware on it. There is a useful section at the end, which will help you get into windows if you&#8217;ve forgotten to sysprep.</p>
<h2>Overview</h2>
<p>An easy piece of software to use is Ultrasoft Snapshot. Then use Microsoft sysprep utility to prepare the system for cloning. Use &#8216;snapshot&#8217; to clone the partition to a backup hard drive. Restore the backup to a new disk.</p>
<p>If you haven&#8217;t run sysprep, and you no longer have access to the old machine, there&#8217;s some help to get you going in the trouble shooting section.</p>
<h2>Microsoft sysprep</h2>
<p><a title="sysprep" href="http://support.microsoft.com/kb/302577" target="_blank">Microsoft have a page on sysprep</a>. I forgot to use sysprep (hence this post) so you&#8217;ll have to google this section. Good Luck.</p>
<h2>Ultrasoft Drive Snapshot</h2>
<p>Use the &#8216;snapshot&#8217; software from a startup disk in your original machine (eg bartpe) or by installing the original hard drive in another pc (let&#8217;s call it the host pc) and running &#8216;snapshot&#8217; on the host machine. This is required because snapshot needs exclusive access to the source hard drive partition (the one you&#8217;re cloning), so you can&#8217;t be running windows off the drive you&#8217;re cloning whilst cloning.</p>
<p>You need the same amount of space free on your target hard drive partition as the source partition. If you have alot of free space on the source partition, it might help to resize it, eg using Partition Magic.</p>
<p>Use the &#8216;snapshot&#8217; program to extract the cloned partition to the target hard drive. You can then boot into your target machine and finish. If you have trouble booting, mark the partition as active (can be done from boot cds, or installing drive in different machine and using the computer manager from the windows control panel.) Make sure the MBR has a working boot loader (eg use fixmbr from windows installation cd restore mode to reinstall bootloader.)</p>
<h2>Troubleshooting ie forgetting to sysprep</h2>
<p>If you cloned the partition and tried to boot it without sysprep&#8217;ing before cloning you will probably get problems starting the computer. It either restarts endlessly, or you get a blue screen (STOP 0x0000007B messages indicating problem with boot drive).</p>
<p>This usually happens because windows has problems starting in the new machine, as it is still setup for the old machine. One way to solve this problem is to install windows on your target machine in a new &amp; empty partition. Then you need to copy over the system/sam/ security files from C:\windows\system32\config over to the problematic install. This will effectively overwrite the data windows keeps about the system hardware. I already had a windows installation on my target machine, so I copied these files over, and in my case this allowed me to boot into the cloned windows partition!</p>
<p>The only problem then remaining is that you might have registry entries in your old config files that are required by the software you had installed. These have to be manually sorted out by mounting the hives in regedit and copying the required data out. This is possible for a few registry entries (eg Windows Services entries etc.) but it&#8217;s probably too much hassle otherwise.</p>
<h3>TODO</h3>
<p>My problems were solved after copying over the configuration files, and fixing a few registry entries.</p>
<p>If you have time, instead of overwriting the entire SAM/SECURITY/SYSTEM hives, only overwrite the sections containing hardware information. Which sections are those? No idea, you&#8217;ll need to find out. Copy out enough registry entries to get it to boot (may only be those regarding chipset/graphics card/hd.)</p>
<p>Otherwise, find a guide on sysprep&#8217;ing after cloning and try that. Oh and let me know if that works.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cyleft.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cyleft.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cyleft.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cyleft.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cyleft.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cyleft.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cyleft.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cyleft.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cyleft.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cyleft.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cyleft.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cyleft.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cyleft.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cyleft.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=68&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cyleft.wordpress.com/2009/04/24/cloning-when-youve-forgotten-to-sysprep/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cyleft</media:title>
		</media:content>
	</item>
		<item>
		<title>Using mplayer/mencoder to convert to an MPEG</title>
		<link>http://cyleft.wordpress.com/2009/04/24/using-mplayermencoder-to-convert-to-an-mpeg/</link>
		<comments>http://cyleft.wordpress.com/2009/04/24/using-mplayermencoder-to-convert-to-an-mpeg/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 01:14:52 +0000</pubDate>
		<dc:creator>cyleft</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[mencoder]]></category>

		<guid isPermaLink="false">http://cyleft.wordpress.com/?p=65</guid>
		<description><![CDATA[MEncoder is a useful media encoder that comes with MPlayer The Movie Player To use, you&#8217;ll need to download and install MPLAYER as well as the extra plugins. You may also need Real Player, Quicktime, Windows Media Player installed (or an alternative.) OK I&#8217;m always having to lookup the mencoder flags for encoding video files, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=65&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>MEncoder  is a useful media encoder that comes with MPlayer <a title="MPLAYER" href="http://www.mplayerhq.hu" target="_blank">The Movie Player</a></p>
<p>To use, you&#8217;ll need to download and install MPLAYER as well as the extra plugins. You may also need Real Player, Quicktime, Windows Media Player installed (or an alternative.)</p>
<p>OK I&#8217;m always having to lookup the mencoder flags for encoding video files, so heres a useful example:</p>
<pre>c:\mplayer\&gt;mencoder.exe input.file -of mpeg -ovc lavc -oac lavc
                  -lavcopts vcodec=mpeg2video:acodec:mp2 -o output.file</pre>
<p>of = Output File        ovc = Output Video Codec</p>
<p>The rest of the options can be looked up.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cyleft.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cyleft.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cyleft.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cyleft.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cyleft.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cyleft.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cyleft.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cyleft.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cyleft.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cyleft.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cyleft.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cyleft.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cyleft.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cyleft.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=65&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cyleft.wordpress.com/2009/04/24/using-mplayermencoder-to-convert-to-an-mpeg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cyleft</media:title>
		</media:content>
	</item>
		<item>
		<title>Cannot delete AVI/MPEG Video Files</title>
		<link>http://cyleft.wordpress.com/2009/03/25/cannot-delete-avimpeg-video-files/</link>
		<comments>http://cyleft.wordpress.com/2009/03/25/cannot-delete-avimpeg-video-files/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 00:11:41 +0000</pubDate>
		<dc:creator>cyleft</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[delete avi]]></category>

		<guid isPermaLink="false">http://cyleft.wordpress.com/?p=59</guid>
		<description><![CDATA[This problem occurs when windows is trying to show you a preview picture of your video, whilst you are trying to delete the file. So then you get a message telling you the file is still in use and the delete operation fails. Solution? Stop windows from showing you thumbnail images of your videos. Start [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=59&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This problem occurs when windows is trying to show you a preview picture of your video, whilst you are trying to delete the file. So then you get a message telling you the file is still in use and the delete operation fails. Solution? Stop windows from showing you thumbnail images of your videos.</p>
<pre>Start -&gt; Run -&gt; regedit
Edit -&gt; Find</pre>
<p>In the search box type this:</p>
<pre>{87D62D94-71B3-4b9a-9489-5FE6850DC73E}</pre>
<p>Tick the box titled &#8216;Keys&#8217; and untick the others. It should find the key for &#8216;AVI Properties handler.&#8217; Right click the key from the left window pane (with the folder tree view) and click export. Choose a file name to export the key to, and click OK. Now you can delete the key you just exported. If anything goes wrong, you can double click the .reg file you just created to restore the key.</p>
<p>You can also delete the following keys:</p>
<pre>{40C3D757-D6E4-4b49-BB41-0E5BBEA28817}
Video Media Properties Handler

{c5a40261-cd64-4ccf-84cb-c394da41d590}
Video thumbnail extractor</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cyleft.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cyleft.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cyleft.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cyleft.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cyleft.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cyleft.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cyleft.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cyleft.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cyleft.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cyleft.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cyleft.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cyleft.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cyleft.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cyleft.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=59&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cyleft.wordpress.com/2009/03/25/cannot-delete-avimpeg-video-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cyleft</media:title>
		</media:content>
	</item>
		<item>
		<title>Working with Microsoft SQL Server MDF LDF Files</title>
		<link>http://cyleft.wordpress.com/2009/03/24/working-with-microsoft-sql-server-mdf-ldf-files/</link>
		<comments>http://cyleft.wordpress.com/2009/03/24/working-with-microsoft-sql-server-mdf-ldf-files/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 23:50:03 +0000</pubDate>
		<dc:creator>cyleft</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[attach]]></category>
		<category><![CDATA[ldf]]></category>
		<category><![CDATA[mdf]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[msde]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[osql]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[view]]></category>

		<guid isPermaLink="false">http://cyleft.wordpress.com/?p=52</guid>
		<description><![CDATA[This article is about .MDF and .LDF files. These files are created by Microsoft SQL Server, and if you have some of these, and you want to view their contents read on. The files I had originated from a Microsoft SQL Desktop Edition 2000 (MSDE) server. I&#8217;m assuming these instructions will work for other versions [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=52&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>This article is about .MDF and .LDF files. These files are created by Microsoft SQL Server, and if you have some of these, and you want to view their contents read on.</strong></p>
<p>The files I had originated from a Microsoft SQL Desktop Edition 2000 (MSDE) server. I&#8217;m assuming these instructions will work for other versions as well.</p>
<h2>Download MSDE2000</h2>
<p>You can download the 42MB MSDE 2000 Release A file from here:</p>
<address><a title="MSDE2000" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=413744D1-A0BC-479F-BAFA-E4B278EB9147&amp;displaylang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyID=413744D1-A0BC-479F-BAFA-E4B278EB9147&amp;displaylang=en</a></address>
<address> </address>
<h1>Install MSDE2000</h1>
<p>If you run the file you saved it will ask you to choose a folder to extract the setup files to. Please select a folder, or just click next. The files will unpack.</p>
<p>Open a command prompt from Start -&gt;All Programs -&gt; Accessories -&gt; Command Prompt</p>
<p>It will show you something like this:</p>
<pre>Microsoft Windows XP [Version 5.1]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\username&gt;</pre>
<p>Type the following in and press enter:</p>
<pre>C:\Documents and Settings\username&gt; cd C:\the\folder\you\extracted\your\files\to\goes\here
C:\the\folder\i\extracted\my\files\to&gt; setup.exe SAPWD=YOUR_PASSWORD_GOES_HERE</pre>
<div id="attachment_53" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-53" title="setup dialog" src="http://cyleft.files.wordpress.com/2009/03/setup.png?w=500&#038;h=170" alt="This is the type of window that should show next" width="500" height="170" /><p class="wp-caption-text">This is the type of window that should show next</p></div>
<p>Setup will commence, and you should have your server installed.</p>
<h2>Graphical Administration Tool</h2>
<address><a title="Download SQL Server Web Data Administrator" href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=c039a798-c57a-419e-acbc-2a332cb7f959" target="_blank">http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=c039a798-c57a-419e-acbc-2a332cb7f959</a></address>
<address> </address>
<p>I tried this, but couldn&#8217;t get it to work. I wasn&#8217;t using IIS. Good luck.</p>
<h2>Command Line Administration using OSQL</h2>
<p>OK back to basics. osql.exe is in this folder:</p>
<pre>%ProgramFiles%\Microsoft SQL Server\80\Tools\Binn\</pre>
<p>By default this is:</p>
<pre>C:\Program Files\Microsoft SQL Server\80\Tools\Binn\</pre>
<p>Open a command prompt and cd into that directory:</p>
<pre>C:\SQL Server\80\Tools\Binn\&gt;osql /?
usage: osql              [-U login id]          [-P password]
etc</pre>
<p>Read the stuff that it prints out here.</p>
<p>The -E&#8217; switch means trusted connection, so we&#8217;ll use that to login</p>
<pre>C:\SQL Server\80\Tools\Binn\&gt;osql -E

1&gt; sp_help
1&gt; go</pre>
<p>A whole load of text will fly by. This is the output of the sp_help command. As you see, you use &#8216;go&#8217; to execute the commands you type in at the prompt.</p>
<h2>Attaching the MDF/LDF Files:</h2>
<p>To view your MDF/LDF files  you need to attach the database files to the server. The commands are as follows:</p>
<pre>1&gt;EXEC sp_attach_db @dbname = N'CHOOSE_DATABASE_NAME_AND_TYPE_IT_HERE',
1&gt;   @filename1 = N'C:\YOUR_FILE.mdf',
1&gt;   @filename2 = N'C:\YOUR_FILE.ldf'
1&gt;go</pre>
<p>To view info on the databases currently attached, you can use these commands:</p>
<pre>1&gt;select * from sysdatabases
1&gt;go
1&gt;select * from INFORMATION_SCHEMA.TABLES
1&gt;go</pre>
<p>You can now use SQL statements as follows:</p>
<pre>1&gt;USE YOUR_DATABASE_NAME
1&gt;select * from YOUR_TABLE_NAME
1&gt;go</pre>
<p>If you want to output the result of your SQL query in a file use:</p>
<pre>C:\...\Binn&gt;osql /E /d YOUR_DB_NAME /Q "select * from YOUR_TABLE_NAME" -o outputfile.txt</pre>
<p>If you want to do it using a host/username/password to login:</p>
<pre>C:\...\Binn&gt;osql /U sa /P YOUR_PASSWORD /d YOUR_DB_NAME /S your.server.name.or.ip.address /Q "select * from YOUR_TABLE" -o outputfile.txt</pre>
<p>Some more useful commands:</p>
<p>1&gt;sp_helpdb mydb<br />
1&gt;go</p>
<p>1&gt;EXEC sp_grantlogin &#8216;Test&#8217;<br />
1&gt;EXEC sp_grantdbaccess &#8216;Test&#8217;, &#8216;database_name&#8217;<br />
1&gt;EXEC sp_addlogin &#8216;test&#8217;,'hello&#8217;<br />
1&gt;EXEC sp_password &#8216;OLDPASS&#8217;, &#8216;NEWPASS&#8217;,'Test&#8217;</p>
<p>Have fun.</p>
<address> </address>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cyleft.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cyleft.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cyleft.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cyleft.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cyleft.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cyleft.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cyleft.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cyleft.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cyleft.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cyleft.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cyleft.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cyleft.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cyleft.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cyleft.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cyleft.wordpress.com&amp;blog=3683015&amp;post=52&amp;subd=cyleft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cyleft.wordpress.com/2009/03/24/working-with-microsoft-sql-server-mdf-ldf-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cyleft</media:title>
		</media:content>

		<media:content url="http://cyleft.files.wordpress.com/2009/03/setup.png" medium="image">
			<media:title type="html">setup dialog</media:title>
		</media:content>
	</item>
	</channel>
</rss>
