Archive for the Category 'Microsoft'

Faster Internet Browsing in Windows

Friday, October 23rd, 2009

Browser Speedometer GraphicsOn the Windows platform there is a memory wall that many people are experiencing. Namely, that Windows does not utilize all of your physical memory once you have 4GB or more of RAM, unless you are using Windows XP 64-bit or Vista 64. Instead of letting that extra memory go to waste, I thought why not utilize it in some other way. A long time ago we had the opposite problem with computers, where processors were slow and we tried to speed things up in any way possible. Today, we have a lot of processing power and abundant memory and now it is the software that needs to catch up to the hardware. Given this, I thought why not use a some of that extra memory and load it as a RAM disk. Then if you think about it, the most often used application in today’s computing is the web browser, which uses your hard drive to cache content. This sounds like a perfect opportunity to use a RAM disk and speed up your browser’s disk caching. IE and Firefox both make it easy to modify your disk cache directory too, so the biggest problem seems to be trying to setup the RAM disk in Windows. There are multiple commercial solutions, but only one free solution that I could find that works well.

First thing to do is setup the RAM disk. If you do not want to purchase a commercial RAM disk driver, you can implement this free RAM disk driver for Windows Vista, XP, 2000 and 2003 Server. You will want to have a RAM disk that is slightly larger than both IE and Firefox disk cache sizes put together.

Firefox:

  1. Type about:config in Firefox’s address bar and enter
  2. Right-click and choose New – Integer
  3. Input the following in the dialog box: browser.cache.memory.capacity
  4. Input a value in the next dialog box, such as 24000, which means 24MB
  5. Then in the Filter: bar enter browser.cache.disk.parent_directory
  6. If this setting does not appear, then you will have to create a New – String with the above name
  7. The value should be a drive path to your RAM disk, such as M:\Firefox
  8. Once you have both settings, close out of Firefox and start it back up again.

IE:

  1. In Internet Explorer, click Tools – Internet Options
  2. Locate Temporary Internet Files and click the Settings… button
  3. Change the Amount of disk space to use: to the appropriate size you want
  4. Click the Move Folder… button to select a folder on your RAM Disk. If you used the free RAM Disk, your RAM disk should have a TEMP folder at the root, just choose this folder.
  5. Click OK and close out of IE

Note:

Depending on your computer, your experience may vary. On my Windows laptop and desktop, the speed with which Firefox 3.5 launches is vastly improved. I do not use IE much, so it is hard for me to evaluate the differences there.

Apache 2.2 on Windows Session Cache Error

Tuesday, October 13th, 2009

Apache IconThere appears to be a bug with Apache 2.2.13 which I ran into on Windows Server. See the following bug entry: Bug 23403. Opening the error.log for Apache showed the following warning:

warn Init: Session Cache is not configured (hint: SSLSessionCache)

Adding the following lines to the httpd.conf fixed the problem:

SSLSessionCache "shmcb:c:/Apache/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300

Note: your Apache installation directory is probably different, so you will want to modify the above file path.

iTunes Install on Windows 2003

Monday, September 28th, 2009

iTunes LogoFor some reason, Apple has stopped supporting iTunes on Windows 2003 and changed their MSI installer to fail. However if you still prefer to run iTunes on your Windows 2003 Server, you can still modify the iTunes installer by using installer tools such as Microsoft Orca (see Microsoft’s Tutorial on how to modify MSI files) or InstEd. Using InstEd, I was able to install iTunes 9 on my Windows 2003 machine.

  1. First download the iTunes installer from http://www.apple.com/itunes/download/.
  2. Next use WinZip or WinRar to extract the contents of iTunesSetup.exe to a folder.
  3. Now comes the difficult part, you will need to check each of the .MSI files with InstEd or Orca. Open each file one at a time and look for the LaunchCondition settings. You will need to remove this parameter and its value: ((VersionNT=501 And ServicePackLevel>=2) OR VersionNT>501). Once you do that just Save and Exit.
  4. With the modified MSI files, now start installing them one at at time. Leave the iTunes.msi for last though. The SetupAdmin.exe can be ignored. You do not need to run that one.

If this was a perfect world, you would now be able to launch iTunes 9 on your machine, but since it is far from perfect, you might be staring at this error message:

The iPod Service service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.

To complete the install, leave the error up on the screen and go launch Services.msc, find the iPod Service and open its properties. You will need to add an account with admin rights and then save the changes. Now click Retry on the error and see if it works.

Additional Resources:

Windows Doomed?

Thursday, October 30th, 2008

OS WarsThe Internet of late has been very chatty about how Microsoft screwed up and released a Windows version that no one really wanted. Not since WindowsME, has Microsoft had such an unimportant Windows release as Windows Vista. Faithful and ever persistent Apple followers have chimed in with the prophecy that Apple will once again reign supreme and take over the world with Mac OS X. As a Mac user myself, yeah I too can dream of the coming of OS X to all things, but that simply is not going to happen. The Operating System is irrelevant at this point. Yes, I said it. As much as I love Apple for their cool gradients and perfectionist design, the truth is that the operating system war no longer matters. It is the network that matters now. People don’t care what operating system they run as much as, what they want to access, works. Today for technical people like myself, this means Firefox on Windows XP, Safari on Mac OS X and my iPhone, and whatever browser works on anything else. If it is IE, so be it!

In reality there are two markets out there. The consumer market which Apple has already won and which Linux is close to figuring out and the business market where Microsoft rules with iron fists. Apple’s OS X strategy on the consumer side has worked great. Today I can message, play, and communicate on my iPhone better than I ever could on my old Windows98 machine. Most people do not even know what the operating system is on the iPhone, they just know it works. In this respect, OS X has become a consumer operating system. Consumers like choices too, and so today you can buy an Apple widget that works and live with it or you can go with Windows, Linux, and dozens of other operating systems that are out there. Apple’s consumer price is a tad higher, but as the iPod and iPhone have shown, people don’t care as long as it works. As long as Apple keeps OS X running smoothly on all these $300 devices, OS X will be successful, so successful that no one will know that is what they are actually using. The irony is that Microsoft wanted this for Windows and it never really happened. Why? Because Microsoft is obsessed with recognition that they have never figured out that you do not have to blast everything you make with “Microsoft” and version names that make no sense to consumers. What exactly does IE Version: 6.0.2900.2180.xpsp_sp2_qfe.080814-1242 mean? I am sure someone could tell you, but to the consumer it does not matter at all. Apple’s marketing is simple, one logo and one name.

Microsoft is a company that is going in multiple directions, and it is causing them to remain stagnant and sink in quicksand. The relevancy of Vista has been a wake up call, that perhaps Office and Windows no longer matter outside of the business markets that they control. Do not get me wrong, Microsoft makes very impressive products for business. Windows Server 2008 being more impressive than Windows Server 2003 which is my personal favorite version of Windows, but outside of business Microsoft has many ideas, many strategies, but one senses the ambition is gone. Google is the super power of the Internet and it is pushing hard into remaking the world in its image. Google has made products that actually matter to you and me. Google Earth, Maps, Reader, and so on have made an impact on how we live and use this thing called the Internet. Google’s strategy is to make the network work for everyone and it is succeeding in building toolsets that are cutting into Microsoft’s expensive products. This is why the operating system war no longer matters. It is the network that Google is building that is changing the world. The business market is watching this revolution and they are very interested, as they should be. The future will definitely have business going less Microsoft, just how much business abandons Redmond, depends on just how relevant Microsoft products are. Right now, Microsoft still has the podium on which to speak volumes on where they want to take us, but for how much longer can they keep control may be out of their hands entirely. Vista is boring compared to Ubuntu, OS X, RedHat, and others.

On the consumer side, Microsoft has pushed hard with little success to show for it. The XBox 360 remains uninspiring and in third place behind Nintendo Wii and the PS3. Windows Live Search is not even a real contender in search. And Microsoft wonders why Vista (an operating system that can cost upwards of $400 on cheap $300 hardware) is not enticing to consumers? The rise of the netbook laptop, something which neither Intel nor Microsoft saw coming, is now the driving force in the consumer market. Microsoft had to hack Windows XP to run on these $300 laptops, this alone speaks volumes of how stagnant Microsoft has been. If shareholders have not thought of this, they definitely should consider what would happen if business customers start buying netbooks instead of more expensive hardware and switch to Google Apps for their software needs! Microsoft’s Cloud idea has to materialize sooner than later. In essence Windows is doomed, or at least what we think of Windows is. Microsoft has to build the network in ways that matter to everyone. They do not have to follow the same path as Google, but they definitely need to change the way we live. Microsoft’s best strategy is to kill Windows before its competitors make it irrelevant. The clock is ticking away.

Downloads Blocked By Security Zone Policy

Wednesday, July 09th, 2008

If you installed Firefox 3 and are using Windows, you might run into a problem where Firefox does not allow you to download exe files from the Internet due to a Windows setting. You will get the message: This download has been blocked by your Security Zone Policy and your download file will never download. To fix this problem you must modify Internet Explorer settings!

IE7 Security Settings
  1. Open Internet Explorer.
  2. Choose Tools menu – Internet Options.
  3. Click the Security tab and click on the Internet icon.
  4. Click the Default Level button if it is clickable
  5. Then click Custom Level… and navigate to Miscellaneous.
  6. Under this section find the option: Launching applications and unsafe files.
  7. Change it from Disable to Prompt (Recommended).
  8. Click OK, Apply, then OK.
  9. Startup Firefox again and test it to see if it works now.

IE 8 Browsers

If you are using IE 8, you should probably look at modifying these settings as well:

  1. Click on ToolsInternet Options.
  2. Click on the Security tab.
  3. Click on the Sites button and verify that the website URL is in the list of trusted sites.
  4. Back on the Security tab, click Custom Level…
  5. Locate the Automatic prompting for file downloads sub-category immediately under the Downloads category. Set the radial button to Enable.
  6. Locate the File download sub-category immediately under the Downloads category and set the radial button to Enable.
  7. Click OK to save the changes and Yes when prompted to confirm the changes.
  8. Exit completely out of all IE windows and then try it again
Close
Powered by ShareThis