windows 8

[Solved] App Store : Your PC is not connected to Internet

November 4, 2013 Visual Studio, Windows ,

Sometimes the Store application on Windows 8.x gives connectivity error.  If you are reading this article, it means you have tried clicking on ‘try again’ and you were unsuccessful in connecting to the Internet.  Rebooting the OS also does not always resolve this issue.


Check your internet connectivity on the Desktop mode.  If you are connected to the Internet on Desktop mode, then first check the date and time set on your machine.  App Store requires your date and time to be set correctly.  If the date and time are not set correctly, you need to follow these steps

  1. Press Windows key + C on your keyboard to show the Charms bar
  2. Type “Date and Time” in the Charms bar
  3. Click Change date and time button
  4. Click Apply and OK to save date and time

If date and time are set correctly, then you need to troubleshoot the network connectivity

  1. Press Windows key + C on your keyboard to show the Charms bar
  2. Type Troubleshooting and click Troubleshooting under Settings
  3. Type Network Troubleshooter in the search option
  4. Click on Network troubleshooter to run the troubleshooter

If even after this the App Store is not able to connect to the Internet, you can follow these instructions

  1. Press Windows key + C on your keyboard to show the Charms bar
  2. Type WSReset.exe and press enter
  3. This clears the cache and opens the Store application again
  4. Reboot your machine to have a final clean up

This should resolve the connectivity issue.  If it still does not resolve, download the below utility and navigate through the wizard

    This wizard may ask you to reboot your machine and fix the issue.

    WCF NetTcp Port Sharing on Windows 8+

    October 21, 2013 CSharp, Visual Studio, WCF , ,

    In Windows 8, when hosting WCF in a managed application running under a normal user privileges and NetTcp binding, you might get an exception

    Verify that the current user is granted access in the appropriate allowAccounts section of SMSvcHost.exe.config

    This is due to enhanced security in Windows 7+ operating systems. 

    There are 3 ways to get away with this exception

    Run as Administrator

    Please note that this problem occurs only when you are running a WCF service using a user account.  If you run the service using a Local System, Network Service, Local Service or Administrator, there will be no issues at all.

    When running the application as an Administrator, NetTcp Port Sharing service assumes that you are authenticated and can run the service and share data on the TCP layer.

    However, if you do not have admin rights you can take the next approach

    Downgrade your NET.TCP Port Sharing service

    Now this problem occurs for .NET 4.0 framework that upgraded the NET.TCP Port Sharing.  So if you have installed .NET 4.0, you will face this issue.

    The easiest way is to change some registry configuration to use v3.0

    Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NetTcpPortSharing

    New Value:
    C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\SMSvcHost.exe

    When you try to compare the configuration files SMSvcHost.exe.config in v3.0 and v4.0.30319, you will not find any changes that would stop port sharing so I believe, it is the way SMSvcHost works that has made the changes

    Grant port sharing rights to yourself

    This process is a lengthy process so if you follow through these steps accurately you can get away with this error

    • Visit and download the  PsTool.  We are interested in PsGetSid that gives you unique security identifier for a user or a group.  So if you are targeting this single user, you should be interested in getting SID of a user; otherwise, you can request for a group having all your target audience.  Run PsGetSid <username> to your SID
    • Open the SMSvcHost.exe.config (of .NET 4.0 version, usually in C:\Windows\Microsoft.NET\Framework\v4.0.30319 folder)
    • You will require to use Admin rights to open this config file.  The best way is to open Command Prompt (Run As Administrator) and then type

      notepad C:\Windows\Microsoft.NET\Framework\v4.0.30319\SMSvcHost.exe.config

    • The configuration file has a section called system.serviceModel.activation and a sub-section net.tcp.  This section has security identifiers of LocalSystem, LocalService, NetworkService and Administrators.  We need to add your SID in this configuration file
    • Without changing anything else, add following line in the configuration file (just next to the LocalSystem account

    <add securityidentifier="your-SID-that-starts-with-S">

    Restart the Net.Tcp Port Sharing service and you should be good to go.

    Must-have Tools on Windows – Part 2 of 2

    March 7, 2012 CSharp, Open Source, Silverlight, Windows Phone , , , ,

    Every technologist has his favourite list of developer tools, applications and OS which they believe are indispensible and without them they would not be able to develop anything.  With time and changing focus, this list keeps changing.  Here’s my list of tools that I think you as a developer should have on your laptop.

    Most of them are Open-Source or Freeware as I promote using Open-Source (and donating them) than buying products at premium price.  So it is possible that many excellent products have not made it to my list!

    Must have Tools on Windows – Part 1 of 2 – Visit here


    Source Control and Versioning (contd)


    I would like to continue with the last section on Source Control of Part 1 of this article. 

    Until the announcement of TFS “Express”, I was preferred using SubVersion and Mercurial but with I think TFS Express will be a game changer.  It would be an ideal source control system for teams smaller in size.  But until Microsoft launches it officially, I would continue with Subversion and Mercurial

    Windows Shell TortoiseSVN for Subversion and TortoiseHG for Mercurial

    Visual Studio PluginAnkhSVN for Subversion and VisualHG for Mercurial

    Defect Management CollabNet allows collaboration of SVN repository with defect management tools such as JIRA, HP Quality Centre, and many more.  You can use it with Visual Studio or Eclipse as a plugin


    Microsoft .NET development tools (contd)


    SharpDevelop – If you don’t want to use Visual Studio Express editions then you can give a try to SharpDevelop.

    CoffeeScript Compiler – If you are building Web Applications and are not familiar/used to writing JavaScript (or jQuery), you should give a try to CoffeeScript.  You can create complex JavaScript files easily using CoffeeScript and its compiler.

    Storm – Other than SoapUI, Storm is a perfect tool to test cross-platform Web Services.

    CruiseControl – There are several continuous integration software available in the market, but truly CruiseControl is the leader due to some obvious reasons (read: free, no-cost, no-royalty).  You can download the CCTray to get real-time build status of your projects.

    SilverlightSpy – I have tried the Free-Edition and I must admit – If you are a Silverlight or Windows Phone developer (or designer), you must download and use this tool.

    Tombstoning for Windows Phone – Tombstoning is a an undocumented yet a required feature of every Windows Phone application.  This library is the easiest way to manage tombstoning.

    Nuget – If you are a .NET developer, having Nuget and Nuget Package Explorer are an absolute necessary tools.  You can explore various open-source frameworks/tools/packages available in the market

    CInject – CInject is my contribution to Open-Source fraternity.  CInject allows code injection into any managed assembly without disassembling and recompiling it. It eases the inevitable task of injecting any code in single or multiple methods in one or many assemblies to intercept code for almost any purpose.  Read more here

    StyleCop – StyleCop analyses C# source code to enforce a set of style and consistency rules. It can be run from inside of Visual Studio or integrated into an MSBuild project. StyleCop has also been integrated into many third-party development tools.


    Database and Tools


    MySQL – Almost all my blogging websites use MySQL as a backend.  It is light, fast, free and is most commonly available with all Website hosting packages.

    Microsoft SQL 2008 Express and Compact – The express edition of SQL 2008 is really good unless you need over 4GB of data storage

    Sterling – NoSQL database for Silverlight and Windows Phone platforms

    Neo4j Community Edition – A graph-based, high performing, NoSQL database that is now widely accepted in several organizations

    MongoDB – A document-storage based, scalable, high-performance NoSQL database

    HeidiSQL – HeidiSQL is a lightweight, Windows based interface for managing MySQL and Microsoft SQL databases. It enables you to browse and edit data, create and edit tables, views, procedures, triggers and scheduled events. Also, you can export structure and data either to SQL file, clipboard or to other servers.


    Other Windows Tools


    Audacity – A perfect sound/video editor for your webcasts and recordings.  It can convert your audio files into various formats.

    HyperCam – Screen activity and voice recorder that is an ideal for recording your webcasts.

    FlashGet – An ad-free and fast download manager, FlashGet supports HTTP, HTTPS, FTP downloads

    BullzipPDF – A PDF printer is something every person (not just a developer) would dream of.  Bullzip is one of the best PDF printers that allows you to print, merge, apply watermarks, encrypt with password and many more features.

    HandBrake – HandBrake is multiplatform, multithreaded video transcoder

    PortableApps – Carry your favourite applications on a portable or a cloud drive and make it work on any PC, any make.

    FreeMind – FreeMind is a premier free mind-mapping software written in Java. The recent development has hopefully turned it into high productivity tool.

    myTracker – myTracker is a time-tracking application.  The inevitable, effort-driven process of tracking time and analyzing is eased by this small-memory-footprint application.  The application generates reports in Microsoft Excel (.xls) format and provides pie charts and bar graphs depicting time usage, utilization.

    Eraser – Eraser is an advanced security tool for Windows which allows you to completely remove sensitive data from your hard drive by overwriting it several times with carefully selected patterns.

    PureText – Have you ever copied some text from a web page or a document and then wanted to paste it as simple text into another application without getting all the formatting from the original source? PureText makes this simple by adding a new Windows hot-key (default is WINDOWS+V) that allows you to paste text to any application without formatting.

    EaseUS Partition Manager Home Edition – Free Partition Magic alternative, free hard drive partition manager and disk management utility for Windows 7 SP1 and dual boot Windows 7 and Windows 8 users.

    CrucibleWDS is a free Windows imaging / deployment / cloning program. It supports cloning Windows XP, Vista, and 7. A free Ghost alternative. Free Ghost software. Supports unicast and multicast. Can be used with 1 computer or 1000’s. Uses a simple web interface to deploy clients, clients can also be imaged directly from a boot menu by selecting an image from a pxe menu.


    So in case you believe there is any Free / Open-Source tool that has been missed in my list, post it in the comments.  I will be happy to include it in my list!

    Must-have Tools on Windows – Part 1 of 2

    February 19, 2012 CSharp, Open Source, Silverlight, Visual Studio, Windows Phone , ,

    Every technologist has his favourite list of developer tools, applications and OS which they believe are indispensible and without them they would not be able to develop anything.  With time and changing focus, this list keeps changing.  Here’s my list of tools that I think you as a developer should have on your laptop.

    Most of them are Open-Source or Freeware as I promote using Open-Source (and donating them) than buying products at premium price.  So it is possible that many excellent products have not made it to my list!

    Windows Tools

    Fences – helps you organize your desktop and can hide your icons when they are not in use.  You can resize your fences (read areas) to keep your desktop clean and organized

    Dell Dock – bring greater organization, personalization and productivity to Dell customers around the globe.  You can use it not just on Dell laptops/desktops, but on any make.

    7-Zip – An Open-Source file archiver with high compression ratio.  There is a commercial license for organizations but you don’t need to pay anything for that too.

    Paint.NET – free image and photo editing software for computers that run Windows. This program is a very good alternative to Photoshop for developers (if not for professionals).

    GIMP – Photo retouching, image composition and image authoring in multiple formats is made very easy using GIMP.

    SysInternals – a service that enables you to execute Sysinternals tools directly from the Web without hunting for and manually downloading them. The one I used more is Process Explorer to get insight on internals of an executable.

    Windows Live Writer – This is by-far the best and free tool for Blogging on various platforms with a great plugin support from community.

    WinDirStat – Disk usage statistics viewer and clean up tool for Windows to analyse and free-up space.

    CCleaner – Registry cleaner and makes your computer faster. There is one free version and paid versions start from £19

    VirtualBox – If you have read my post on running Android OS on Windows, you would be aware of what VirtualBox allows you to do. It is one of the best VHD host and manager allowing you to create image of almost any OS and run it on Windows


    Online Meetings, Webinars and Collaboration


    AnyMeeting – Hold large or small meetings and web conferences.  This is one of my favourites allowing me schedule and manage my webinars.  You can pay $17pm if you want an Ad-free version, else it’s free.

    TeamViewer – A very handy tool for Remote Access and Support over Internet.  You can hold conferences for up to 25 participants, or conduct training sessions

    Skype – One of the most used video conferencing tools across globe does not need any introduction.

    Skydrive – 25GB of online space!  Only Microsoft could give you that for free. You can sign up on Windows Live and get access to an integrated eco-system of Skydrive, Live Messenger, Hotmail, Calendar, Contacts, XBOX games, Windows Phone and now Windows 8 OS.

    DropBox – free service that lets you bring your photos, docs, and videos anywhere and share them easily on platforms such as Desktop, Windows Phone, Android and iPhone.  For the first year DropBox is free, and subsequent years there is a minimal fee.

    ZoomIt – screen zoom and annotation tool for technical presentations runs unobtrusively in the tray and activates with customizable hotkeys to zoom in on an area of the screen.  I have used it in many presentations on Windows Phone, Silverlight, Performance Engineering and have found it really handy!


    Microsoft .NET developer tools


    Microsoft Visual Studio 2010 Express Editions – Unless you have MSDN license or a authorised copy of Visual Studio 2010, these express editions are really MUST-TO-HAVE products.

    Notepad++ – A great text-editor with Explorer context-menu and a IDE-like experience.  If you are using TextPad or Notepad, I would highly recommend downloading this

    FileZilla – A fast and reliable cross-platform FTP, FTPS and SFTP client with lots of useful features and graphical user interface

    WebMatrix – A free web development tool from Microsoft that includes platforms such as WordPress, Razor (ASP.NET MVC3) and other open-source blogging, wiki tools.

    LINQPad – interactively query databases in a modern query language LINQ using this tool instead of using SQL Management Studio 

    JustDecompile – new, free developer productivity tool for easy .NET assembly browsing and decompiling and a complete replacement of .NET Reflector (since its no more free).  You can also try ILSpy

    SublimeText – If you are a Web-developer you must try the evaluation version of this tool.  It is really very intuitive, prose and has a slick user interface with extraordinary features.

    Fiddler – Easy, clean and powerful web-traffic debugging proxy for HTTP

    SoapUI – This tool defines a perfect way to do functional testing using graphical interface to create automated functional, load or regression tests.  If you want to record user tests and generate some test code then you should try WatiN

    FireBug – Most powerful in-browser IDE on Mozilla Firefox allowing you to browse through HTML, CSS and Javascript.  If you want to check your web pages performance, you might want to try out YSlow by Yahoo

    NCrunch – Automated continuous testing within Visual Studio.NET that runs in background in your IDE and get information such as Code Coverage and Performance metrics.

    KDiff3 – is an alternative to BeyondCompare to compare files, directories and automate merging of code.

    HelpNDoc – Is a really great tool to generate documentation in PDF, Web-based, CHM, Word and iPhone for personal use

    LogParser – Log parser is a powerful, versatile tool that provides universal query access to text-based data such as log files, XML files and CSV files, as well as key data sources on the Windows® operating system such as the Event Log, the Registry, the file system, and Active Directory

    Source Control and Versioning

    I prefer using Subversion and Mercurial for source control and versioning. So here’s the list

    Windows Shell – TortoiseSVN for Subversion and TortoiseHG for Mercurial

    Visual Studio Plugin – AnkhSVN for Subversion and VisualHG for Mercurial


    That’s just half of the list, so stay tuned for the next part where tools for Silverlight, Windows Phone, XAML, Web-sharing would be the focus!

    Step-by-step guide to installing WordPress on Windows 8

    December 22, 2011 Wordpress , ,

    Now let’s say you want to go online with your own blog.  So you can just go about purchasing a domain name and install WordPress.  Sounds great!  But if you are not sure whether you will be able to write blogs on a regular basis, then I suggest you first install WordPress on your local machine and practice writing blogs for 2-3 months before buying a domain.

    Well there are other reasons why you would want to install WordPress locally such as:

    1. You want to try out new plugins, or themes before pushing them on your actual website/blog.
    2. Or you want to do some development on WordPress to customize your blog
    3. You are geek and want to understand how WordPress works
    4. You want to host your blog / website on your server (with static IP) and point the domain name to it
    5. As said earlier, you want to check whether you can write enough on your blog

    So let’s install WordPress on your OS.  Now you could download PHP, MySQL and WordPress individually from their websites or you can choose to use Microsoft Web Platform Installer and let it do the downloading and installing stuff for you.

    Download the Microsoft Web Platform Installer from here and once you have done it, you can follow these steps

    Step One: Search and select WordPress in Microsoft Web Platform Installer

    Search and select WordPress and WebMatrix in the Microsoft Web Platform Installer and once done, click on Install.


    Step Two: Select it for installation


    Step Three: Select MySQL to be installed on your machine


    Step Four:  Setting up root password for MySQL database

    Setting up password for user ‘root’ of MySql database.  Keep this password safe, you might need it.  Let’s say you entered XYZ.

    Step Five: Completing the Wizard, setting up WordPress

    Database Admin: root
    Database Admin Password: XYZ
    Database User Name: wordpressuser
    Database Password: Your-Password

    Database Server: localhost
    Database Name: wordpress

    Step Six: Accessing your website

    You can install WebMatrix from Microsoft Platform Installer to be able to view and manage WordPress with more ease.


    You can visit the website on http://localhost:22059 as visible in WebMatrix to view your WordPress site and configure it.

    Step Seven: Configuring your WordPress site


    To install and test plugins/themes, or view WordPress code you can browse the folder in My Web Sites

    That’s it.  WordPress is all yours on your own machine. You have latest versions of WordPress, MySQL and PHP installed on your machine by following 7-simple steps!

    Windows 8 on laptop in-depth analysis

    September 18, 2011 Visual Studio, Windows ,

    Having used Windows 8 on one of my laptops for last couple of days,  this article would be toned as an essay of what’s there and what’s not rather than just a review.  So it would be lengthy and you would require patience to go through this at your own pace.   The entire essay is divided in topics so you can skip those that do not interest you!

    Installation Process

    Estimated time: 25-30 minutes
    Desktop Configuration: 1.73 Ghz dual-core, 32-bit processor, 1 GB RAM, 160 GB hard disk

    The configuration of this laptop is not any better than the new tablets available in the market except the huge hard disk it has.  So my assumption is that the experience of Windows 8 on this laptop would be fairly same as that on any other tablet.

    Now you can wait until the next year for the fresh & complete build of Windows 8, or you can try the evaluation copy from the website.  You will be required to download .iso file from the website.  If your machine ix x86 processor (like mine), the .iso file is smaller in size than that for 64-bit processors.  But yes, you don’t get to preview VS2011, Blend 5, and new Windows SDK if you are installing it on x86 processor.

    Question?  Does this mean that to develop applications Microsoft is promoting usage of 64-bit processors?  If not, why can’t developers download these tools on Windows 8- 32 bit processors?

    So yes, download the .iso file and extract it either in a folder (using 7zip), or mount it on a drive, or search for a VHD online,  to install it.  Click on the setup.exe and follow the instructions.    It will take you around 25 minutes to install Windows 8

    Warning: Setup process will not ask you for the drive on which Windows 8 will be installed so if you are installing on your laptop, you might end up losing your previous OS.

    Things to worry about:

    • Since upgrade is not available, pre-installed software & your personal data stored in Windows 7 folders are not available after installation of Windows 8.  So you need to re-install all the programs again!
    • The OS occupies ~4GB of space which means even if you buy 16GB tablet, you will be spared with 12 GB of space for yourself and applications.

    User Interface

    Windows 8 user interface is divided into 2 halves – the new Metro style interface, and traditional Windows 7 interface.

    Metro Style UI

    The Metro style UI is the first to be seen once Windows 8 launches.   Ignoring this new look (inspired by Windows Phone 7) is not an option so you will have to take sometime to learn and understand this. But, once you have understood and got acquainted with this, you will really like it! Is this Microsoft’s new strategy to get more and more people acquainted with Metro UI and motivate people to buy/use Windows Phone 7?

    You can see static tiles till you do not customize it, or start using Socialize, [email protected] and other applications.  The applications built on Metro style have excellent speed, responsive and rich UI.

    Windows 7 look

    The Windows 7 look remains the same and you can install all your applications on it.  I installed VLC, Adobe Reader X, Flash support to test a few.  Oh wait!

    “Where are all my programs?”, the first question that came to my mind after seeing this!  I was worried until I found out the way.  When you press the Start button, you are taken to Metro UI; but when you click on Start you can see the Start menu.  So click on Start menu, then Search, then Apps and then you can find them!  So a person like me who uses keyboard more will not be able to navigate and open programs will find himself handicapped.

    Things to worry about:

    • People like me, who use keyboard more than mouse, will find it difficult to open their Windows 7 (soon to be legacy) apps because the Start menu has changed

    Changing settings

    To change settings, you have the same old Control Panel wrapped up in new clothes (Windows Phone 7 style).  To open Control Panel,  you have to navigate to Metro UI and click on Control Panel tile.  You can setup your application notifications, wireless networks, social networking apps (Socialize, [email protected], and RSS feeds), shortcuts, and a lot more.

    Fine, these are tablet settings.. What about advanced settings?  Oh yes, remember I said there are 2 halves? So click on My Computer. Wait a second, there is no “My Computer”!  So, press Ctrl+E to open My Computer and then click on the Control Panel in the ribbon.

    The Ribbon you see on the top of Windows Explorer is really amazing.  It eases a lot of tasks such as Cut, Copy, Paste, View, Sorting, Grouping, and Refresh.

    Flash and Silverlight Support – again 2 halves!

    I decided to install Flash & Silverlight to be able to view some rich content in Metro UI.  So I downloaded the setup and it installed very quickly.  I went directly to Metro screen to launch new Internet Explorer and visit 2 websites Indiatimes and Windows Phone 7 website. The new Internet Explorer has a wonderful UI, allows full screen by default, is faster than all other versions of IE, may be supporting HTML5, and supports tabs (switch between tabs by pressing Ctrl+Z).  However, I could not view Flash and Silverlight content as they are not supported.

    I can understand that Adobe has not yet shipped Metro compatible Flash; but why Silverlight?  Metro UI and apps are built on XAML, and so are Silverlight Apps.  So why does Silverlight plugin not work for Metro-based browser?  This same problem exists on Windows Phone 7 platform too!

    Things to worry about:

    • No Flash, and Silverlight support on Metro UI

    Task Manager

    Windows 8 has made Task Manager information more digestible and structured.  The graphs are more intuitive for novice user.  It has added many new tabs like App History, Startup, Users, Details, Services.  So you don’t need to open ‘msconfig’ any more.  You can now view programs that each user is running and their contribution to CPU usage, Memory usage and Network bandwidth.

    Performance, Compatibility, Multitasking

    Not too fast, not slow either!

    It boots fast and takes just over 12 seconds to start, 14 seconds to shutdown which is really amazing!  None of the previous Microsoft Operating Systems have started so quickly (except MS-DOS).  But once you are inside, the speed isn’t exceptional which I think is a concern.  An Android tablet is faster with similar configuration on ARM processor.   I think this is probably due to full support of Windows 7 OS.

    The best things is that you can install all Windows 7 applications on this OS. So if this OS ships on tablet, you have the choice of either installing heavy Windows 7 apps that cost lot of disk space, or saving your personal data.

    Multitasking is as beautiful as it was on Windows 7.  You can multitask between Metro and Windows 7 apps which is really good feature; but yes, once you move to Metro UI Start-Tab does not work. This was annoying!  There are lot of great features, but then there is something small missing in each of them that spoils the fun!

    Things to worry about:

    • Slower compared to Android and iOS on equivalent processor

    Application Development for Developers

    The Windows 8 App Store has been launched, but my understanding is that the App Store will for Metro UI which Microsoft is promoting more XAML, and Silverlight development.  Will this SDK be different from Windows Phone 7 SDK?  If yes, it is really sad that there is no roadmap of one-set of API to support multiple platforms like Android and iOS do.  So developers of Windows Phone 7 (like me), will have to re-engineer existing WP7 applications for Windows 8.

    Things to worry about:

    • Single language (C#, XAML, SL) but multiple SDKs for different platform rather than one SDK supporting multiple platform

    Final words

    Windows 8 looks promising initially.  Considering that Developer Preview has seen over 500,000 downloads in just few days, it seems people are interested in seeing what Microsoft is planning with their next OS.  May be with feedback comments from developers Microsoft will be able to pitch it correctly the next year.  My recommendations for Windows 8 to be the next-gen OS would be:

    • Bring back the old Start Menu with Programs Menu, Search, Recent documents
    • Customize the tablet versions to support only Metro UI, and laptop version to support both versions of applications
    • Design one SDK to support multiple platforms and let developers take care of development challenges like resolutions, etc.
    • Inbuilt (though minimal) Office support is MUST considering that even Windows Phone has it.
    • Provide Silverlight support for Metro-based IE and not just HTML5 support
    • Launch developer tools for 32-bit processor based laptops

    Thanks for being patient and reading through!

    Installing Android on Windows

    December 11, 2010 Android, Non-Microsoft ,

    Now that’s a deadly combination specially if you are trying this out at half past one at midnight (just like I did).  Running two Operating Systems on a single machine is not a new concept. The first time I tried it was with DOS 6.2 and Linux, sometime in the 90’s.  Boot up the system and a shabby menu (or OS-launch pad) that launches (courtesy autoexec.bat file) and allows you to select an Operating System you would want to boot your system. Well, that is now an fogyish way that no one uses.

    Later, there came these bootable OS DVDs that are used in many Linux-OSes that have alienated the OS launch-pad and have made things much easier, faster and without occupying much of disk space (at the cost of personalization).  So one OS at a time ruled the 90’s era.  Now, there are Virtual Hard Disks that enable you experience an Operating System even when you have already an Operating System in execution.  They consume same RAM, disk space and other h/w resources but now in a shared mode.  Now this is different from connecting to a machine remotely, so let’s not confuse ourselves with it.

    So with this concept in mind, let’s get started to execute an Android on a machine that run Windows 8 Developer Preview.  Regardless of the version of Windows 8 & the  platform (x86 or 64-bit), the method to experience Android remains the same.

    First the ingredients (the pre-requisities):

    • A Virtual Machine Software – you could choose any that is free.
    • A Virtual Image (ISO) of Android OS

    An easier way first!

    The easier way dictates using an already made Virtual Image and configure the VM for that Image (ISO).   Google has been kind enough to provide us a ISO file on its website: and has multiple ways to download it.  If you have a Torrent Client with a 10MBPS line you can expect it to be downloaded in 2 mins.

    Once downloaded, the steps are pretty easy

    • Open Virtual Machine Software (here Virtual Box)
    • Click on New and enter the name as ‘Android’
    • In the Operating System, select ‘Other’ and Version as ‘Other’ and click on Next
    • Assign min 256MB RAM to have a better experience. Click on Next
    • When asked for Boot Hard Disk, select ‘Create New Disk’
    • Click ‘Next’ till the Wizard ends

    Voila! The cake is already half-baked. So next is to assign this Virtual Machine Host to the ISO we downloaded.

    • Right Click on Android
    • Click on Start
    • When asked for Devices, select CD/DVD ROM
    • For Media Source, select Image Source and locate the ISO file

    In case you don’t find the above information, please let it go through the normal route.  You will find a menu called Device in the Virtual Machine Host and you can do the same steps there.  The next you see is a screen:

    Android VM Launch Screen

    Android VM Launch Screen

    I preferred to select the default 800×600 resolution and Android OS was ready to run on my OS in less than half a minute.

    I could browse the Internet, connect thr’ shared locations on my machine, play games & download apps too! Amazing experience in just 20 minutes!

    The hard way – the developer way?

    Well, who would want to know the hard way once you know there is an easier way to crack the puzzle.  But just ping me or leave comments on this.  I will surely pull off the curtains on the other way to do this.

    Keep commenting!

    Follow on Feedly