• 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

     

    RESOLUTION

    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’

     imageimage

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

    image

    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.

    image

     

    NOTE: SOMETIMES WHEN YOU CREATE NEW CONNECTION AND CLICK ON CONNECT AFTER ‘VERIFYING USER NAME AND PASSWORD’ YOUR CONNECTION GETS DISCONNECTED WITH ERROR 629: THE CONNECTION WAS CLOSED BY REMOTE CONNECTION. IN THIS CARE REBOOTING THE MACHINE RESOLVES THE ISSUE.

    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:\>cd\

    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.

    image

     

    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:\windows\system32>cd\

    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

    image

    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.

    image

    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

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

    Hello,

    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.

    image

     

    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)

    image

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

    image

    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

    sysprep

    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

    Note:

    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.

    bcd

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

    image

     

    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.

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

    Hello,

    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'

    create

     

    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

     

    unallocated

    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

    DISKPART

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

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

    ATTACH VDISK

    CREATE PARTITION PRIMARY

    ASSIGN LETTER=X

    FORMAT QUICK LABEL=Windows7

    EXIT

    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'

     

    attach

     

    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

     

    NOW WE WILL DETACH THE VHD

     

    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)

     

    Thanks

  • Microsoft® Hyper-V™ Server 2008 R2 Beta released to test

    Hello,

    Microsoft Hyper-V Server 2008 R2 is stand-alone product for virtualization for better utilization of your hardware reducing cost. Hyper-V Server 2008 R2 comes with lot of new features like Live Migration, Expanded Processor and Memory support for host machines. Along the ways single solution for all of your consolidated virtual servers running on single physical server.

    Microsoft Hyper-V Server 2008 R2 beta is available for download. Back in September 2008 Microsoft released the standalone virtualization server solution for virtualization called as Microsoft Hyper-V Server 2008 for free. Requirements for the Hyper-V Server 2008 R2 are similar to Hyper-V Server 2008.

    The Microsoft Hyper-V Server solution is good for the Test & Development Environments, Branch Offices and for Basic Server Consolidation.

    Note: This is a pre-release version of Microsoft® Hyper-V™ Server 2008 R2 and not intended to be used in a production environment.

    For more information visit about Hyper-V Server 2008 visit http://www.microsoft.com/servers/hyper-v-server/default.mspx 

    You can download Microsoft® Hyper-V™ Server 2008 R2 

    http://www.microsoft.com/downloads/details.aspx?familyid=E464E255-CDD5-44B2-84E6-3233EAE3F356&displaylang=en

    Also, download Microsoft® Hyper-V™ Server 2008 R2 (beta) Configuration Tool Guide

    http://www.microsoft.com/downloads/details.aspx?familyid=5C88B04D-2896-4FA4-9E59-7BC4442FF333&displaylang=en

    Happy Virtualization

  • Windows 7 Remote Server Administration Tools Released

    Remote Server Administration Tools are released for Windows 7. Using RSAT tools that enables Windows 7 client to configure roles and features that are installed on computers running Windows Server 2008 R2, Windows Server 2008 or Windows Server 2003.

     You can download the Windows 7 RSAT Tools from the following location.

    http://www.microsoft.com/downloads/details.aspx?FamilyID=82516c35-c7dc-4652-b2ea-2df99ea83dbb&displaylang=en

    The RSAT tools available in both x86 and x64

    Windows6.1-KB958830-x64.msu 30.9 MB
    Windows6.1-KB958830-x86.msu 24.3 MB

     Supported Operating Systems: Windows 7 Business, Enterprise and Ultimate Edition.

    Some of the important things before installing RSAT Tools from Microsoft.com

    Installing Remote Server Administration Tools for Windows 7

    You must be either a member of the Administrators group on the computer on which you want to install the Administration Tools pack, or you must be logged on to the computer by using the built-in Administrator account.

    Important: Remove all versions of Administration Tools Pack or Remote Server Administration Tools for Windows Vista with SP1 from the computer before installing Remote Server Administration Tools for Windows 7.

    Important: Only one copy of Remote Server Administration Tools for Windows 7 can be installed on a computer at one time. Before you install a new package, remove any existing copies of Remote Server Administration Tools for Windows 7. This includes any copies that are in different languages. To remove existing copies of Remote Server Administration Tools for Windows 7, see Removing the complete Remote Server Administration Tools for Windows 7 pack on this page.

    Visit the download link for much more detailed information. RSAT tools for Windows 7 will enable IT Professional to easily manage the IT Infrastructure more confidently.

  • Download Windows 7 Beta for TechNet and MSDN Subscribers !!!

    TechNet and MSDN Subscribers can now download the Windows 7 Beta release. At PDC, you have seen the M3 Build in action.

    The Windows 7 Beta relesae is the build 7000 available for both x86 and x64 bit platforms.

    For more info visit windows team blog: http://windowsteamblog.com/blogs/windows7/archive/2009/01/07/information-on-downloading-and-installing-windows-7-beta.aspx