• Windows 8: Enable .NET Framework 3.5 (includes .NET 2.0 and 3.0) i.e. (NetFx3) feature in Online & Offline mode!

    I have been using Windows 8 for last few months. When Windows 8 CP released I installed CP & subsequently RP too. When I wanted to install some 3rd party application in my Windows 8 VM, I realized that these applications require .NET Framework 2.0 or 3.0 in few cases. Apparently my virtual machine does not have internet connection. Obviously the first step for us is to check the Program and Features to enable any available additional features in an Operating System. This is what you see in your Control Panel –> Program and Features. Click on Turn Windows features on or off.

    Here you can see .NET Framework as a feature and by default the feature is disabled. You can enable this particular right away using this GUI Tool but in order to do that you need to be connected to internet i.e. Online Mode. Other way is using DISM Command and this can be done in an Offline Mode using Windows 8 installation media. Let’s see these 2 methods.

    Method 1: When you are Online, connected to Internet.

    In order to install the following window click on the .NET Framework 3.5 (included .NET 2.0 and 3.0) select it & click OK


    Now, it will download the entire package from the internet & install the .NET Framework feature.

    Method 2: When you are Offline and not connected to Internet

    If you open CMD.EXE with Administrative Privileges i.e. at elevated level & run the this DISM command dism /online /get-features you will see that from the State that .NET Framework is not part of the Operating System.



    So the first thing you need to do is to copy the required package to local machine before you run the command to install .NET Framework. To do that use Windows 8 ISO/DVD/USB Media. You need to copy SXS folder to local machine located at D:\sources\sxs (In this case D: your drive letter on which you have loaded Windows 8 Media)


    You can also use the following command to copy this folder locally. xcopy d:\sxs\*.* c:\sxs /s

    Once completed, in order to install this feature you can run the following command dism /online /enable-feature /featurename:NetFx3 /All /Source:C:\sxs /LimitAccess  and hit Enter


    After completing the installation of .NET Framework 3.5 you can see that the feature is enabled in the Control Panel –> Program and Features


    Bingo. Now you can enable .NET Framework feature on Windows 8 without needing of an internet connection.


    Update: There was a small typo in the command, I missed including : between source:C:\. I did fix it. Thank you all for your comments & pointing that out :)

  • How to find a machine serial number from command prompt using WMI

    Ever wonder how can you find laptop serial number using command prompt???

    Here is a quick command that you can use to find the Serial Number of your machine.

    To find the serial number, open command prompt (cmd) and type the following command.

    c:\>wmic bios get serialnumber

    This will give you your machine’s serial number by pulling the information from BIOS. This is how it will look like.


    If you are interested in scripting the same visit http://support.microsoft.com/kb/558124

    WMIC (Windows Management Instrumentation Command-Line) http://msdn.microsoft.com/en-us/library/aa394531(VS.85).aspx

    Hope you enjoy !!!

    Update: Corrected syntax in the command

  • Windows 7: Boot from VHD First Impression: Part 2


    In my previous post i.e. Windows 7: Boot from VHD First Impression: Part 1 we seen creating and attaching the VHDs. Using the Disk Management or Diskpart utility we can attach the existing VHDs. In this part we will actually cover the boot from VHD feature.

    We will cover the different ways by which we can actually boot from VHD file. In order to boot from VHD, the bootloader needs to support boot from VHD file. So, what are the basic benefits of having VHD Booting.

    You can use Boot for VHD feature in your test environment or development where you want to try out different applications or devices, which is not possible in Virtual Environment.

    Booting from VHDs means booting the machine as if running from primary hard disk so your operating system will leverage all the hardware available in your system like Graphics, Wireless, USB etc. which is not possible in most of the virtual environment.

    This is good for multi-boot environment where you want to run multiple operating systems on same machine without losing the performance. This is possible by VHD booting. As every VHD is like a Hard disk with primary partition; so you can create multiple VHDs with operating systems installed onto it.

    In this discussion we will cover the following key points.

    • Booting a Windows 7 VHD or Windows Server 7 (aka Windows Server 2008 R2) VHD
    • Preparing VHD file using Windows 7 or Windows Server 7 Media or existing VHD running Hyper-V
    • Adding the VHD entry in Boot Menu for VHD Boot and then Boot from VHD


    Booting a Windows 7 VHD or Windows Server 7 (aka Windows Server 2008 R2) VHD

    This feature is only supported by the Windows 7 client VHD and Windows Server 7 aka Windows Server 2008 R2 VHD.

    In order to boot from VHD we need to prepare the VHDs using any of the two methods.

    1. The first method is obtaining the existing Windows 7 or Windows Server 7 DVD VHD and make sure it is sysprepped to clear all the hardware information. So why sysprep ?

      Benefits of Sysprep

      Sysprep provides the following benefits:

      • Removes system-specific data from Windows. Sysprep can remove all system-specific information from an installed Windows image, including the computer security identifier (SID). The Windows installation can then be captured and installed throughout an organization.
      • Configures Windows to boot to Audit mode. Audit mode enables you to install third-party applications and device drivers, as well as to test the functionality of the computer.
      • Configures Windows to boot to Windows Welcome. Configures a Windows installation to boot to Windows Welcome the next time the computer starts. In general, you configure a system to boot to Windows Welcome immediately before delivering the computer to a customer.
      • Resets Windows Product Activation. Sysprep can reset Windows Product Activation up to three times.

      For more information about sysprep visit How sysprep works ? and What is Sysprep ? that will give you clear idea about sysprepping a system.

    2. Applying a WIM Image directly to the VHD file using ImageX utility. The ImageX utility can be used to extract the required operating system edition directly to the attached VHD file in Windows 7

    The ImageX utility is part of WAIK. i.e. Windows Automated Installation Kit. You can download the WAIK for Windows 7 from here

    Preparing VHD file using Windows 7 or Windows Server 7 Media or existing VHD running in Hyper-V


    From my previous post create a new VHD and attach it using Disk Management. Now, you will have newly attached X: created with label 'Windows7', which is of size 20 GB.

    Now, you will require the 'install.wim' file from the Windows 7 Media or Windows Server 7 Media. Along with that we will require ImageX utility.

    In order to extract image to the X: we will use the following syntax.



    d:\imagex>imagex /apply d:\install.wim 1 x:\

    In the above syntax we can see we have used 'd:\install.wim' followed by '1' and 'X:\' (this is the attached VHD.)  Now this 1 denotes Image Index i.e. edition of the Operating System.

    As you can see I have used the 'install.wim' file from the Media of Windows Server 7 Beta and 1 denotes Enterprise Edition.

    In order to check the Image Index we will use the following command

    d:\imagex>imagex /info "d:\Download\Windows Server 7 R2\install.wim" (i.e. the location of the install.wim file)


    Once finished the extracting the OS using ImageX it will look like this


    Once the image is applied to particular drive in our case X:\. Detach the X: Drive from the Disk Management. Now your VHD file is ready to boot.


    Preparing the VHD file using Windows Server 2008 Hyper-V

    If you have Windows Server 2008 running Hyper-V, launch the virtual machine running Windows 7 or Windows Server 7 aka Windows Server 2008 R2 and the run the following command

    c:\windows\system32\sysprep>sysprep /generalize /shutdown


    After running the above command in the virtual machine, this will launch the System Preparation Tool 3.14. Select the checkbox for 'Generalize' and click on OK.

    Once the sysprep is completed the virtual machine will be shutdown and ready for booting. You can copy that VHD now.

    Note: Sysprep does not work on upgrade. You need to have Clean Installed Windows 7


    Adding the VHD Entry in Boot Menu and then Boot from VHD

    Now that we have successfully created VHD files. The last step is adding boot entry for the VHD file in your Windows 7 or Windows Server 7 using BCDEdit.exe tool.

    For this step open the Elevated Command Prompt with Administrator Privileges and type the following commands.

    C:\>bcdedit /copy {current} /d "My New VHD Description"

    Note: This will Return the GUID of the Loader Object that you will use to replace <guid> below
    C:\>bcdedit /set <guid> device vhd=[driveletter:]\<directory>\<vhd filename>
    C:\>bcdedit /set <guid> osdevice vhd=[driverletter:]\<directory>\<vhd filename>

    Note: vhd=[driveletter:]\<directory>\<vhd filename> is the new syntax supported for BCDEdit.exe to locate VHD File and Bootmgr will locate the partition containing the VHD File to boot from.
    C:\>bcdedit /set <guid> detecthal on


    Following is the attached screenshot of the my machine. In this case I have Windows 7 as the default OS and I have added the VHD File in the Boot Entry.


    Well just after that run the following command to test if your boot entry is successfully created using C:\>bcdedit /v



    Similarly, if you want to add multiple VHDs into Boot entry you can use the following lines to the command prompt

    C:\>bcdedit /copy {current} /d "New VHD Description"
    C:\>bcdedit /set <guid> device vhd=[driveletter:]\<directory>\<vhd filename>
    C:\>bcdedit /set <guid> osdevice vhd=[driverletter:]\<directory>\<vhd filename>
    C:\>bcdedit /set <guid> detecthal on

    Note:  detecthal is used to force windows to auto detect the Hardware Abstraction Layer.

    If you want to delete any existing VHD entry from the Boot Menu you can always use the command C:\>bcdedit /delete <guid> /cleanup This deletes the specified operating system entry from the store and removes the entry from the display order.

    Well, we are ready to Boot from VHD. Once you restart the computer you will see additional entry in Boot Menu along with the default Windows 7 or Windows Server 7 OS.

    Here is the screenshot from newly booted Windows Server 2008 R2 Beta from VHD. I have installed Desktop Experience Pack and enabled Aero Glass.

    win 7 server

    Happy Virtualization

    Update 1: Thanks much Mark Shyn for pointing out method 1 correction.

  • Installing Windows 7 using usb thumb drive

    Hi everyone,

    Those days gone when we used to carry floppy disks to copy small documents, text files here and there. Now, we prefer USB thumb drives or pen drives for copying documents, multimedia files. Over the last few years USB drives have been quite cheap to buy. And these days when we have operating system size grown into GBs we have to burn the DVD disc every time we want to install the OS. But using USB thumb drive we install Windows 7 without wasting any DVD disc. Many of us who try different builds and format the machine often; for such users installing from USB drive is peace of mind. No need to burn the DVD every time. Also, the netbooks are getting very common for eg. Asus Eee PC. As netbooks don’t have built-in DVD drive, installing from USB drive is the most convenient option than hunting for USB Optical drive.

    So, what do we need to install the Windows 7 from USB drive ? A USB thumb drive with capacity 4 GB or more and of course Windows 7 DVD media. Right now we have Windows 7 Beta build 7000 having total DVD media sizing just over 2.4 GB.

    Let’s start by pluggin the 4 GB USB thumb drive.

    Open the elevated command prompt with administrator privileges and type the following commands.



    Microsoft DiskPart version 6.1.7000
    Copyright (C) 1999-2008 Microsoft Corporation.
    On computer: AVIRAJ

    DISKPART> list disk

      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          149 GB      0 B
      Disk 1    Online         3834 MB      0 B

    DISKPART> select disk 1

    Disk 1 is now the selected disk.

    DISKPART> clean

    DiskPart succeeded in cleaning the disk.

    DISKPART> create partition primary

    DiskPart succeeded in creating the specified partition.

    DISKPART> format fs=fat32 quick

      100 percent completed

    DiskPart successfully formatted the volume.

    DISKPART> active

    DiskPart marked the current partition as active.

    DISKPART> exit

    Leaving DiskPart...


    Now, just copy the files located on Windows 7 DVD Media.image

    Make sure in the BIOS you have selected USB Boot option. Otherwise you won’t be able to boot from the USB thumb drive.

    Next step, plug in the USB thumb drive into the notebook or netbook, where you want to install Windows 7. It will boot from the USB thumb drive. Installing from USB drive improves installation time vs installing from DVD Media as optical media is lower that USB.

    Using this same USB thumb drive you can install Windows 7 on any computer that supports booting from USB. And now on you won’t be wasting the DVD disc for burning any new build of Windows 7. Just replace the media files on the USB thumb drive and install the OS. :)


  • Windows Phone: Internet Sharing Feature Now Available on HTC Mozart after Firmware Revision.

    Last week I blogged about the firmware update I received for my HTC Mozart running Mango RTM. Here is the quick summary.

    I received 2 updates. First it updated Firmware from 2250.21.40600.707 to 2250.21.50001.707 on 8th Oct. http://blogs.technet.com/b/aviraj/archive/2011/10/08/htc-firmware-update-for-windows-phone.aspx?ocid=aff-n-in-loc--aa
    And Second updated Firmware from 2250.21.50001.707 to 2250.21.51001.707 on 21st Oct http://blogs.technet.com/b/aviraj/archive/2011/10/21/htc-update-for-windows-phone.aspx?ocid=aff-n-in-loc—aa


    After installing this firmware update, as seen in the screenshot, it upgraded Firmware. Firmware revision from 2250.21.50001.707 to 2250.21.51001.707.

    New Feature: INTERNET SHARING feature is now enabled on my HTC Mozart. You can connect up to 5 Guests i.e. 5 users can connect.

    To enable INTENRET SHARING. Just to go Settings –> INTENRNE SHARING is now available. This will make your HTC Phone as a Wireless Broadcast Device.

    For security you can setup a Password with Min. 8 characters.


  • Windows Server 2012: Install & Configure Windows Server 2012 using VHD Boot

    Hi IT Professionals,

    Often I receive lot of queries on evaluating Windows Server on their test environment or on some spare machines. Most of the times users want to carry a laptop to try/test evaluate Windows Server on their laptop. Well during our recent IT Camps, we delivered the same experience using Boot from VHD using Windows Server 2012. Attendees installed Windows Server 2012 on their sample machine and subsequently configured the demo machine to evaluate the features.


    Minimum System Requirements

    Windows Server 2012 Evaluation – http://aka.ms/ws2012rtm

    1 GHz CPU supporting Intel-VT or AMD-V

    DEP – NX/XD

    SLAT – Optional

    4 GB RAM

    50 GB HDD on C: or D:

    Windows Server 2012 RTM Evaluation DVD



    For detailed System Required kindly visit http://technet.microsoft.com/en-us/library/jj134246.aspx


    Insert Windows Server 2012 DVD & boot your computer from DVD. Press any key to boot from DVD.
    Please wait while Windows is loading the installation files…





    Once completed you will see the following Windows Setup dialog box. Click Next


    Click on Install Now button.




    Please wait while Setup is starting.




    Select Windows Server 2012 Datacenter Evaluation (Server with a GUI) x64 & Click Next




    Accept the Licensing terms & click Next


    Click on Custom: Install Windows only (advanced)



    On your keyboard press SHIFT+F10 key combination to invoke Command Prompt CMD.






    After pressing SHIFT+F10 you will a command prompt. CMD

    !!IMPORTANT!!DO THIS STEP IS CAREFULLY. Do not modify/delete System Reserved Partition.

    NOTE: At this step we will create a 50 GB Dynamically Expanding VHD on C: or D:. Also, make sure that the physical partition has actual free space available because Dynamically expanding VHD gets mounted & occupies full space during VHD Boot.







    Note:  In the next screen this D: is actually your original C: Windows Partition (Windows 8, Windows 7 or 2008 R2) When you are running Windows 8/7/2008 R2, you cannot view hidden System Reserved partition. But in this case the C: is assigned to that System Reserved partition & subsequent partitions will be allocated the drive letter in the same series.  



    Type the following command to create a new VHD on the D:




    Close the CMD & Click on Refresh to see a new 50 GB drive with unallocated space. Click on the Unallocated Space (Drive 1 in this e.g.) and click Next




    Please wait Windows Setup will installing the files on the disk. (It will take few minutes depending upon system performance) – You can grab a tea/coffee meanwhile




    After completion system will be restarted automatically.

    Please wait while Windows is getting devices ready…It will take few minutes…


    A system will be restarted…


    After a restart. You will see a DUAL Boot option. Choose Windows Server 2012& Press ENTER





    Please wait while Windows Server 2012 loads for the first time…




    On the Settings page, please enter an Administrator account password and click Finish



    Please while Windows is finalizing your settings… It will take few minutes…


    Congratulations. Your Windows Server 2012 Datacenter is now ready for Evaluation.




    Press Ctrl+Alt+Delete to sign in. Enter your Administrator account password. E.g. Passw0rd!




    You are now logged on to Windows Server 2012 Datacenter with Full GUI. And it will launch Server Manager.




    This completes your Windows Server 2012 Datacenter installation using VHD Boot.



  • Windows 7: installing and configuring tata indicom huawei EC321 v-data card

    Lot of people over here have shifted to Windows 7 Beta Build 7000. But most of them saying they are not able to use the Tata Indicom Huawei V-Data Card. And therefore they are not able to surf the net when they are on the move. Basically TATA Indicom Data card given to the users so that they can access their mail whenever they are on the move but because the dialer is not compatible many of them are not able to use the TATA Card.


    This V-Data Card is Huawei EC321 is PCMCIA based device. You need to plug it and install the driver. The dialer can be downloaded from this site. When you initially plug in the V-data card in the PCMCIA slot the Windows 7 automatically tries to install the drivers but cannot install all the drivers. After installing the Huawei Mobile Connect dialer when you try to connect using Dialer, you will end up getting following message.

    tata 2vcard



    STEP 1

    Now, here is a trick. DO NOT PLUG IN THE HUAWEI V-DATA CARD. Without plugging the PCMCIA Card install the Huawei Mobile Connect Dialer. Then visit the following installed dialer location and copy the ‘Drivers’ folder to somewhere else say ‘Desktop.’ This folder contains the necessary drivers. After copying it, uninstall the Huawei Mobile Connect Dialer application since we copied the required drivers folder.

    image image


    STEP 2

    Now, PLUG THE HUAWEI V-DATA CARD in the PCMCIA slot, it will try to install the drivers but fail to install the drivers for the Data Interfaces. We will manually install the drivers for these Data Interfaces.image


    Right click on ‘Data Interface’ in Other devices and click on ‘Update Driver’ and then click on ‘Browser my computer for driver software’

    In the next box select the location where you have copied the ‘Drivers’ folder. In the drivers folder select Vista for 32-bit. If you using Windows 7 x64 then select Vista-AMD64. Then click on ‘Next’ to install the drivers. image image


    After that you will get the message saying Updated Driver Software successfully for ‘HUAWEI Mobile Connect – 3G Modem’ Click on Close.

    Similarly, do the same procedure for 2nd Data Interface. Right click –> Update Driver –> Next. And it will install ‘HUAWEI Mobile Connect – 3G Application Interface’


    Now, in the Device Manager you can see both the drivers installed successfully.


    STEP 3

    Create a new Dial-Up connection. To do this Open up the ‘Networking and Sharing Center’ and click on ‘Set up a new connection or network’  and click on '’Next.’ On next page click on ‘Next.’image

    On next screen click on ‘Dial-Up’ and then on next screen click on ‘HUAWEI Mobile Connect – 3G Modem’image

    Now, fill up the information for the Internet Service Provider (ISP)

    For TATA INDICOM, fill up the following details.

    Dial-ip phone number: #777

    User Name: internet

    Password: internet

    Connection Name: TATA (This can be anything)

    Click on Remember this Password and click on CONNECT. On next page you will get message ‘You are connected to the Internet'.’ Click on ‘Close.’image

    STEP 4

    Create dialer shortcut on Desktop for quick access.

    Open up the ‘Networking and Sharing Center’ and click on ‘Change Adapter Settings’ then Right click on ‘TATA' Dial-Up Connection’ and click on ‘Create Shortcut’; click on ‘Yes’ and it will create dialer shortcut on Desktop.

    Double click on dialer to connect to internet or to disconnect the internet connection.




    Happy Browsing

  • Windows 7: Boot from VHD First Impression: Part 3 (Booting VHD from Vista SP1 or later)

    Hello All,

    In last 2 parts we have seen how easily we can create/attach VHD files in Windows 7 and how easy it is to boot from VHD. In this part we will see booting the VHD file from PC running Windows Vista operating system. We have native support for VHD in Windows 7 and the bootloader in Windows 7 understands the VHD files that is the reason we can actually boot from VHD file.

    In order to boot a vhd file in Windows Vista, we will have to follow 3 steps.

    1. Copy the Windows 7 bootloader from a machine running Windows 7
    2. Create the back up of a existing bootloader on a PC running Windows Vista
    3. Replace the Windows 7 bootloader files on a PC running Windows Vista Operating System
    4. Copy/Create VHD files in Vista machine and Adding the VHD entry in Boot Menu for VHD Boot and then Boot from VHD

    Copy the Windows 7 bootloader from a machine running Windows 7

    In order to boot from VHD we need to have the bootloader that understands the VHD file. Apparently, Windows Vista bootloader does not understand VHD files and hence cannot boot into the VHD file.

    To solve this issue, we will first obtain the bootloader from PC running Windows 7. Now, boot into a machine Windows 7. You can download Windows 7 Beta build 7000 and use that bootloader.

    Basically, we require 2 files BootMgr and BCDEdit.exe. If you have Windows 7 installed on a single partition then your ‘bootmgr’ file is located on ‘C:\’ (i.e. your system, active, primary partition) and your ‘bcdedit.exe’ file is located in ‘C:\Windows\System32’ folder.

    After booting into Windows 7, connect the USB thumb drive or flash drive. For this step open the Elevated Command Prompt with Administrator Privileges and type the following commands.

    C:\windows\system32>xcopy /h /y bcdedit.exe f:\    (Note: F: is the external USB Thumb Drive or Flash Drive)

    /H - Copies hidden and system files also.

    /Y  - Suppresses prompting to confirm you want to overwrite an existing destination file.


    C:\>xcopy /h /y bootmgr f:\

    Once done unplug the USB thumb drive, we will need it when we will replace the files to Vista machine.



    Create the back up of a existing bootloader on a PC running Windows Vista  (MAKE SURE YOU PERFORM THIS ON YOUR VISTA MACHINE)

    In this step, we will take the back up of existing bootloader. Basically, the backup of the 2 files BootMgr and BCDEdit.exe if in case. The ‘bootmgr’ file is located in ‘C:\’ and your ‘bcdedit.exe’ file is located in ‘C:\Windows\System32’ folder. Boot into WINDOWS VISTA.

    For this step open the Elevated Command Prompt with Administrator Privileges and type the following commands.


    C:\>xcopy /y /h bootmgr bootmgr.sav

    Press f after prompted

    C:\>cd Windows\System32

    C:\windows\system32>xcopy /y /h bcdedit.exe bcdedit.sav

    Press f after prompted


    Replace the Windows 7 bootloader files on a PC running Windows Vista Operating System (MAKE SURE YOU PERFORM THIS ON YOUR VISTA MACHINE)

    In this step, we will replace Windows 7 bootloader with existing Windows Vista bootloader. Thus, we will overwrite BootMgr and BCDEdit.exe, which are located in ‘C:\’ and  ‘C:\Windows\System32’ folder.

    For this step use Windows Vista Bootable DVD or Windows 7 Bootable DVD and Boot into Windows Recovery Environment or WinPE.

    After selecting the operating system open the Elevated Command Prompt and type the following commands.

    C:\>attrib bootmgr –s –h –r                     (Note:  C: is the Windows Vista OS Partition)

    Attribute command with –s –h –r changes the System, Hidden and Read Only attributes of a given file.

    C:\>e:                                                          (Note:  E: is the Thumb Drive or Flash Drive)

    E:\>xcopy /y /h bootmgr c:\bootmgr

    E:\>xcopy /y /h bcdedit.exe c:\windows\system32

    Now you are ready to Boot from VHD on your Windows Vista machine.


    Copy/Create VHD files Vista machine and Adding the VHD entry in Boot Menu for VHD Boot and then Boot from VHD

    Rest all is same as my previous posts. Refer Windows 7- Boot from VHD First Impression- Part 1 and Windows 7- Boot from VHD First Impression- Part 2 for creating the VHD and adding them into the Boot Menu.

    After the booting up you will see two entries Windows Vista and VHD file. Select the VHD and hit, and you are now booting from VHD.

    Aviraj Ajgekar

  • Dual Boot: Windows 7 with existing Windows Vista

    Most of our users are using Windows Vista as the primary operating system and a lot many of them now looking forward to upgrade to WIN7 Beta. The Windows Vista image loaded on the laptop often creates only a single big partition that has all the Windows files/folders and users data. Now, if a user wants to install Windows 7 Beta, he / she have to install using the upgrade method.

    There may be scenarios wherein, users may like to retain existing Vista OS, for testing / application compatibility reasons, in this case users can follow the below steps to have dual boot options without disturbing their older operating system (say vista), just by creating a new partition and then install Windows 7 onto that partition. By doing so, users can have Windows Vista on the first partition and can have Windows 7 onto the second partition.

    Steps to Follow:

    Step 1: Start Windows Explorer. Right click My Computer and click Manage or click Start -> Run -> compmgmt.msc


    This will start Computer Management MMC Snap in.

    Step 2: In this screenshot you can see there is Disk 0 with capacity 149.05 GB

    There are two partitions

    First Partition – BitLocker Created system partition 1.46 GB

    Second Partition – Windows Vista of size 147.59 GB

    So, in order to install Windows 7 we need to have another partition. We will now create a new partition on which we can install Windows 7.

    Note: In some cases you may not find the first partition i.e. BitLocker Created system partition. This is created when you have deployed the MS IT BitLocker Supported Image or users have run the BitLocker Preparation Toolkit on their machine.


    Step 3: Right click on the C: Drive i.e. 147.59 GB and click on Shrink Volume


    Step 4: Select the amount of space to shrink in MB, below by default selected approximately 74.5 GB. Users can select more or less size depending upon their needs, Click Shrink. This will create new partition with unallocated space


    Step 5: Right Click on the unallocated partition and click on New Simple Volume.

    This will launch New Simple Volume Wizard. Click Next.


    Step 6: Specify Size. We will keep it 30000 MB (30 GB). Click Next.

    • In the assign drive letter option select D or E (depending upon the free letter, G in this case)
    • Click on Next
    • In the Format Partition Select Volume Label and select Perform a quick format option.

    If users need, they can change the default Allocation Unit Size or Enable file and folder compression.


    Lastly, after the wizard is completed, it will show a brief summary of the options selected. Click on Finish, this will create the new Primary Partition of 30 GB with the selected Label and Drive letter.


    Step 7: Now, pop in your Windows 7 DVD and boot the computer from DVD. At the time of installation select ‘Custom Installation.’ Select the newly created partition to install Windows 7.

    Ignore the remaining unallocated space that we did not utilize. Click on Next


    After the installation you will see Windows 7 as default OS and also the Windows Vista entry in the Windows Boot Manager.


    Enjoy Windows 7 dual boot with existing Windows Vista

  • MDOP DaRT: Reset forgotten Windows Account Passwords

    We have users who use Windows as our primary operating system and most of them are using Windows Vista, Windows Server 2008 and now lot of users have shifted to Windows 7 Beta. Often when users install Windows, generally they setup a local user (administrator) and then they configure the domain account. After configuring the domain account users usually never login onto our Local User Account. Sometimes user needs to login onto the Local user account for different reasons. For e.g. Domain account password expired and users needs to logon onto computer for accessing data or sending mails, browsing internet. It happens many of the times that because users have not used the local account users tend to forget local user account password. In that case many users reformat the machine.

    But ideally spending time on reformatting the machine may not be a good option. So, how do we reset the password of the locked account? We have a solution for this problem. The solution is using DaRT. DaRT stands for Diagnostics and Recovery Toolkit.

    Microsoft Diagnostics and Recovery Toolset is a core component of the Desktop Optimization Pack for Software Assurance, a suite of advanced technologies designed to improve desktop manageability and security and decrease total cost of ownership (TCO).


    Step 1: Obtain the Diagnostics and Recovery Toolset 6.0 and create the recovery cd using ERD Commander Boot Wizard based upon WinPE or obtain the CD from the Local IT.

    Step 2: Boot the target machine using the DaRT Recovery CD


    Select No for NetStart, we don’t require the network connectivity.

    Step 3: Select the appropriate language. Default is US and click on Next


    Step 4: Select the Operating System. If you have more than 2 Operating Systems, it will show 2 operating systems and Click on Next


    Step 5: Once loaded you will see it’s like Windows Vista Bootable DVD Repair tools but with 1 more additional option ‘Microsoft Diagnostics and Recovery Toolset’; click on it.


    Step 6: You will see following tools in DaRT. Click on Locksmith


    Step 7: This will launch Locksmith wizard. Click on Next


    Step 8: This will show ‘Select New Password’ window. Select the account you want to reset the password. And provide the new password. After that click on Next


    Step 9: You will get dialog box ‘Completing the Locksmith Wizard’ On next restart you will have an option to Change the local user account password after you log in.

    Click on Finish. Click on Close and Restart


    Step 10: Take out the DaRT CD and restart the machine.


    Enter the recently changed password for the local user. Then you will get the above message stating ‘The user’s password must be changed before logging on the first time’

    Click OK and type in the new password



    Voila, you have just changed the password for the local account. Now you can login with the newly created password.

  • Microsoft IT Camps–My Session Resources…

    Hello IT Professionals,

    Thank you very much for attending the first ever Microsoft IT Camp in Delhi. Like I said during my session I am sharing my presentations & resources with you all.

    Session 01: Get out of Dodge - Migrating to Windows Server 2008 R2 SP1 x64 IT Camps Windows Server Migration

    Session 02: Turbocharge your Active Directory Environment IT Camps - Active Directory

    If you have any questions/queries feel free to reach out to me. I hope you enjoyed the presentations and looking forward to see you all in the next event at Mumbai on 25th November 2011.

  • System Center 2012 SP1 Configuration Manager (SCCM 2012) Installation: SQL Server Database Error when using Named Instance…

    Hi All,


    Last week one of our customers was trying to install System Center 2012 SP1 Configuration Manager. During the installation customer encountered an issue with SQL Server when using Named Instance instead of Default Instance. MSSQLSERVER.

    I decided to try out the scenario on my own test environment to simulate the same issue by configuring the SCCM & SQL Server using the Names Instance instead of using the Default Instance that work on Port 1433.


    Here is my test scenario using 2 virtual machines.

    Domain Controller: DC.MSFT.COM

    SCCM Primary Site: SCCM.MSFT.COM


    There are steps I followed to begin my Configuration Manager deployment in my test environment.


    INSTALL Windows Features for SCCM.CONTOSO.COM machine. Following are the prerequisites required.

     - .NET Framework 3.5

     - Remote Differential Compression (RDC)

     - Bits with IIS Role

     - PowerShell 2.0 Engine

    Install WSUS Server Role

    Install Windows ADK with USMT, WINPE & Other components. I have installed Windows Assessment Services as it includes its own SQL Express database (Just to avoid any additional complexity)

    Create a Windows Firewall exception rule. Open WF.MSC. Create a new Inbound Rule for Port 1433, 4022 exception. Port 1433 to connect to SQL Database & Port 4022 for Service Broker. You can also enable these ports using a Group Policy.

    Install SQL Server 2012 with Named Instance: SCCM


    Till this stage everything was going smooth. I could open SQL Server Management Studio & connect to the database. Next step is to install the System Center 2012 SP1 Configuration Manager.

    I launched the SCCM installer & started following the Primary Site Configuration. On the Database Information wizard screen I was getting the following error.




    The error states…



    Configuration Manager


    Setup is unable to connect to SQL Server with the connection information provided.  Verify the following:

    . The SQL Server and instance names are entered correctly

    . The specified SQL Server instance is not configured to use dynamic ports

    . If a firewall is enabled on the SQL Server, inbound rules exist to allow connections to the correct ports

    . The account used to run Setup has permissions to connect to the specified SQL Server instance





    As you can see it has given me few details to check with. And then I started checking everything 1 by 1.

    For the first issue, I am sure that I have created an instance with correct name.

    For the second issue, I have assumed that SQL Server will use Port 1433. So we are good. We will come to the same point back after 2-3 lines Smile

    For the third issue I have manually created Firewall Port exception. So that was ruled out.

    For the last issue I have used the default system account that SQL Server 2012 configured so this was also ruled out.


    Now, let’s come back to Point 2 i.e. The specified SQL Server instance is not configured to use dynamic ports. In this example, this is the reason we are getting the error when using the Named Instance.

    Here is the FIX


    1.      Go to Windows Server Start Screen (yes Windows Server 2012 also has a new Start Screen as Windows 8 because of the shared codebase. NT Kernel 6.3 Build 9200 anyone J)

    2.      Search for SQL Server Configuration Manager




    3.      In SQL Server Configuration Manager, expand SQL Server Network Configuration. Click on Protocols for SCCM (SCCM is your Named Instance)

    In the right side pane, right click on the TCP/IP (Status Enabled) and click on Properties





    4.      In that click on IP Addresses tab. Scroll down to the bottom & make a change to IPALL. TCP Dynamic Ports -> Blank. TCP Port -> 1433 (as this is our default port for SQL Server Database Connection). Click on Apply.

    And notice that you need to restart SQL Server (SCCM) Service.

    Additionally, you can also configure the same for all the IP Addresses. IP1, IP2…etc. In my case I just made the change as specified above.




    5.      To restart a service. Click on SQL Server Service. Right click on Instance Name: SQL Server (SCCM) and click on Restart. Wait for few seconds.




    6.      Now, last step go back to your SCCM Installation. Fill in the details




    7.      And…NO ERROR. You are on next screen that means you are ready to install SCCM using SQL Server 2012 Smile




    So that’s how the SQL Server related issue got fixed. Enjoy Smile

































  • ImageResizer for Windows XP & Windows Vista/Windows 7 (both 32-bit/64-bit)

    These days everybody has digital camera with high resolution. Typically users click hi res with image sizes ranging from 2 MB to 10 MB depending upon the Megapixels supported by the Camera.

    Many of them use these for sharing with their friends and families. Often users try to mail these pictures over the email or instant messenger by zipping them but it does not help much. Approximately a 5 MB images will be compressed to up to 4 or 4.5 MB but that is also the very high size per image sending via email or messenger. Sometimes we use our trustful Microsoft Paint application for resizing images, which is cool but again for a single or couple of images it is ok to open up the image and to “Save As” Well imagine what if you have around 20 30 40 50 100+ images for resizing. Then it is a painful task for doing manual resizing.

    So, this is a problem that many of us must be facing in a day to day life as we click lot of pictures and share it across the web.

    What’s the solution?

    Well, the solution is to use a Image Resizer tool that we would talk about. An easy to use tool for resizing multiple images within few seconds. We are talking about ImageResizer PowerToy that was available for Windows XP and folks at CodePlex re-written the same application in C++ for Windows Vista & Windows 7 including support for 64-Bit version of Windows.

    DOWNLOAD LOCATIONS. These tools are freely available :)

    ImageResizer for Windows XP Download ImageResizer.exe

    ImageResizer for Windows Vista/Windows 7 Download ImageResizer-2.1_x86

    ImageResizer for Windows Vista/Windows 7 (FOR 64-Bit) Download ImageResizer-2.1_x64


    For original CodePlex Project visit http://phototoysclone.codeplex.com/

    For Detailed Documentation visit http://www.microsoft.com/windowsxp/using/digitalphotography/learnmore/tips/eschelman2.mspx

    How to use Image Resizer in Windows Vista & Windows 7. (Note: Same way you can resize the images in Windows XP)

    Step 1: Just right click on a single image or multiple images.



    Step 2: Select the required size typically Medium or Large or you can even select Custom size by entering the required resolution.


    Step 3: Once selected size you can click on the above option like “Resize the original pictures” This will not create the copies of the resized low res pictures but instead resize the original pictures.



    Click on OK and you will get the resized images in the same folder.



    So we have taken an example image for resizing. Compare the following 2 images and see the difference.

    Original Image Size: 5.05 MB Download

    Resized Image Size: 116 KB Download

    Now you can easily create and share pictures with your friends and families. You can email them quickly or send them over IM. You can also use these small sized images to quickly upload on your favorite Social Media Site such as Facebook, MySpace, Orkut etc.

    Happy Imaging :)

  • Microsoft Office Live Meeting using Internet Explorer 9 Beta

    In my previous post I covered how can you access Office Live WorkSpace from Internet Explorer 9 Beta On the similar note I have experienced some of the challenges while connecting to the Live Meeting using Internet Explorer 9 Beta. Last week I was about to attend an internal meeting using Live Meeting and since I was not connecting from Outlook, I copied my Live Meeting Link and pasted it in the browser’s address bar i.e. IE 9 Beta. Instead of opening the RTC file or giving any option to Open/Save, it landed me on the following page. You can see the link in the address bar.


    Generally, presenter & attendee links look like this…

    https://www.livemeeting.com/cc/<company>/join?id=<Meetind Id>&role=present&pw=<Presenter Entry Code>
    https://www.livemeeting.com/cc/<company>/join?id=<Meetind Id>&role=attend&pw=<Attendee Entry Code>


    Now, once you see the above image, you can see the Compatibility View button in the RED BOX. Just click onto it, the moment click it will reload the page or you can just press F5.

    You will be able to see the Compatibility View button will be highlighted in the image below. When you click on the Compatibility Button in IE 9, it will add livemeeting.com site in the Compatibility View Settings. It is available in Tools Menu. Press Alt+T to see the Tools Menu.


    Just click on Open and you can join the Live Meeting. From now on when you open copy/paste Live Meeting link in the browser it will directly open up this option to open Launch.rtc file rather than showing previous option.


    Over the time you will see lot of improvements in the browser. Do share your feedback with the teams so that we can improve it further.

    Have A Happy Meeting.

  • Windows 7 & Windows Server 2008 R2: Case of Missing Playback/Recording (Disabled) Devices

    You are using Windows 7 on daily basis and of course you enjoy. I have been using Windows 7 almost on every system except my demo machine where I run Windows Server 2008 R2. But that’s not a concern as the both the operating systems share a same code base. I use USB headsets or any other standard headsets for recording audio or joining conference instead of using laptop speakers.

    Sometimes it’s bit difficult to configure a Microphone because when you plug additional Microphone to your machine you have no idea exactly which Microphone is default. It could be your on board Microphone or USB Connected Headset’s Microphone. In most cases user try to disable the on board Microphone. This is how users do it.

    In the System Tray Right Click on Sound Icon and click on Recording Devices. Other option is go to Start –> Control Panel –> Sound.

    This will display all the available Recording Devices like this.


    To disable the first device in the list, Right Click and DISABLE


    Now, the moment you DISABLE the device, it will be gone and this is what you will see. And your DISABLED device is now missing from the list.


    For time being you have found a solution, your other device becomes default device and you can use headset Microphone for some time. But what if later on you need to use on board Microphone or in case where you don’t have your headset with you?? Hmm, that’s interesting I did not think about it.

    Now what users do to get back missing Microphone. Smile Well, ideally lot of things. Let me list down some of them.

    For this you will open up Device Manager to search the device.
    They will try to reinstall the device drivers.
    Users will even restart your system assuming that it may turn up somehow in the list.
    They will dry to unplug USB headset and many more things.

    Well, let’s see how do I get it back. No more hunting stuff. Well, usually the device when disabled becomes hidden device but due to default settings do not show disabled devices, you can’t see them in the list. Here is the easy solution below. Right Click on the empty area, then you see couple of options to Show Disabled/Disconnected Devices. Click on to it.


    Voila, you see those DISABLED/DISCONNECTED devices back in the list. You can right click onto it to and click Enable.



    Note: You can right click on any of the device and Set it as a Default Device. This is applicable for both Playback Devices as well as Recording Devices.

    Actually when you disable the device, it should be visible at the same time rather than finding that option. I have heard from many folks that they could not easily find the option to highlight the disabled/disconnected devices. It was like a challenging stuff to hunt down that option. I hope you will find it useful, saving your precious few minutes hunting down missing/hidden devices.

  • Microsoft Zeollar.com–Technical Webcasts are back from 13th January 2011

    It’s been long time since we had any live session on our Microsoft India Zeollar Channel. Starting 13th Jan. we will be starting back to Zeollar Webcasts with first session scheduled for IT Professionals.


    I will be presenting for IT Pro Channel on 13th Jan. 2011. The detailed topics and complete schedule will be published soon on the Zeollar site. For more information visit Zeollar.com

  • Connecting to Office Corporate Network (CorpNet) using Windows 7 DirectAccess on TATA Photon+ & RELIANCE NetConnect Broadband Internet Services

    We have released Windows 7 & Windows Server 2008 R2 last year. One of the features that we had deployed internally was DirectAccess. You must have heard about DirectAccess many times during our New Efficiency and similar set of launch events. We have been telling Better Together story with Windows 7 & Windows Server 2008 R2. Win 7 Blue

    From the blog topic you must have received some hint what am I going to cover in today’s post. Exactly the same thing i.e. Connecting to your Office Corporate Network using TATA Photon+ and Reliance NetConnect. I believe that many users are connecting to the Internet by using various options such as ADSL, Wireless, ISDN etc. DirectAccess feature works well seamlessly for most of the connections such Wireless at home, hotel, airports etc. I will be covering about connectivity in India where we have some of the major players offering high speed CDMA broadband connection. These players are TATA Photon+ and Reliance NetConnect Broadband. Both of them offer up to 3.1 Mbps connectivity but anyways we won’t go into that discussion. We will cover specifically connecting to CorpNet using TATA Photon+ and Reliance NetConnection because the very simple fact is that most of the users not able to use DirectAccess feature over these Internet Connection.

    I have been on to DirectAccess pilot since long time and by the time I joined it’s been an amazing experience connecting to CorpNet without going through standard VPN/RAS dialing process. But the sad part when I was not able to connect to my CorpNet using TATA Photon+ Card. I am using Tata Photon+ from last December but every time I was trying to connect to my CorpNet using DirectAccess there was no success and I was using regular RAS/VPN process. The same case happened even by trying out Reliance NetConnect Broadband. I tried different settings but no luck and then I decided to let it go. Later I got to know that most of colleagues are also facing similar problem and not able to leverage the DirectAccess feature.

    So, last week I was travelling and by that time I decided to find a solid conclusion before quitting

    and asking for the product group. And here it is how I found the solution to this problem and here are my findings.

    Checking DirectAccess Status

    Trying to connect to CorpNet Environment using TATA Photon+ Internet.

    Here is the standard TATA Photon+ Dialer, I will click on Connect to get connected to Internet.

    The Reliance Dialer looks exactly similar except the logo in the right corner. Basically the complete software is designed by HUAWEI Technologies Co., Ltd.


    In the red box, it is the actual profile or the actual Dial Up Connection created by the Huawei Access Manager.


    Let me try connecting to my computer in corporate environment, say aviraj-demo is my server in my Microsoft office environment. A minute after connecting to the internet, I will try to ping it and I get the reply in IPv6 format. It means by DirectAccess seems to be operational so far on my machine but not completely functional. Let’s test it.


    DirectAccess Attempt #1: Connecting to resources in my CorpNet

    Now, that I can ping let me try accessing files on that server or try to take remote of that server.

    Resource Output 1: Accessing internal site: http://sharepoint         Status: FAILED

    The does not open and it goes over the internet to search for this internal portal due to lack of connectivity.



    Resource Output 2: File Share (start -> run -> \\aviraj-demo )         Status: FAILED



    Resource Output 3: Remote Desktop Protocol – RDP (mstsc)         Status: FAILED



    TROUBLESHOOTING DirectAccess Using Windows 7 Built-in Troubleshooting Packs

    I am getting Ping response but it seems I have not yet got complete CorpNet access due to authentication. Then I decided to run the Troubleshooting Option located in Network and Sharing Centre.

    You can do that by clicking on Connection to a Workplace Using DirectAccess. I selected Automatic Repair check box.


    After running this wizard I got the following result. This was not much help, I tried updating group policy assuming that something is missing but nothing worked.



    TESTING OUTLOOK CLIENT CONNECTION…Hint for the solution!!!

    Since I am connected to Internet, I decided to open up Outlook 2010 Client. As soon as clicked on Outlook 2010 here is the prompt I got.


    Hmm, surprisingly instead of my own Domain\Alias i.e. fareast\i-aviraj I am prompted with something like internet. At this point I got that that every time I get connected to Internet I am prompted with my Alias so why every time when I get connected using TATA Photon+ I am prompted with internet.


    Get DirectAccess Working – SOLUTION # 1: Using Huawei Dialer & Credentials Manager

    Step 1: Get connected to the internet using the above stated process using TATA PHOTON+ Dialer or RELIANCE NETCONNECT BROADBAND DIALER.

    Step 2: Go to Control Panel , double click on Credentials Manager


    Step 3: Expand the first entry named *Session in the Windows Credentials with status Modified: Today



    This is the exact reason, the DirectAccess in not fully functional. Every time you connect using HUAWEI Connection Manager, it creates this Windows Credentials named *Session with Persistence: Logon Session. Because of this Logon Session entry, it bypasses the default domain credentials and the dialer provided credentials are used for authentication and subsequently gets failed due to failure of authentication.

    What is Logon Session?

    logon session

    A logon session begins whenever a user logs on to a computer. All processes in a logon session have the same primary access token. The access token contains information about the security context of the logon session, including the user's SID, the logon identifier, and the logon SID.

    More to read http://msdn.microsoft.com/en-us/library/aa378338(VS.85).aspx

    Step 4: Solving this issue and getting back to Domain Credentials


    Click on Remove Credentials and click on Yes

    Step 5: Success within a Minute. :)

    The moment you delete it, wait for few seconds and try to open any internal website say http://msw. Within moments, you will be asked for the prompt you have been for since months over your High Speed CDMA Broadband Connection.

    Voila!!! Success, this is what you have been waiting for since long time. DirectAccess over TATA Photon+ and Reliance NetConnect Broadband using HUAWEI Dialer.

    Windows Needs your Smart Card Credentials


    Double click on the Credential’s icon in system tray, insert Smart Card in reader and Enter PIN


    You will see your credentials getting verified.



    ***** SOLUTION 1 ENDS HERE *****

    We will test this solution if this really worked.

    DirectAccess Attempt #2: Connecting to resources in my CorpNet…Post Applying Solution 1

    Now that I have authenticated my credentials using Smart Card, I will check different resources.

    Resource Output 1: Accessing internal site: http://sharepoint        Status: SUCCESS


    Resource Output 2: File Share (start -> run -> \\aviraj-demo )         Status: SUCCESS

    This time I go to start run and enter the file share \\aviraj-demo and wait for the response.

    While hovering on to the taskbar I see my mouse point showing busy icon, it means my explorer trying to connect to the remote resource. After a minute or so, after resolving the server name here my output.


    Resource Output 3: Remote Desktop Protocol - RDP (mstsc)         Status: SUCCESS


    When Connected to Remote Desktop over DirectAccess


    This is solution working with Dialer because many users are willing to use TATA/RELIANCE DIALER because it helps giving the signal strength by showing HSIA/CDMA Status. Secondly, it helps keeping track of usage by providing detailed stastics and real time speed in KB/s.

    I hope this will surely help you experience DirectAccess over this high speed connection.



    Get DirectAccess Working – SOLUTION # 2: Using Windows Dialer instead of TATA/RELIANCE DIALER

    Let’s start by showing the same image…


    As I said the red box indicates this is basically Windows Dial Up connection that get’s dialed at the backend. Instead of using TATA/RELIANCE Dialer you can directly connect to the pre-configure Dial Up Entry from your network.

    Step 1: open the HUAWEI DIALER and read the Profile Name: TATA Indicom (in this example) close the dialer.

    Step 2: Click on the Network and Sharing Center Icon in system tray. You will see your profile. Click on this Profile name. In this example it is TATA Indicom. Click on Connect and click on Dial


    Step 3: Once connected Go to Control Panel , double click on Credentials Manager. You will not find the Windows Credentials containing any *Session entry.


    Try to access internal resource, within a minute you will be prompted for Windows Smart Card Credentials.


    ***** SOLUTION 2 ENDS HERE *****

    After then try using the same steps performed in DirectAccess Attempt #2.

    I hope that this post has given you sufficient number of ideas about connecting to CorpNet. Many of customers would be benefitted by this and they can now leverage the same over high speed CDMA networks or similar types of connections. Meanwhile, I will try working finding the any other alternate solution that can help us avoid deleting the credential manager data manually.

    I will be publishing a quick Screencast and will share it on http://edge.technet.com/people/aviraj

    Quick Reminder: We are undergoing Blog migration to newer platform this week. User comments are disabled. Feel free to ask any questions to me over an E-Mail: i-aviraj@microsoft.com

    Enjoy DirectAccess !!!

  • Text Messages (SMS) Synching with Exchange 2010 and Rule to move Text Messages (SMS) to a folder using Outlook 2010

    If you have Exchange 2010, you can leverage synching Text Messages (SMS) with the help of new Outlook Live for Windows Mobile.

    Open up this link in your Windows Mobile Web Browser https://update.outlook.com/cabs/OutlookLiveSetup.cab

    After installing you will get option to select Text Messages in your ActiveSync Settings.


    Now, that we have Outlook 2010 available for our day to day use and since it helps us get the Text Messages (SMS) synched over your Exchange 2010. I was wondering if there was any easy fast way of moving your text messages in a separate folder. By default all the text messages are lying in the Inbox folder and it is painful to move them 1 by 1.

    Here is the sample solution rule that could help you move all the Text Messages (SMS) to a separate folder.

    Note: This is specific to country code. In this case I am using Country Code for India +91. You may replace it with your Country using Contacts.

    Step 1: Create new folder as Text Messages in Mailbox


    Step 2: Click on Create Rule…


    Step 3: Click on Advanced Options…


    Step 4: Select with specific words in the sender’s address. Then click on specific words


    Step 5: Type +91 and click on Add button. Then click on OK


    Then click on Next


    Step 6: Select move it to the specified folder then click on specified.

    Select newly created Text Messages folder in Mailbox. Click OK.


    The rule will look like this and then click on Next>



    Step 7: Click Next and skip the EXCEPT RULES.

    Click Next and you will see the following Wizard.


    Select Name for the Rule: Text Messages

    Select Run this rule now on messages already in “Inbox”

    The option Turn on this rule is by default selected.

    Click on FINISH.

    After clicking FINISH, this will move all the Text Messages starting with +91 numbers will be moved to the Text Messages folder. I could not find the specific type option but this is the effective way for moving the messages.


  • Happy Diwali and Prosperous New Year !


    Wish you all a very Happy Diwali and Prosperous New Year. May this diwali bring you loads of happiness in your life.

    Avoid crackers and help environment.

  • Windows 7: Boot from VHD First Impression: Part 1


    As you all know Microsoft released the Windows 7 BETA build 7000 for testing. Many of you must be excited about the much more enhanced version of the operating system.

    Windows 7 is much more faster that the Windows Vista and utilizes the resources more efficiently improving end user performance. We have seen many new features related to UI and Performance.

    One of the best features that is being discussed around is the native support for VHD (Virtual Hard Disk) Yes the same VHD files that are used in virtualization platform i.e.. Hyper-V, Virtual Server and Virtual PC.

    Today we will see the following key items.

    • Creating native Virtual Hard Disk (VHD) in Windows 7
    • Creating and Attaching VHDs using Diskpart utility
    • Attaching and Detaching the VHD file


    Creating Native Virtual Hard Disk (VHD) in Windows 7


    Right Click on My Computer and Click 'Manage' that will open up Computer Management, in that click on Disk Management.

    Disk Management


    Right Click on Disk Management and select 'Create VHD' This will open new windows 'Create and Attach Virtual Hard Disk'



    In this windows select the location where you want to create the VHD file. Make sure you have sufficient free space while creating new VHD file. After that provide the Virtual Hard Disk size and format of the VHD.

    By default the Fixed size is recommended but you can select Dynamic expanding if you don't want to allocate the disk space. There would be slight performance difference between fixed size and dynamically expanding.

    For production environment it is suggested to go for Fixed size. For the demo purpose we will go ahead with dynamically expanding VHD format.

    created vhd


    Click on OK and that will install newly attached (mounted) VHD. Now next step will be initializing the disk

    newly mounted vhd


    Alright now Right Click on Disk 1 (Blue icon) and click on 'Initialize' This will open a new window 'Initialize Disk.'

    Select the partition and click on 'OK.' You can leave the current selection to default.

    initialize done


    As you can see now the status of the Disk 1 is changed to 'Online.' We create a new simple volume on the Disk 1



    So Right Click on the 'Unallocated' area and select 'New Simple Volume' This will launch 'New Simple Volume Wizard.'

    After that click on next and specify size, we will  keep the default NTFS File System and select the complete size i.e. 20 GB and click on 'Next' to specify drive letter. I will select Drive Letter 'X:' and click on 'Next'

    On the next page we will select Label for the drive (in this case 'Windows7') and click on 'Next.' Now, we will get the brief summary of the choices we selected. Click on 'Finish' to continue.

    simple volume


    This way we have successfully created a new Virtual Hard Disk. As you can see the status of the
    disk ready



    Creating and Attaching VHD using Diskpart utility


    Open the Elevated Command Prompt with Administrator Privileges and type the following commands


    CREATE VDISK FILE="c:\win7\win7.vhd" MAXIMUM=20000

    SELECT VDISK FILE="c:\win7\win7.vhd"






    This will create the VHD file of primary partition. You will see the newly attached disk in Disk Management with Drive Letter X:

    create using diskpart


    Attaching and Detaching VHD in Windows 7


    Right Click on My Computer and Click 'Manage' that will open up Computer Management, in that click on Disk Management. Just like previous part.

    Then Right Click on Disk Management and select 'Attach VHD' This will open new windows 'Attach Virtual Hard Disk'




    Click on OK and that will attach the existing Virtual Hard Disk. Now, if you don't want to make write anything on the VHD, we will select the 'Read-only' check box

    attach read only

    And subsequently we will have the attached VHD in explorer.

    disk ready




    To detach the VHD simply Right Click on the 'Disk 1' (Blue Color) and select 'Detach VHD'

    detach vhd

    After clicking on 'Detach VHD' you will be prompt you with 'Detach Virtual Hard Disk' message. Click on OK to detach. Also, if you want delete the VHD permanently you can select the Checkbox.

    detach delete data


    This way we have seen how can we create new VHDs, attach/detach existing VHDs using Disk Management and Diskpart utility.

    In the next part we will how can we boot the newly created VHDs using Windows 7 or Windows Server 2008 R2 (aka Windows Server 7)



  • My next favorite role at Microsoft Corporation India as an IT Pro Evangelist

    It’s been a long time since I blogged and the reason because I wanted to take this opportunity to share this news with you all. I am taking up my next favorite position at Microsoft Corporation India as a Technology Evangelist effective 11/26. In last 2.5 years I had been working with Microsoft IT – Infrastructure Management team and now I will be part of Microsoft India DPE Evangelism Team.

    Thank you all for your support and co-operation. Your potential & enthusiasm always give us that extra edge to do more with our technology. I am looking forward to work with the technical audience across India and around.

    Update: My new alias & mail id is aviraj@microsoft.com

  • Microsoft Internet Explorer 9 Beta: First Hand Experience…Beauty of the Web Unleashed !!!

    Hello All,

    Now that Microsoft Internet Explorer 9 Beta, you would like test drive the same. I am sharing some of the first hand experience. The post will cover the brief about Internet Explorer 9 Beta deployed on Windows 7 machine with 64-bit version of Internet Explorer 9 Beta Release. In this post you will see the first hand experience with Internet Explorer 9 Beta on Windows 7. The machine that I am using is Lenovo T61p machine running Windows 7 Ultimate Edition. So let’s get going.



    Experience the Beauty of the Web at http://www.beautyoftheweb.com/



    Some of the new features of Windows Internet Explorer 9 are as follows.

    Internet Explorer 9 is all-around fast

    Designed to take full advantage of your Windows PC’s hardware, Internet Explorer 9 delivers graphically rich and immersive experiences that are as fast and responsive as native applications installed on your PC. These new features make Internet Explorer 9 fast.

    Hardware-accelerated Graphics.

    As an example of how Internet Explorer 9 takes advantage of the power of the whole PC, rendering of graphics and text has been moved from the CPU to the graphics card (graphics processing unit or “GPU”), using the Direct2D and DirectWrite sets of Windows application programming interfaces (APIs). Hardware-accelerated text, video, and graphics means your websites perform like native applications installed directly on your Windows PC.

    Fast installation experience.

    Compared to Internet Explorer 8, Internet Explorer 9 asks fewer questions, installs much faster, and does require a reboot. Internet Explorer 9 installations require 4 clicks. Internet Explorer 8 installations required 13 clicks (and up to 23 clicks when using custom settings).

    Pinned Sites

    Most users visit a small number of websites daily, often several times a day. These sites are frequently full-featured Web applications that have their own navigation, site search, and notification of new content that users depend on rather than using browsing controls. By pinning a site, the site is at the center of the experience, not the browser.

    One-click navigation

    With Pinned Sites, users’ favorite websites can be accessed directly from the Windows Taskbar without having to first open the browser. If users are within the browser, they can quickly access their favorite sites from the New Tab page.

    And how it is different than Internet Explorer 8

    Browser Interface - The new interface in Internet Explorer 9 is minimal with all toolbars turned off by default. Also the address bar and search bar are now merged. The favorites button has been moved to the right hand side next to the Home and Tools buttons and along with it the Favorites and History columns. The status bar is also disabled by default, and most of the messaging is done through the notification bar that pops up towards the bottom of the page.

    Download Manager - There is a new download manager where we can view past downloads and their locations and also set a default save location. Like most explorer windows, the download manager also has an integrated search bar in the top right corner. The short cut for opening the manager is Ctrl + J. When a file is being downloaded the download bar pops up at the bottom of the Internet Explorer window and provides options for saving or running files and also to pause, cancel or view downloads. If Internet Explorer is closed in the middle of a download, the download will pause and then continue once Internet Explorer is opened again.

    Add-on Manager – There are no major changes to the looks of the Add-on manager. However, the messaging and background functionality has been completely overhauled. By default all add-ons are disabled after installation of Internet Explorer 9. There is a notification on first start-up which allows the user to enable any add-ons they need. Also when Internet Explorer hangs or slows down due to an add-on the notification bar announces the same so as to keep the user aware of any problematic add-ons.

    Improved Performance – This includes played audio and video and allows for very fast rendering of these elements. Also the new Chakra JavaScript engine allows for faster page loads for existing webpages that use JavaScript. The overall memory usage as well as power consumption has also been improved allowing for better experience on lesser memory systems and a longer battery life.


    Installation Experience & Browser Interface (Aero Snapping or Tab Exchange within multiple browser sessions)

    Let’s kick start with installation. You can download Internet Explorer 9 Beta and install. Installation is easy, just 4 click compared to IE 8, single restart and my IE 9 Browser is ready to rock.

    The first thing you will notice is new icon vibrant icon for Internet Explorer 9 in Taskbar.


    And here is my Internet Explorer 9 Beta browser’s About Page…



    For the first time when click on IE 9 icon this is how my new Internet Explorer 9 Beta browser looks like…Very Clean, Crisp and Vibrant. No more menus, no more additional buttons, no stuff making is messy. First time you launch the browser it gives you an option to manage your add-ons. It calculates how much each add-on takes to load, making your browsing experience slower. You can quickly configure the add-ons and disable unwanted add-ons. Simple and what you see next is the simple to use interface.

    First Time Launching IE

    Now, let’s see how can you get back your core stuff like Favorites, Menus and other Toolbars. Well, they are there but not exposed Out-of-the-box to give you best experience.

    Press Alt Key and you get your Menu options back…



    If you are interested to see those common menu options without clicking ALT. They are located in right hand corner.


    That’s your Home Button, Favorites Icon & Tools in the right corner. And if you right click you will have option to enable your toolbars and/or unlock them.



    After this let’s check out the New Tab option. And here I can see frequently visited sites. Open up any site and see the blazing performance.


    Now, something interesting to play around. If you want to group similar sites or tabs, if you want to move tabs across multiple Internet Explorer windows. It was not possible earlier..Now you can do it like this…Just DRAG THE TAB. You can have a new window or you can perform Aero Snap for side by side comparison. Total Windows 7 Experience. You can even restore the Tab in the same Window just like that…Drag & Drop. Seamless Experience.

    Pull Tab


    Pinned Sites

    This experience is totally integrated with Windows 7. I liked the complete browser integration with the Windows 7. So the idea is simple if you like any site, just drag it to the Taskbar and it is available as Pinned Site. Here is an example.

    Pin to TaskBar

    You can Pin many sites…and what more these Pinned Sites let you accomplish the common tasks extending your overall experience. This is how it looks like when you Pin the site.


    If I right click on say MSN or Facebook. This is the beauty of IE 9 & Windows 7.


    And if you get any update you get quick notification, just like you standard Windows application. So here is a quick update on my Facebook Profile and my Facebook App Icon changes. This is superb.

    Pin to TaskBar 3

    Now, let’s launch the website by clicking on to this Facebook Icon and see the total experience. You will the button have Facebook shade, there is a Facebook look. It looks like complete custom Facebook Application.

    Mask FB

    Let’s try to see with Bing.com. It just works real time.



    Download Manager & Add-on Manager

    This is my favorite feature. I have been waiting for this feature since long time. Here is how it looks like. You want to download file. Often you are travelling or connected on slow connections, the connectivity breaks and you lose the downloaded data. After reconnection the story begins. Well, here is the Download Manager built-in Internet Explorer to take care of that issue. This is how the experience is…

    You click on the file to download. Once you hit download button, you see a notification at the bottom of the window with some options like Open, Save & Save As.

    Built in Downloading 0

    Let me start downloading and I can see real time downloading. I can Pause/Resume, no worries at all.

    Built in Downloading


    I will click on View Downloads to see the Download Manager. This is my Download Manager Window.

    Built in Downloading 2

    I can change the default download location below.

    Built in Downloading 3


    This is the best part. Often I can’t collect the download location of the exact file directly. But just right on the down and you can obtain the exact download link. So you can use it in future.

    Built in Downloading 4


    For Managing Add-on, we have the same Add-ons Manager. It is same as the older one but with little messaging & background functionalities improved.



    Developer Tools

    Just hit F12 & you get all the Developer Tools you ever wanted including Profiler.



    For more features visit http://windows.microsoft.com/en-US/internet-explorer/products/ie-9/features


    By any chance if you feel to uninstall the IE 9 Beta due some compatibility issue or some critical factors, you can go to Programs & Features and click on View installed Updates. You can see there is an update Windows Internet Explorer 9. You can uninstall it and roll back to Internet Explorer 8 in case there are any challenged. But I believe you will enjoy the blazing Internet Explorer 9 Experience. So let’s get going.


    That’s all from my end and I hope you will enjoy Internet Explorer 9 Beta as much as I do. I will leave the rest of the features to explore on your own. Do send your feedback to Microsoft for making it much more better experience for fixing any critical issues until it reaches RTM milestone.

    download IE9 & Have a HappIE Browsin9


    Thanks to Sanjay Vyas for pointing out the correction.

  • HTC Firmware Update for Windows Phone.

    Today, I received this new HTC Firmware revision for my HTC Mozart running Mango RTM.


    Firmware revision from 2250.21.40600.707 to 2250.21.50001.707.

  • HTC Update for Windows Phone

    Couple of weeks back I blogged about HTC Firmware Update on my Windows Phone Mango Device over here HTC Firmware Update for Windows Phone

    Today I received another update for Windows Phone Mango.


    In this HTC Update for Windows phone Firmware revision remains the same but the RFU is updated from earlier 411408 to this current 417350.


    After installing this firmware update, as seen in the screenshot, it upgraded Firmware. Firmware revision from 2250.21.50001.707 to 2250.21.51001.707.

    New Feature: INTERNET SHARING feature is now enabled on my HTC Mozart. You can connect up to 5 Guests i.e. 5 users can connect.

    To enable INTENRET SHARING. Just to go Settings –> INTENRNE SHARING is now available. This will make your HTC Phone as a Wireless Broadcast Device.

    For security you can setup a Password with Min. 8 characters.


  • Microsoft Download Center: Windows Assessment and Deployment Kit (ADK) for Windows® 8 Release Preview


    Windows Deployment is for OEMs and IT professionals who customize and automate the large-scale installation of Windows, such as on a factory floor or across an organization. The Windows ADK supports this work with the deployment tools that were previously released as part of the OEM Preinstallation Kit (OPK) and the Windows Automated Installation Kit (AIK) and include Windows Preinstallation Environment, Deployment Imaging, Servicing and Management, and Windows System Image Manager.
    IT Professionals can use features in the Windows ADK to facilitate deployment of a new version of Windows. The Application Compatibility Toolkit (ACT) inventories applications used in your organization and identifies potential applications compatibility issues. With the User State Migration Tool (USMT), IT Professionals can migrate user data from existing Windows installations. Volume Activation Management Tool (VAMT) enables IT professionals to Windows installations in their organization and manage the activation status of their PCs.
    Assessments are for OEMs, IHVs, and IT professionals who measure the operational characteristics of a computer, including its performance, reliability, and functionality. Windows assessments are tools that help you make these measurements, diagnose problems, and determine how to make improvements. Windows assessments can help reduce costs by identifying potential issues as you create your hardware and software experiences. By using these tools, you can help ensure that the hardware and software that you develop are responsive and high-quality.
    Features available in the Windows ADK include:

    • Application Compatibility Toolkit (ACT): The Application Compatibility Toolkit (ACT) helps IT Professionals understand potential application compatibility issues by identifying which applications are or are not compatible with the new versions of the Windows operating system. ACT helps to lower costs for application compatibility evaluation by providing an accurate inventory of the applications in your organization. ACT helps you to deploy Windows more quickly by helping to prioritize, test, and detect compatibility issues with your apps. By using ACT, you can become involved in the ACT Community and share your risk assessment with other ACT users. You can also test your web applications and web sites for compatibility with new releases of Internet Explorer. For more information, see Application Compatibility Toolkit.

    • Deployment Tools: Deployment tools enable you to customize, manage, and deploy Windows images. Deployment tools can be used to automate Windows deployments, removing the need for user interaction during Windows setup. Tools included with this feature are Deployment Imaging Servicing and Management (DISM) command line tool, DISM PowerShell cmdlets, DISM API, Windows System Image Manager (Windows SIM), and OSCDIMG. For more information, see Deployment Tools.

    • User State Migration Tool (USMT): USMT is a scriptable command line tool that IT Professionals can use to migrate user data from a previous Windows installation to a new Windows installation. By using USMT, you can create a customized migration framework that copies the user data you select and excludes any data that does not need to be migrated. Tools included with the feature are ScanState, Loadstate, and USMTUtils command line tools. For more information, see User State Migration Tool.

    • Volume Activation Management Tool (VAMT): The Volume Activation Management Tool (VAMT) enables IT professionals to automate and centrally manage the activation of Windows, Windows Server, Windows ThinPC, Windows POSReady 7, select add-on product keys, and Office for computers in their organization. VAMT can manage volume activation using retail keys (or single activation keys), multiple activation keys (MAKs), or Windows Key Management Service (KMS) keys. For more information, see Volume Activation Management Tool.

    • Windows Performance Toolkit (WPT):Windows Performance Toolkit includes tools to record system events and analyze performance data in a graphical user interface. Tools available in this toolkit include Windows Performance Recorder, Windows Performance Analyzer, and Xperf. For more information, see Windows Performance Toolkit.

    • Windows Assessment Toolkit: Tools to discover and run assessments on a single computer. Assessments are tasks that simulate user activity and examine the state of the computer. Assessments produce metrics for various aspects of the system, and provide recommendations for making improvements. For more information, see Windows Assessment Toolkit.

    • Windows Assessment Services: Tools to remotely manage settings, computers, images, and assessments in a lab environment where Windows Assessment Services is installed. This application can run on any computer with access to the server that is running Windows Assessment Services. For more information, see Windows Assessment Services.

    • Windows Preinstallation Environment (Windows PE): Minimal operating system designed to prepare a computer for installation and servicing of Windows. For more information, see Windows PE Technical Reference.

    Supported operating systems: Undefined, Windows 7, Windows Server 2008 R2, Windows Server 2008 R2 SP1, Windows Vista

    To install the Windows ADK, your computer must be running one of the following operating systems:
    • Windows® 8
    • Windows® 7
    • Windows Server® 8
    • Windows Server® 2008 R2
    • Windows Vista®
    • Windows Server® 2008 with Service Pack 2
    The Microsoft .NET Framework 4 is required and Windows ADK installs it automatically.
    Be aware of the supported platforms and requirements for the following features in the Windows ADK.
    Application Compatibility Toolkit: You can install the Application Compatibility Toolkit (ACT) on any of the supported Windows ADK operating systems and also on Windows® XP SP3, and Windows Server 2003.
    Deployment Tools: To use the PowerShell cmdlets for Deployment Imaging Servicing and Management (DISM) or Volume Activation Management Tool (VAMT), PowerShell 3.0 must be installed. Windows 8 and Windows Server 8 include PowerShell 3.0 by default. For earlier versions of Windows, install PowerShell 3.0 from this Microsoft website.
    Windows Assessment Toolkit: The Windows Assessment Console can be installed on the following operating systems: Windows® 8, or Windows® 7 with SP 1.
    Windows Assessment Services: To install Windows Assessment Services, your server must be running one of these operating systems: Windows Server® 8 or Windows Server® 2008 R2 Enterprise, Standard, or Datacenter edition. Windows Assessment Services is not supported on Server Core or on Domain Controller Servers. By default, the Windows Assessment Services-Client is installed on the server where you installed Windows Assessment Services. You can also install it on a client computer. To install Windows Assessment Services -Client, your computer must be running one of these operating systems: Windows Server® 8, Windows Server® 2008 R2, Windows® 8, or Windows® 7 with SP1.
    Windows Performance Toolkit: The Windows Performance Toolkit can only be installed on the following operating systems: Windows® 8, Windows Server® 8, Windows® 7 with SP1, or Windows Server® 2008 R2.
    User State Migration Tool: The User State Migration Tool (USMT) tools can be manually copied to other versions of Windows, including Windows XP. For more information, see USMT Requirements.


    For complete installation options, see http://go.microsoft.com/fwlink/?LinkId=234980.
    To install the Windows ADK:
    1. Run ADKSetup.exe.
    2. Click Install, specify the location where you want to install the Windows ADK features, and then click Next.
    3. Select the Windows ADK features that you want to install, and then click Install.