Showing posts with label Windows Installation Tutorials. Show all posts
Showing posts with label Windows Installation Tutorials. Show all posts

Friday, September 02, 2011

Accessing data in ISO and VHD files


In continuing with the improvements in core Windows functionality and also oft-requested features, we are adding native Explorer support for ISO and VHD files in Windows 8. While terabytes of storage are available to all of us, managing disk (or disc) image formats remains important for a number of mission-critical operations in many organizations and among power users. We know even more support for VHD is a big request, so stay tuned. Rajeev Nagar authored this post. He is a group program manager on our Storage & File Systems team. --Steven

The trend of incredibly large and small form-factor hard disks means we can store ever increasing amounts of data without worrying about running out of capacity. Windows 8 enables easy access to the contents of two important storage formats, ISO and VHD files. While we generally think of these formats when they appear on media, they are also very useful as files within a file system and that is where native support in Explorer comes in handy.

Working with ISO files


While optical discs continue to be useful in many situations, large hard disks allow us to decrease our dependence on them. Personally, I’ve spent a load of my time (legally) ripping about 900 GB worth of music, and more recently almost 1TB of home video DVDs into my collection. I know that my backup of our photos and home movies is probably the most important data in my house. Together with backups, storing the most basic things in my house now requires terabytes of space. Just a couple of years ago that was an unimaginable amount of storage. These days, however, I know I can buy a 3TB hard disk for less than $200.

Given cheap hard disks and our mobile lifestyle, we have little interest in carting around collections of discs. Also, we expect to be able to receive content as well as share and collaborate with friends, family, and colleagues in an instant – typically through online file transfers. Last but not least, our desire for thin and light form factors such as slates and ultra-mobile laptops often leaves no room for vendors to add optical disc drives. This is exactly the feedback we received from many of you who used Windows 7 – the ability to directly use ISO files (also known as ISO images) without requiring a physical CDROM or DVD drive is very important.

A quick refresher on ISO files might be helpful. ISO refers to the International Organization for Standardization which is an international standard-setting body, and a world leader in developing and publishing international standards. For the purpose of this blog entry, our interests lie in a couple of standards published by ISO, namely ISO-9660 and ISO-13346. Simply stated, these two standards each describe a method by which photos, video, applications, documents or other content (excluding CD audio) are organized on CDROM or DVD optical media. The reason for the popularity of these standards is they allow CDROM and DVD media content to be easily interchanged across systems from different vendors e.g. you can create a DVD on a Windows PC and read it in your living room DVD player. An ISO file is simply a disc image stored as a file, composed of all of the contents of a CDROM or DVD disc. You can also think of an ISO file as a full-fidelity image (digital copy) of the optical disc.

ISO files are used by vendors to distribute software. Backup applications also store content in the ISO format and many utilities allow creation of an ISO file from existing CDROM or DVD media. Once created, these files can be sent around, downloaded, and stored just like any other file – however, before you can access the photos, video, applications, documents, or other content contained within the ISO file, you either have to “burn” the ISO file to a writable optical disc or download and install software that allows you to “mount” and access the ISO file contents directly (i.e. without burning). With Windows 8, we have eliminated this last step – you can simply access the contents of the ISO file without needing either needing to burn a new disc or needing to find/download/install additional software just to logically access the ISO.

So how does this work in Windows 8? It’s quite simple – just “mount” the ISO file (you can select mount from the enhanced Explorer ribbon or double-click or right-click on the file), and a new drive letter appears, indicating that the contents are now readily accessible. Underneath the covers, Windows seamlessly creates a “virtual” CDROM or DVD drive for you on-the-fly so you can access your data. Let’s walk through the flow that will enable you to access such an ISO file.

As you see in the figure below, we have three ISO files in a local folder. The one we will work with contains the (legally obtained) Office application suite. To mount the ISO, you can either double click the file or click Mount on the Actions tab.


Once you mount the ISO, a new drive letter appears for the virtual CDROM/DVD drive that Windows seamlessly creates. The contents of the ISO are accessible just as they would have been had you inserted the CD/DVD media into a physical optical drive. Only, operating on the contents happens at the speed of your hard drive, not an optical drive.


Once you are done using the ISO, you can (virtually) “eject” it, and the virtual drive disappears.


In case you need a utility to create ISO images from existing optical media, there are many tools that give you that capability. One I use is the Oscdimg command line tool that is available as part of our automated deployment kit.

That is it! Accessing ISO files has now become a snap with Windows 8. Regardless of whether you have an optical drive accessible to you or not, accessing your data is never a problem.

Working with VHD files


Another place we’ve simplified access is with Virtual Hard Disk files. Virtual Hard Disks are the format used by Virtualization software Hyper-V or Virtual PC. In a future blog post, we’ll talk more about the enhancements to Windows Virtualization technology, Hyper-V.

The Virtual Hard Disk (VHD) format is a publicly-available image format specification that allows encapsulation of the hard disk into an individual file for use by the operating system as a virtual disk in all the same ways physical hard disks are used. The VHD format is used by Hyper-V to store information for Virtual Machines. In Windows7 & Windows Server 2008 r2 we have the ability to boot the system off a VHD file, and we had command line and MMC plugins for managing them. VHDs are handy for portability of system settings or to play back what has been saved as a snapshot of a system.

Accessing a VHD in Windows 8 is as simple as what we’ve done with ISO files, but there is one important difference: rather than appearing as a removable drive (as is the case with ISO), VHDs appear as new hard drives.


Underneath the covers, Windows provides a virtual drive letter pointing to the volume within the VHD. You’ll notice that the icon for the drive G: below is the same as the icon for a VHD file.


You can then work with the virtual hard disk just like any other file storage in your system, whether you are modifying, adding or removing files.


Once you’ve finished working with the VHD, like an ISO, you can right-click it and click Eject (or just use the Eject button on the ribbon). Any changes you’ve made remain saved within the file.

Friday, July 29, 2011

Windows 7 RC on VMware Workstation 6.5.2

image Yes, it works! Now start downloading the Windows 7 RC and continue reading. Like many of you, the Workstation team scrambled to download the release candidate as soon as it was made available to us. After trying to download it for ½ a day, (MSDN & TechNet crashed) we finally got our copy and started playing with it.

There’s been a lot of buzz flying around about Windows 7 and what better way to try out a new operating system and see how it works than in a virtual machine. I am happy to report that you can run Windows 7 RC in a VMware Workstation 6.5.2 VM with all the great features you have come to love, including file drag and drop, text copy and paste, automatic screen resize, shared folders, and Unity. However, before we go further, I want to remind you that Windows 7 RC, both 32-bit and 64-bit, is not an officially supported guest at this time. We plan to support Windows 7 as a guest OS in a future release. This statement reminds me of the great new Mac ad “Legal Copy”.

By the way, if you do not have a copy of VMware Workstation, now is a great time to download a free trial and give both Workstation and Windows 7 a try at the same time. It’s a great way to find out how well your favorite application runs or application you are developing will run in Windows 7. This is one of those rare times when you can get a Windows OS to try without having to purchase a license upfront.

After going through the process of creating a Windows 7 VM, we decided to share some best practices on how to make this happen with some screenshots and suggestions to make it nice and easy for you.


Let’s get started. Based on our initial experience with Windows 7 RC with VMware Workstation, we recommend the following VMware settings:
- In New Virtual Machine Wizard, use the “Typical” Configuration
- The wizard will auto detect Windows Vista, let it run Easy Install for Vista
- Dedicate at least 1GB of Memory
- Use 40GB Disk Capacity if you plan on installing Office and some additional applications
- Recommend that all users create a custom Power Management Plan (details below)
- If you do not enter a Windows license key, watch for the Windows install screen asking for which version of Windows to install

For those looking for some additional guidance, here’s a quick walkthrough with some screen shots.

After downloading the Windows 7 RC ISO from Microsoft, open VMware Workstation and create a new virtual machine, the same way I’m sure you have done many times before via “File>New>Virtual Machine”


In New Virtual Machine wizard, use the “Typical” Configuration


Once you point the New Virtual Machine Wizard at the Windows 7 ISO you just downloaded, VMware Workstation will automatically recognize it as Windows Vista. This is okay, since Easy Install for Vista works seamlessly with Windows 7. It will automatically install VMware Tools which is necessary for many of Workstation’s advanced features like shared folders, Unity,etc.


Next, enter your serial key, name, password and click “Next”.


Change the Disk capacity to 40GB if you plan on installing MS Office and some additional applications. Don’t worry; it will start much smaller than 40 GB and only grow to that size if needed.


At this point, you should see your final configuration setup, with 1 GB of RAM assigned, and a virtual hard disk that will expand up to 40GB. Click “Customize Hardware” if you wish to make changes. Click “Finish.” Once you hit “Finish,” Windows Easy Install will be off and running, installing Windows 7. You’ll see some reboots, and VMware Tools will install automatically.


If you didn’t enter a Windows 7 license key, watch for this Windows install screen. I left the install running in the back ground, and after I did not respond for some time, Windows continued the install with Starter edition (first on list).


After that’s all finished, you should be able to play around with Windows 7. There is one Windows Quirk to avoid. The default power management options will suspend the VM every 30 minutes. The solution is to create a new Power Management Plan in Windows:
· In Control Panel search, choose search for Power
· Select Choose a power plan
· Then Create a power plan
· Select High Performance
· Enter a name VMware
· Change Turn off Display to Never
· Change Put Computer to Sleep to Never
· Click Create


Again, Windows 7 RC is not a supported configuration, so there could likely be bugs.


For more installation guide if how to install windows 7 on windows xp & vista using vmware, click here.