Blog

  • Registering ASP.NET 4.5 with IIS8

    In Windows Server 2012, DotNet 4.5 are shipped as part of OS but DotNet 4.5 is not registered with IIS8 be default. If you try to run aspnet_regiis.exe as you did for Windows Server 2008 R2, you will see following error

    Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929
    Administration utility to install and uninstall ASP.NET on the local machine.
    Copyright (C) Microsoft Corporation. All rights reserved.
    Start installing ASP.NET (4.0.30319.17929).
    This option is not supported on this version of the operating system. Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the “Turn Windows Features On/Off” dialog, the Server Manager management tool, or the dism.exe command line tool. For more details please see http://go.microsoft.com/fwlink/?LinkID=216771.
    Finished installing ASP.NET (4.0.30319.17929).

    Solution

    (Following step by step tutorials are copied from IIS 8.0 Using ASP.NET 3.5 and ASP.NET 4.5 )

    Step by Step Instructions enabling AspNet on IIS8

    (more…)

  • How to Search in Windows Store

    You might notice that there is not search box in Windows Store and find it’s difficult to see a way to search app in store. Here are steps:

    1. WinKey + C to open the charms bar
    2. Click or tap “Search”
    3. Enter what you want to search for

    Update: actually step #2 & 3 is not necessary, when you go to store, you can just start typing and search will automatically come up. You can even do same in the start screen!

    Screenshot for searching OneNote in Store.

    image

  • Windows 8 IE 10 Launch Options

    In Windows 8 You can configure IE10 to always open in the default Metro style or in Internet Explorer for the Desktop, as you prefer.

    To configure the way links display in IE10 when you open them:

    1. If you are using a Metro version of IE, when viewing a site in IE10, click Page Tools and select View on the desktop.
    2. Click Tools, and select Internet options.
    3. Click to display the Programs tab.
    4. In the Opening Internet Explorer section, select the default option you desire from the menu, and then click OK.image

    There are 3 IE launch options.

    Let Internet Explorer decide

    This option will choose which version of IE to open depending on the context where the link was selected. Selecting a link from a Metro style-app will open the touch-optimized version of the browser. Selecting a link from an application or icon on the desktop will open the desktop version of the browser. This option is the default.

    Always in Internet Explorer

    Links from all apps, including desktop apps, will open in Metro version of IE.  The only exception here is IE icons and Internet shortcuts on the desktop.

    Always in Internet Explorer on the desktop

    Links from all apps, including Metro style-apps, will open Desktop version of IE.

  • Turning on and off GUI in Windows Server 2012

    When you install Windows Server 2012, you can choose between Server Core Installation and Server with a GUI. The Server with a GUI option is the Windows Server 2012 equivalent of the Full installation option available in Windows Server 2008 R2. The Server Core Installation option reduces the space required on disk, the potential attack surface, and especially the servicing requirements. In Windows Server 2012, you can freely switch between these options at any time, one approach might be to initially install the Server with a GUI option, use the graphical tools to configure the server, and then later switch to the Server Core Installation option.

    To use PowerShell to switch between Server Core and Full Server with GUI

    Full Server with GUI to Server Core

    Uninstall-WindowsFeature Server-Gui-Mgmt-Infra -Restart

    Server Core to Full Server with GUI

    Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell -Restart

  • Deploy Windows 8 to a virtual hard disk

    Windows 7 introduced Native VHD boot which allows user to install Windows 7/Windows server 2008 R2 on a physical box to a virtual hard disk (VHD). You can do same process in Windows 8

    1. Boot from the Windows 8 media (USB, CD, etc.).
    2. At the Install screen, press Shift+F10 to open a command prompt.
    3. Start diskpart and create the VHD file you want to install to:

      create vdisk file=c:win8.vhd maximum=80000 type=expandable
      select vdisk file=c:win8.vhd
      attach vdisk
      create partition primary
      format fs=ntfs label=”Win8″ quick

    4. Exit diskpart, and when you install Windows 8 you’ll be able to select your VHD volume (ignore the warning that you won’t be able to install).

    If this is an existing machine, and you want to dual boot rather than wipe the disk, then don’t perform the first three blocks of commands.

  • Difference between Windows Client Hyper-V and Server Hyper-V

    Windows 8 supports virtualization on the client OS to allow IT professionals and developers to use Hyper-V as a desktop operating system. If you are an IT Professional or developer that uses Windows Server as development operating environments, you should be excited about new client Hyper-V feature in Windows 8 and wonder what are some of the key differences and similarities between Windows 8 Hyper-V and Windows Server 2012 Hyper-V?

    Here are the some of the key differences in Windows 8 Client Hyper-V from Windows Server 2012 Hyper-V:

    • No Hyper-V Replica
    • No Hyper-V Network Virtualization
    • No Virtual Machine Live Migration (Requires Failover Clustering only in Windows Server)
    • No Shared Nothing Live Migration
    • No SR-IOV (You need server class hardware; appropriate firmware, etc; you won’t find this on desktops)
    • No Failover Clustering (Client doesn’t include Failover Clustering)
    • No Virtual Fiber Channel
    • No RemoteFX GPU Hardware Acceleration ( which requires RDV only in Windows Server)
    • Second Level Address Translation (SLAT) HW required

    And the commonalities between Windows 8 Hyper-V & Windows Server 2012 Hyper-V

    • Virtual Machines created with Client Hyper-V are 100% compatible with Server Hyper-V
    • Client Hyper-V offers the same VM scale as Server
      • Up to 64 virtual processes per VM
      • Up to 64TB per virtual disk ( vhdx format )
      • Up to 1 TB of memory per VM.
    • Live Storage Migration is included
    • Support VHD Storage on SMB3 file shares
    • 100% PowerShell/WMI compatibility in management from Client to Server.
    • Client Hyper-V offers the full rich, open and extensible Hyper-V virtual switch.
    • QoS, bandwidth management and other advanced virtual switch capabilities are in there
  • Install Hyper-V Manager on Windows 10

    To remotely manage your Windows Server 2008 Hyper-V server from a windows 7 desktop, you need install RSAT (Remote Server Administrator Tool). This has been simplified in Windows 10. In Windows 10, Hyper-V management tool is built in, Hyper-V manager can be turned on via “Turn Windows features on or off” dialog directly without downloading RSAT.

    image

    However, Hyper-V manager in Windows 10 can’t manage can’t manage Hyper-V running on downlevel operation systems. If you connect using Hyper-V manager it would fail with following error:

    This version of Hyper-V Manager cannot be used to manage server running Hyper-V in Windows Server 2008 or Windows Server 2008 R2

    The only workaround so far is remote into a Windows 7/Windows Server 2008 R2 machine and run Hyper-V manager there.

  • Solution for Unresponsive Win8 Guest VMs

    If you’re going to run Windows 8 or Windows Server 2012 in a virtual machine on Windows Server 2008 R2 Hyper-V, please install this hotfix patch http://support.microsoft.com/kb/2744129 on the Hyper-V host server,

    Without applying this hotfix, you may experience one or more of the following issues:

    • The Windows 8/Server 2012 virtual machine becomes unresponsive.
    • The Windows Server 2008 R2 host server displays a stop error message and restarts automatically.

    Update: the http://support.microsoft.com/kb/2744129.has been added to Windows Auto Update.

  • SkyDrive Upgrade to 25GB free storage

    After I installed new SkyDrive Windows clientI noticed that SkyDrive is changing to a tiered pricing. The new default storage Microsoft offers will be 7GB, down from 25GB. It seems the main reason is most existing SkyDrive user don’t use more than 7GB.

    The good news is Microsoft is taking good care of existing SkyDrive users with a limited time free upgrade offer. If you are a current SkyDrive user and want to keep 25GB free storage, you need request a free upgrade with one single click.

    1. Go to https://skydrive.live.comand login with your live id
    2. Click Manage Storage link
    3. Click Free Upgrade button (more…)
  • SkyDrive Release Windows Client

    Last time I posted a blog talked about SkyDrive is Live with OneNote Sync which you can Sync OneNote 2010 notebooks to SkyDrive. Now you can put every files in your PC on the SkyDrive and access it from anywhere, any devices.

    Earlier today, Mike Torres and Omar Shahine from Microsoft, posted a blog via the Building Windows 8 blog site announced new SkyDrive Windows desktop client release. The SkyDrive release also includes new version for several platforms including Mac OS X, iPad, Windows Phone, iPhone. (more…)