<?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>Vikram&#039;s Web Archive &#187; Tech Tips</title>
	<atom:link href="http://lb.viks.org/category/tech-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://lb.viks.org</link>
	<description>Since interestingness isn&#039;t a search option...</description>
	<lastBuildDate>Sat, 31 Jul 2010 09:06:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Offline files save to alternate partition</title>
		<link>http://lb.viks.org/2010/07/30/offline-files-save-to-alternate-partition/</link>
		<comments>http://lb.viks.org/2010/07/30/offline-files-save-to-alternate-partition/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 20:28:59 +0000</pubDate>
		<dc:creator>v</dc:creator>
				<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://lb.viks.org/?p=3398</guid>
		<description><![CDATA[This can be done through a Directory Junction which can redirect to a new location of offline files. The Offline Files are stored in the folder %SystemRoot%\CSC (which usually is C:\Windows\CSC or a different drive letter in place of C). First, create a folder on a partition with large space and give it an informative [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>This can be done through a Directory Junction which can redirect to a new location of offline files.<br />
The Offline Files are stored in the folder %SystemRoot%\CSC (which usually is C:\Windows\CSC or a different drive letter in place of C). First, create a folder on a partition with large space and give it an informative name, say, D:\Offline Folders as a suggestion.<br />
You need to delete the existing folder and create a junction in its place. For this, boot into Safe Mode as an administrator and delete the CSC contents and folder.<br />
del /s /q %SystemRoot%\CSC should to the job.<br />
Having created the new location folder, and deleting the existing CSC folder, now is time to create a Directory Junction for CSC folder with the following command:<br />
mklink /J  %SystemRoot%\CSC  <new -folder-path><br />
for example:  mklink /J  C:\Windows\CSC  &#8220;D:\Offline Files&#8221;<br />
Now, whatever is meant for location %SystemRoot%\CSC gets directed to the new location.<br />
I hope this helps.<br />
Note: The quote marks in &#8220;D:\Offline Files&#8221; were required because of a space character in the folder name, otherwise not necessary.</new></p></blockquote>
<p>[From: <a href="http://social.answers.microsoft.com/Forums/en-US/w7files/thread/6af0cf60-84f6-4e48-b0a1-2780a5fd7b7a">Offline files save to alternate partition</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://lb.viks.org/2010/07/30/offline-files-save-to-alternate-partition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SafeMSI lets you install and remove apps in Safe Mode</title>
		<link>http://lb.viks.org/2010/07/21/safemsi-lets-you-install-and-remove-apps-in-safe-mode/</link>
		<comments>http://lb.viks.org/2010/07/21/safemsi-lets-you-install-and-remove-apps-in-safe-mode/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 00:55:27 +0000</pubDate>
		<dc:creator>v</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://lb.viks.org/?p=3382</guid>
		<description><![CDATA[SafeMSI lets you install and remove apps in Safe Mode.]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.downloadsquad.com/2010/07/21/run-windows-installer-safe-mode/'>SafeMSI lets you install and remove apps in Safe Mode</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lb.viks.org/2010/07/21/safemsi-lets-you-install-and-remove-apps-in-safe-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sony Vaio Z i5/i7 Official Owners Thread &#8211; Page 599</title>
		<link>http://lb.viks.org/2010/07/07/sony-vaio-z-i5i7-official-owners-thread-page-599/</link>
		<comments>http://lb.viks.org/2010/07/07/sony-vaio-z-i5i7-official-owners-thread-page-599/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 09:31:25 +0000</pubDate>
		<dc:creator>v</dc:creator>
				<category><![CDATA[MyNextLaptop]]></category>
		<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://lb.viks.org/?p=3345</guid>
		<description><![CDATA[Sony Vaio Z i5/i7 Official Owners Thread &#8211; Page 599.]]></description>
			<content:encoded><![CDATA[<p><a href='http://forum.notebookreview.com/sony-owners-lounge-forum/457519-sony-vaio-z-i5-i7-official-owners-thread-599.html'>Sony Vaio Z i5/i7 Official Owners Thread &#8211; Page 599</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lb.viks.org/2010/07/07/sony-vaio-z-i5i7-official-owners-thread-page-599/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Deleting hard to delete folders and files</title>
		<link>http://lb.viks.org/2010/05/23/deleting-hard-to-delete-folders-and-files/</link>
		<comments>http://lb.viks.org/2010/05/23/deleting-hard-to-delete-folders-and-files/#comments</comments>
		<pubDate>Mon, 24 May 2010 00:12:26 +0000</pubDate>
		<dc:creator>v</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://lb.viks.org/?p=3327</guid>
		<description><![CDATA[From an elevated command prompt, execute the following commands: > TAKEOWN /F [Directory Name] /R > ICACLS [Directory Name] /grant Administrators:F]]></description>
			<content:encoded><![CDATA[<p>From an elevated command prompt, execute the following commands:</p>
<p><code>> TAKEOWN /F [Directory Name] /R </p>
<p>> ICACLS [Directory Name] /grant Administrators:F<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://lb.viks.org/2010/05/23/deleting-hard-to-delete-folders-and-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixed: “The URI you submitted has disallowed characters.” error CodeIgniter &#124; DavidMichaelThompson</title>
		<link>http://lb.viks.org/2010/05/09/fixed-%e2%80%9cthe-uri-you-submitted-has-disallowed-characters-%e2%80%9d-error-codeigniter-davidmichaelthompson/</link>
		<comments>http://lb.viks.org/2010/05/09/fixed-%e2%80%9cthe-uri-you-submitted-has-disallowed-characters-%e2%80%9d-error-codeigniter-davidmichaelthompson/#comments</comments>
		<pubDate>Sun, 09 May 2010 16:26:44 +0000</pubDate>
		<dc:creator>v</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://lb.viks.org/?p=3320</guid>
		<description><![CDATA[I started up a development project today after upgrading to snow leopard, and none of the codeigniter links worked. they all said “The URI you submitted has disallowed characters.” Why? This hadnt happened before, same project what changed? Snow leopard upgraded my php dev environment to 5.3 from 5.2.6 And a few things have changed [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>I started up a development project today after upgrading to snow leopard, and none of the codeigniter links worked.  they all said “The URI you submitted has disallowed characters.”  Why?  This hadnt happened before, same project what changed?</p>
<p>Snow leopard upgraded my php dev environment to 5.3 from 5.2.6  And a few things have changed since then.  Namely php bug #47229 “preg_quote should escape “-” (minus) as well” was fixed. (technically in 5.2.8)  CodeIgniter checks uri for allowed characters to prevent some bad things.  But the use preg_quote to convert the allowed list of character to something usable in a regular expression.  Now the minus “-”, or I’d call it a dash (but I know there is a longer character for that)  gets escaped in preg_quote with a backslash “\”.  That cause the expression “a-z 0-9? to be converted to “a\-z 0\-9? which will not work in a regex.</p>
<p>Note we removed the preg_quote().  Now in your system/application/config/config.php file  look for line 126 (unless you’ve added a lot to you config will be around there somewhere)</p>
<p>Change the line</p>
<p>$config[&amp;apos;permitted_uri_chars&amp;apos;] = &amp;apos;a-z 0-9~%.:_-&amp;apos;;</p>
<p>to:</p>
<p>$config[&amp;apos;permitted_uri_chars&amp;apos;] = &amp;apos;a-z 0-9~%\.\:_\-&amp;apos;;</p>
<p>we’re now preparing our allowed character string in the config file and skipping preg_quote.  And that’s it.  Now your uri should work</p>
<p>via <a href='http://davidmichaelthompson.com/2009/09/03/fixed-the-uri-you-submitted-has-disallowed-characters-error-codeigniter/'>Fixed: “The URI you submitted has disallowed characters.” error CodeIgniter | DavidMichaelThompson</a>.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://lb.viks.org/2010/05/09/fixed-%e2%80%9cthe-uri-you-submitted-has-disallowed-characters-%e2%80%9d-error-codeigniter-davidmichaelthompson/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No hibernation on Windows 7 when booting from VHD</title>
		<link>http://lb.viks.org/2009/10/23/no-hibernation-on-windows-7-when-booting-from-vhd/</link>
		<comments>http://lb.viks.org/2009/10/23/no-hibernation-on-windows-7-when-booting-from-vhd/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 08:41:36 +0000</pubDate>
		<dc:creator>v</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://lb.viks.org/?p=3301</guid>
		<description><![CDATA[Native VHD boot in this release does not support BitLocker, or hibernation which includes resuming from hibernate. via No hibernation on Windows 7 when booting from VHD.]]></description>
			<content:encoded><![CDATA[<p>Native VHD boot in this release does not support BitLocker, or hibernation which includes resuming from hibernate.</p>
<p>via <a href='http://www.westsoft.eu/blog/archive/2009/09/02/no-hibernation-on-windows-7-when-booting-from-vhd.aspx'>	No hibernation on Windows 7 when booting from VHD</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lb.viks.org/2009/10/23/no-hibernation-on-windows-7-when-booting-from-vhd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows File Junctions, Symbolic Links and Hard Links</title>
		<link>http://lb.viks.org/2009/09/27/windows-file-junctions-symbolic-links-and-hard-links/</link>
		<comments>http://lb.viks.org/2009/09/27/windows-file-junctions-symbolic-links-and-hard-links/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 22:00:44 +0000</pubDate>
		<dc:creator>v</dc:creator>
				<category><![CDATA[Cool Sites]]></category>
		<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://lb.viks.org/?p=3296</guid>
		<description><![CDATA[Well a short cut is basically a file that points to another file. It is an antiquated, pointing system from the Windows 95 days. Shortcuts not only use up space on your hard drive, they also linger around after the item they are pointing to has been deleted and break if the item is renamed. [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Well a short cut is basically a file that points to another file. It is an antiquated, pointing system from the Windows 95 days. Shortcuts not only use up space on your hard drive, they also linger around after the item they are pointing to has been deleted and break if the item is renamed.</p>
<p>A symbolic link is like a short cut, but instead of being saved as a file, they are registered to the file system. This means they do not use hard disk space; all programs recognise and can read where the link is pointing to. A symbolic link can point to any file, folder either locally on the computer or over a network using a SMB path.</p>
<p>A file hard link and the directory junction are a little different. It not only points to the item but duplicates it, but does so without taking up the extra hard disk space required by a copied file. Also if you have a hard link pointing to a file then delete that original file, the hard link will still retain a copy. A limitation of the file hard link though is that the link can only be made on the same file partition as the file.</p>
<p>Finally a junction is a hard link for directories. To me they are the most useful and unlike file hard links, you can create junctions on different partitions to where the original folder is located. Again a junction is stored on the file system, does not take up space and is treated by the operating system and programs as a local folder.</p>
<p>Windows Vista/7 uses the command line program called mklink to create these symbolic links. It has 3 arguments and then requires both a link name and target.
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://lb.viks.org/2009/09/27/windows-file-junctions-symbolic-links-and-hard-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to have a blazing fast jailbroken phone</title>
		<link>http://lb.viks.org/2009/08/19/how-to-have-a-blazing-fast-jailbroken-phone/</link>
		<comments>http://lb.viks.org/2009/08/19/how-to-have-a-blazing-fast-jailbroken-phone/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 08:55:01 +0000</pubDate>
		<dc:creator>v</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://lb.viks.org/2009/08/19/how-to-have-a-blazing-fast-jailbroken-phone/</guid>
		<description><![CDATA[How to have a blazing fast jailbroken phone [From: How to have a blazing fast jailbroken phone]]]></description>
			<content:encoded><![CDATA[<p>How to have a blazing fast jailbroken phone </p>
<p>[From: <a href="http://modmyi.com/forums/general/381201-how-have-blazing-fast-jailbroken-phone.html">How to have a blazing fast jailbroken phone</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://lb.viks.org/2009/08/19/how-to-have-a-blazing-fast-jailbroken-phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keith Combs&#8217; Blahg : Dual Boot from VHD Using Windows 7 and Windows Server 2008 R2</title>
		<link>http://lb.viks.org/2009/08/07/keith-combs-blahg-dual-boot-from-vhd-using-windows-7-and-windows-server-2008-r2/</link>
		<comments>http://lb.viks.org/2009/08/07/keith-combs-blahg-dual-boot-from-vhd-using-windows-7-and-windows-server-2008-r2/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 01:50:55 +0000</pubDate>
		<dc:creator>v</dc:creator>
				<category><![CDATA[Cool Sites]]></category>
		<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://lb.viks.org/2009/08/07/keith-combs-blahg-dual-boot-from-vhd-using-windows-7-and-windows-server-2008-r2/</guid>
		<description><![CDATA[Boot from VHD is a new technique for installing and maintaining operating system environments. Unlike virtual machines, the operating system that is running from a “boot from VHD” environment is using the actual hardware instead of emulated hardware. This means a developer could easily use WPF and the full GPU processing power of a high [...]]]></description>
			<content:encoded><![CDATA[<p>Boot from VHD is a new technique for installing and maintaining operating system environments.  Unlike virtual machines, the operating system that is running from a “boot from VHD” environment is using the actual hardware instead of emulated hardware.  This means a developer could easily use WPF and the full GPU processing power of a high end graphics card.  In another scenario, this technology makes it easy to setup and run Windows Server 2008 R2 with the Hyper-V role, thus supporting 64 bit virtualization workloads.</p>
<p>The Virtual Hard Disk (VHD) is the container for the installed operating system.  Because everything is inside a single file, there are a number of benefits that can be realized for data center server environments, as well as managed desktop environments.  The following article dives into the technical details of implementing two operating systems.  Both are installed in a VHD file and can easily be booted by selecting the preferred environment at power on.  This could easily be scripted and automated. </p>
<p><code>Boot your machine with a blank hard drive using the Windows 7 DVD.<br />
Click next on the language screen if English is appropriate.<br />
SHIFT+F10 to launch a WinPE command console.  Although the commands below are in upper case, the commands are not case sensitive.  I am only using upper case for readability here.<br />
Enter DISKPART to run the utility.<br />
LIST DISK to see the available disks in your system.  I am assuming a single raw disk.<br />
SEL DISK 0<br />
CREATE PARTITION PRIMARY<br />
FORMAT FS=NTFS QUICK<br />
LIST VOL<br />
ASSIGN<br />
LIST VOL<br />
CREATE VDISK FILE=c:\windows7rc.vhd MAXIMUM=200000 TYPE=EXPANDABLE<br />
SELECT VDISK FILE=c:\windows7rc.vhd<br />
ATTACH VDISK<br />
CRE PART PRI<br />
FORMAT FS=NTFS QUICK<br />
ASSIGN LETTER=V:<br />
LIST VOL<br />
LIST VDISK<br />
exit DISPART<br />
exit WinPE command console<br />
Install to the newly created 200GB (fuzzy math) virtual hard disk which looks just like a partition to Windows Setup<br />
Repeat steps 11-18 for the Windows Server 2008 R2 VHD but with the obvious changes for the vdisk filename, size, etc. </code><br />
[From: <a href="http://blogs.technet.com/keithcombs/archive/2009/05/22/dual-boot-from-vhd-using-windows-7-and-windows-server-2008-r2.aspx">Keith Combs' Blahg : Dual Boot from VHD Using Windows 7 and Windows Server 2008 R2</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://lb.viks.org/2009/08/07/keith-combs-blahg-dual-boot-from-vhd-using-windows-7-and-windows-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change 7 or Vista&#8217;s &#8216;System&#8217; partition / move BCD boot manager? &#8211; The NeoSmart Forums</title>
		<link>http://lb.viks.org/2009/08/07/change-7-or-vistas-system-partition-move-bcd-boot-manager-the-neosmart-forums/</link>
		<comments>http://lb.viks.org/2009/08/07/change-7-or-vistas-system-partition-move-bcd-boot-manager-the-neosmart-forums/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 01:48:15 +0000</pubDate>
		<dc:creator>v</dc:creator>
				<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://lb.viks.org/?p=3267</guid>
		<description><![CDATA[bcdedit /store S:\Boot\BCD /set {9dea862c-5cdd-4e70-acc1-f32b344d4795} device partition=S: bcdedit /store S:\Boot\BCD /set {b2721d73-1db4-4c62-bf78-c548a880142d} device partition=S: bcdedit /store S:\Boot\BCD /set {466f5a88-0af2-4f76-9038-095b170dc21c} device partition=S: bcdedit /store S:\Boot\BCD /enum all /v VistaDVD:\BOOT\BOOTSECT /NT60 S: /FORCE DISKPART select disk 0 select partition 4 active First the system store is exported to S:, then the references in that store file to [...]]]></description>
			<content:encoded><![CDATA[<p><code>bcdedit /store S:\Boot\BCD /set {9dea862c-5cdd-4e70-acc1-f32b344d4795} device partition=S:<br />
bcdedit /store S:\Boot\BCD /set {b2721d73-1db4-4c62-bf78-c548a880142d} device partition=S:<br />
bcdedit /store S:\Boot\BCD /set {466f5a88-0af2-4f76-9038-095b170dc21c} device partition=S:<br />
bcdedit /store S:\Boot\BCD /enum all /v</p>
<p>VistaDVD:\BOOT\BOOTSECT /NT60 S: /FORCE</p>
<p>DISKPART<br />
  select disk 0<br />
  select partition 4<br />
  active</code><br />
First the system store is exported to S:,<br />
then the references in that store file to partition D: are replaced by references to S:,<br />
then the contents are printed out just for verification, just in case<br />
then the boot sector was copied from DVD to S:<br />
and finally DISKPART is used to mark the S: as active.</p>
<p>[From: <a href="http://neosmart.net/forums/showthread.php?t=2568">Change Vista's 'System' partition / move BCD boot manager? - The NeoSmart Forums</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://lb.viks.org/2009/08/07/change-7-or-vistas-system-partition-move-bcd-boot-manager-the-neosmart-forums/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
