Author: devonenote

  • Windows Live Essentials Install Error 0x8104000d WaitForCatalog

    Today when I tried to get Windows Live Essentials installed on my fresh installed x64 Windows 8 I got following error

    You cannot download Windows Live programs unless you are connected to the internet.
    Error: 0x8104000d
    Source: WaitForCatalog

    (more…)

  • Install PowerShell and Powershell ISE on Windows Server

    Windows Server 2003

    For Windows server 2003, PowerShell V1 was released as KB ( hotfix). Download and install KB926139 – Windows PowerShell 1.0 English-Language Installation Package for Windows Server 2003

    If you need PowerShell V2, make sure you have SP2 installed and then install Windows Management Framework from http://support.microsoft.com/kb/968929

    Windows Server 2008

    For Windows Server 2008 run the following command in an elevated Command Prompt.

    servermanagercmd -install PowerShell

    Windows Server 2008 R2

    Windows Server 2008 R2 has PowerShell V2 built in and enabled by default, however, PowerShell ISE is not. It is installed on Windows 7 client OS, but an Optional Component on Windows Server 2008 R2. To Install PowerShell ISE on R2, run the following command in a Windows PowerShell Modules prompt

    Import-Module ServerManager
    Add-WindowsFeature PowerShell-ISE

    OR

    1. In Server Manager, start the Add Roles and Features wizard.
    2. On the Features page, select Windows PowerShell ISE.

    Windows Server 2012

    Windows Server 2012 has both PowerShell V3 built in and installed. PowerShell ISE needs to be added as it’s an optional Windows PowerShell feature, same as Windows Server 2008 R2.

    Also checkout How to run PowerShell scripts to start your first PowerShell script.

  • SCVMM 2012 RTM Available for download

    SCVMM 2012 RTM is available for download for MSDN subscribers. You can start download it here. The SCVMM 2012 RTM version is 3.0.6005.0. Microsoft has published the SCVMM 2012 RTM help document and cmdlets help.

    image

    If you upgrade to RTM from RC, you can enter the product key in Admin Console UI About dialog Enter product key button.

    Update 4/16:  The first update rollup for VMM is already out http://support.microsoft.com/kb/2686249. The update includes fix for both SCVMM Server, Self Service Portal and Admin Console. You will need to update all roles in you have them installed on different machines.

    In System Center 2012, Microsoft extends the System Center branch to Cloud and Data Center management solution, the new System Center 2012 suites including

    • System Center App Controller
    • System Center Configuration Manager
    • System Center Data Protection Manager
    • System Center Operations Manager
    • System Center Orchestrator
    • System Center Service Manager
    • System Center Unified Installer
    • System Center Virtual Machine Manager
  • Windows 8 How to stop app tile from changing

    Tiles are introduced by Microsoft to Windows Phone. Tiles allow user receive latest update on start menu, without the need to open the application. For example, a weather app could show you the latest forecast.

    Tile is widely used in Windows 8 metro UI applications. For some metro application you don’t want notification show up in the start menu, you can right click to app, click (or touch) Turn live tile off.

    image

  • Windows 8 Getting Start Experience

    After the release of Windows 8 Consumer Preview, I was very excited to give it a try on my hyper-v VM. There is a lot of difference between Windows 7 and 8, especially Windows 8 has optimized a lot for tablet users.

    Lock screen

    • Windows 8 lock screen provides quick view of latest data, time, unread emails.
    • Windows 8 supports picture password.

    Start Menu

    • Win 7 classical start menu is removed
    • New start menu for Metro UI Applications

    Desktop mode

    • Clock desktop tile from start menu to enter classical desktop mode.
    • The desktop user experience is same as Win 7.

    Charm Button

    • Allow you access Search, Share, Start, Devices, Settings shortcuts quickly .
    • Shortcut: Win Key + C image

    Reboot or Shutdown

    How to Reboot or Shutdown in Windows 8

    Work with application

    • Win Key + tab to switch between applications
    • To close metro UI app, click and hold at the top of screen and pull down to the bottom of screen.

    Search

    • Type from start menu to launch search
  • How to Reboot or Shutdown in Windows 8

     

    It’s pretty hard to figure out how to reboot or shutdown Windows 8 only use mouse/keyboard. After a few hours search in Google, here comes all options I found. All of them work but involved too many steps. It sucks there is no one click shutdown shortcut.

    • Hover the mouse over the lower right corner ( or WinKey + C),  in the right menu, Settings –> Power –> Sleep/Shutdown/Restart.
    • In desktop mode, press Alt + F4.
    • In user switch screen, highlight username, sign out and then shutdown.
    • Running shutdown in cmd.
      • Shutdown: shutdown /s
      • Restart: shutdown /r

    Feel free to comment if you found other options

  • How to tell if your CPU Supports SLAT

    SLAT-enabled processor is the requirement of Hyper-V RemoteFX feature which is introduced in Windows Server 2008 R2. It’s the requirement of Windows 8 client Hpyer-V feature as well.

    For INTEL CPU models, following CPU models are SLAT-Capable

    • Server: E5500 or higher.
    • Desktop/Laptops: I3/I5/I7/I7-qm

    There is a handy tool named CoreInfo from systeminternals that can check if your CPU is SLAT-Capable, it’s pretty easy to use:

    1. Download from http://technet.microsoft.com/en-us/sysinternals/cc835722
    2. Launch an elevated command prompt
    3. Run “CoreInfo.exe -v”

    If you see EPT * Supports Intel extended page tables (SLAT) then you are good.

    image

    Following are copied from https://social.technet.microsoft.com/wiki/contents/articles/1401.hyper-v-list-of-slat-capable-cpus-for-hosts.aspx

    Servers that support SLAT

    • Any AMD server CPU based on Barcelona or later architectures. Some early Barcelona editions didn’t have RVI, but they’re relatively rare. Check this AMD list.
    • Intel server processors numbered E5500 and higher.
    • Any Intel CPUs based on Nehalem, Westmere, or Sandybridge micro-architectures. (There may be exceptions, but I’m not aware of any.)

    Desktops that support SLAT

    • Intel processors whose names start with ‘i’, e.g. i3, i5, i7, i9. (There may be exceptions, but I’m not aware of any.)
    • Any Intel CPUs based on Nehalem, Westmere, or Sandybridge micro-architectures. (There may be exceptions, but I’m not aware of any.)

    Laptops that support SLAT

    • Lenovo T410, T510, W510, W520, T420s, T520, X201
    • Samsung 900x
    • Dell Precision M4600
  • Hyper-v Tip: Use windows key without fullscreen

    When connect to a remote VM with hyper-v manager, I have to full screen to make Windows key. Personally I think Hyper-V should have a Windows key button in toolbar like "Ctrl+Alt+Delete" button.

    Actually Hyper-v manager allows you to select where the Windows keys goes when you press it. Open up the Hyper-V Settings dialog from with the Hyper-V Manager and go to the keyboard setting, you will see 3 settings.

    image

    1. Use on the physical computer
    2. Use on the virtual machine
    3. Use on the virtual machine only when running full-screen

    The default one is #3. Once you change it to #2, you will be able to use Windows key inside VM without *full-screen* it.

    You will find this helpful if you are connecting to a VM has Windows 8 Metro UI enabled. Without a windows key it’s hard to exit Metro style app and go back to start screen.

  • 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

  • TFS How to change the computer name or owner for a workspace

    The owner and computer name of the workspace are not editable in Visual Studio 2010. However, you might need it when you renamed your machine or your account is renamed. To do this, open a Visual Studio Command Prompt (2010) from program files, and cd to your workspace, then run following

    Change the computer name for a workspace

    tf workspaces /updateComputerName:<OldComputerName> /collection:<CollectionURL>

    You need replace <OldComputerName> to your actual old computer name and <CollectionURL> to your actual TFS collection URL.

    Change the owner for a workspace

    tf workspaces /updateUserName:<OldUserName> /collection:<CollectionURL>