Tag: Windows 8

  • Using Hyper-V in Windows 8

    In Steven Sinofsky’s this blog – Bringing Hyper-V to “Windows 8”. He talks about that Windows 8 will support virtualization on the “client” OS.  This is very helpful for developers as they typically have the need to setup additional test environment on their PC/Laptop.

    Hardware Requirements

    Hyper-V supports creation of both 32-bit and 64-bit operating systems in VMs. To run Client Hyper-V, your computer must:

    • Be running a 64-bit version of Windows 8.
    • Have a CPU that supports Second Level Address Translation (SLAT), To determine if your CPU supports SLAT, go to How to tell if your CPU Supports SLAT

    Enabling Client Hyper-V

    1. In the Windows 8 Control Panel, tap or click Programs, and then tap or click Programs and Features.
    2. Tap or click Turn Windows features on or off.
    3. In the Windows Features dialog box, select the check boxes for the Hyper-V items that you want to install, and then tap or click OK. image
    4. Tap or click Close.

    Note: You must restart your computer to complete the Hyper-V installation. After restarting the computer, you can use Hyper-V Manager or Windows PowerShell to create and manage VMs. You can also use VM Console to connect to VMs remotely.

    Enabling Client Hyper-V with Command Line Tool

    • Use Windows PowerShell. At the Windows PowerShell prompt (using administrator credentials), type the following:

    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V

    • Use the Windows Command Prompt. At the Windows command prompt (using administrator credentials), type the following:

    Dism /online /enable-feature /featurename:Microsoft-Hyper-V –All

    What Isn’t Included in Client Hyper-V?

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

  • Windows 8 Developer Preview Key

    To install Windows 8 Developer Preview you do not need a product key for activation. However, you would be asked to enter a product key while re-installing Windows 8 Developer Preview Key.

    If you need to reinstall Windows Developer Preview or use the Reset functionality, you might be asked to enter this product key:

    6RH4V-HNTWC-JQKG8-RFR3R-36498

    If you’re running a server version of Windows Developer Preview, you can use this product key:

    4Y8N3-H7MMW-C76VJ-YD3XV-MBDKV

    The key is provided by Microsoft employee BillFill in msdn forum. You can find the BillFill’s post here

    Update 3/1: For Windows 8 Consumer Preview, you can use this product key:

    DNJXJ-7XBW8-2378T-X22TX-BKG7J

    Update 6/1: For Windows 8 Release Preview, you’ll need to enter this product key:

    TK8TP-9JN6P-7X7WW-RFFTV-B7QPF

  • Windows 8 Shortcut Key Combination

    Here is a list of new shortcuts specific to Windows 8. You might it useful when you are in Windows 8 new Metro style UI. For me I found WinKey + C and WInKey + I really helps a LOT

    Hotkeys unchanged from Windows 7

    Windows Display or hide the Start menu.

    Windows-Left Arrow Dock the active window to the left half of the screen (does nothing to Metro-style applications).

    Windows-Right Arrow Dock the active window to the right half of screen (does nothing to Metro-style applications).

    Windows-Up Arrow Maximize the active window (does nothing to Metro-style applications).

    Windows-Down Arrow Restore/minimize the active window (does nothing to Metro-style applications).

    Windows-Shift-Up Arrow Maximize the active window vertically, maintaining width (does nothing to Metro-style applications).

    Windows-Shift-Down Arrow Restore/minimize the active window vertically, maintaining width (does nothing to Metro-style applications).

    Windows-Shift-Left Arrow Move the active window to the monitor on the left (does nothing to Metro-style applications).

    Windows-Shift-Right Arrow Move the active window to the monitor on the right (does nothing to Metro-style applications).

    Windows-P Display projection options.

    Windows-Home Minimize all nonactive windows; restore on the second keystroke (does not restore Metro-style applications).

    Windows-number Launch or switch to the program located at the given position on the taskbar. (Example: Use Windows-1 to launch the first program.)

    Windows-Shift-number Launch a new instance of the program located at the given position on the taskbar.

    Windows-B Set focus in the notification area.

    Windows-Break Display the System Properties dialog box.

    Windows-D Show the desktop; restore on the second keystroke (does not restore Metro-style applications).

    Windows-E Open Windows Explorer, navigated to Computer. Windows-Ctrl-F Search for computers (if you are on a network).

    Windows-Ctrl-F Search for computers (if you are on a network).

    Windows-G Cycle through Windows Desktop Gadgets.

    Windows-L Lock your computer (if you’re connected to a network domain), or switch users (if you’re not connected to a network domain).

    Windows-M Minimize all windows.

    Windows-Shift-M Restore minimized windows to the desktop (does not restore Metro-style applications).

    Windows-N Create a new note (OneNote).

    Windows-R Open the Run dialog box.

    Windows-S Open screen clipper (OneNote).

    Windows-T Set focus on the taskbar and cycle through programs.

    Windows-Alt-Enter Open Windows Media Center. Note that Windows Media Center must be installed for this key combo to function; in many Windows 8 builds, it is not present.

    Windows-U Open Ease of Access Center.

    Windows-X Open Windows Mobility Center.

    Windows-F1 Launch Windows Help and Support.

    Windows-N Create a new note (OneNote).

    Windows-S Open screen clipper (OneNote).

    Windows-Q Open Lync. Note that in Windows 8 the Search function overrides this key combo.

    Windows-A Accept an incoming call (Lync).

    Windows-X Reject an incoming call (Lync). Note that this key combo does not function if Windows Mobility Center is present on the machine.

    Windows-Minus Zoom out (Magnifier).

    Windows-Plus Zoom in (Magnifer).

    Windows-Esc Close Magnifier.

    New hotkeys for the Windows 8 Consumer Preview

    Key combination Windows 8 functionality

    Ctrl-Shift-Esc Starts Task Manager

    Windows-Space Switch input language and keyboard layout.

    Windows-O Lock device orientation.

    Windows-, Temporarily peek at the desktop.

    Windows-V Cycle through toasts.

    Windows-Shift-V Cycle through toasts in reverse order.

    Windows-Enter Launch Narrator.

    Windows-PgUp Move the Start Screen or a Metro-style application to the monitor on the left.

    Windows-PgDown Move the Start Screen or a Metro-style application to the monitor on the right. Windows-Shift-. Move the gutter to the left (snap an application).

    Windows-. Move the gutter to the right (snap an application).

    Windows-C Open the Charms bar.

    Windows-I Open the Settings charm.

    Windows-K Open the Connect charm.

    Windows-H Open the Share charm.

    Windows-Q Open the Search pane.

    Windows-W Open the Settings Search app.

    Windows-F Open the File Search app.

    Windows-Tab Cycle through apps.

    Windows-Shift-Tab Cycle through apps in reverse order.

    Windows-Ctrl-Tab Cycle through apps and snap them as they cycle.

    Windows-Z Open the App Bar.

    Windows-/ Initiate input method editor (IME) reconversion.

    Windows-J Swap foreground between the snapped and filled apps.

    Start screen/Metro

    The following Windows key shortcuts work in the new Windows shell/Start screen.

    WINKEY (tap) Toggles between the Start screen and the foremost running app (Metro-style) or the Windows Desktop.

    WINKEY + 1, WINKEY + 2, etc. – Switch to the (classic) Windows desktop and launch the nth shortcut in the Windows taskbar. So WINKEY + 1 would launch whichever application is first in the list, from left to right.

    WINKEY + B Switch to the (classic) Windows desktop and select the tray notification area.

    WINKEY + C Display Charms and time/date/notification overlay.

    WINKEY + D Switch to the (classic) Windows desktop and toggle Show Desktop (hides/shows any applications and other windows).

    WINKEY + E Switch to the (classic) Windows desktop and launch Windows Explorer with Computer view displayed.

    WINKEY + F Display File Search pane

    WINKEY + H Display Share charm.

    WINKEY + I Display Settings charm.

    WINKEY + J Swaps foreground between the snapped and filled apps.

    WINKEY + K Display Connect charm.

    WINKEY + L Lock PC and return to Lock screen.

    WINKEY + M Minimize the selected Explorer window.

    WINKEY + O Toggle orientation switching on slate and tablet PCs.

    WINKEY + P Display the new Project (for “projection”) pane for choosing between available displays.

    WINKEY + Q Search (within) Apps using the new Search pane.

    WINKEY + R Switch to the (classic) Windows desktop and display the Run box.

    WINKEY + U Switch to the (classic) Windows desktop and launch the Ease of Access Center.

    WINKEY + V Cycles through Notification toasts.

    WINKEY + W Display Settings Search pane

    WINKEY + SHIFT + V Cycles through Notification toasts in reverse order.

    WINKEY + X Access the advanced context menu on the Start preview tip.

    WINKEY + Z Access the App Bar.

    WINKEY + ENTER Launches Narrator.

    WINKEY + SPACEBAR Switch input language and keyboard layout

    WINKEY + TAB Cycle through apps in Switcher.

    WINKEY + SHIFT + TAB Cycle through apps in Switcher in reverse order.

    WINKEY + CTRL + TAB Cycle through apps, snapping them as you go.

    WINKEY + , Peeks at the Windows desktop.

    WINKEY + . Snaps application to the left.

    WINKEY + SHIFT + . Snaps application to the right.

    WINKEY + PGUP Moves the Start screen to the display on the left.

    WINKEY + PGDN Moves the Start screen to the display on the right.

    Windows desktop/Explorer

    The following Windows key shortcuts work in the classic Windows desktop. Note that while many of these shortcuts also work in Windows 7, some are new to Windows 8.

    WINKEY (tap) Toggles between the Windows desktop environment and the new Start screen.

    WINKEY + 1, WINKEY + 2, etc. Launch the nth shortcut in the Windows taskbar. So WINKEY + 1 would launch whichever application is first in the list, from left to right.

    WINKEY + B Select the tray notification area.

    WINKEY + C Display Charms and time/date/notification overlay.

    WINKEY + D Toggle Show Desktop (hides/shows any applications and other windows).

    WINKEY + E Launch Windows Explorer with Computer view displayed.

    WINKEY + F Search Files using the new Windows Search pane.

    WINKEY + I Display Settings pane for Windows Desktop (also provides access to Networks, Volume, Screen Brightness, Notifications, Power, and Language).

    WINKEY + L Lock PC and return to Lock screen.

    WINKEY + M Minimize the selected Explorer window.

    WINKEY + O Toggle orientation switching on slate and tablet PCs.

    WINKEY + P Display the new Project (for “projection”) pane for choosing between available displays.

    WINKEY + Q Search (within) Apps using the new Windows Search pane.

    WINKEY + R Display Run box.

    WINKEY + U Launch Ease of Access Center.

    WINKEY + W Search Settings using the new Windows Search pane.

    WINKEY + X Display Windows Mobility Center application.

    WINKEY + ARROW KEYS Aero Snap.

  • How to install DotNet 2.0 or 3.5 on Windows 10

    Updated on 2015/10/4: Update the screenshots to Windows 10, however, applies to Windows 8/8.1/10

    Windows 10 includes the 2.0, 3.5 and 4.5 versions of the .NET Framework. However, only 4.5 is available for immediate use after a clean install. The versions 2.0 and 3.5 of the framework are not installed by default. If you open the Add/Remove Windows Features dialog you’ll see the “Microsoft .NET Framework 3.5 (includes .NET 2.0 and 3.0)” listed, but disabled.

    (more…)

  • HAL_INITIALIZATION_FAILED Error when install Windows 8 Developer Preview on VPC

    When you install the Windows 8 Developer Preview on Virtual PC in 64-bit windows. Your installation would fail with the blue screen of sad:

    : (
    Your PC ran into a problem that it couldn’t handle, and now it needs to restart
    You can search for the error online: HAL_INITIALIZATION_FAILED

    image

    (more…)

  • How to delete windows.old after upgrading to Window 10

    Windows.old is a folder that contains archive information from previous windows system when you upgrading to Windows 10.  It mainly stores programs and files that are required to run the earlier version of Windows and contains following folders.

    • Windows
    • “Documents and Settings”
    • “Program Files”

    You might end up having a Windows.old folder taking up 20+ gigs on your system drive. If you don’t need windows.old folder and want to safely delete this folder, follow the instructions below:

    1. Select Start, then All Programs, then Accessories, then System Tools, and then Disk Cleanup.
    2. If you are using Windows 7 or Windows 8, select Clean up system files. If you are using Windows Vista, select Files from all users on this computer.
    3. Select the Previous Windows installation(s) check box, and click OK.

    image

    IMPORTANT: Be sure to back up all important documents/files from the previous OS before following this article.

    Remove Windows.old from command line

    takeown /F c:\Windows.old\* /R /A /D Y 
    cacls c:\Windows.old\*.* /T /grant administrators:F 
    rmdir /S /Q c:\Windows.old
    

    Windows Server

    If you upgrade a server from Windows Server 2008 R2 to Windows Server 2012, you need to enable desktop experience to use this disk cleanup utility.