Event ID 2: Session "WindowsAzure-GuestAgent-Metrics" failed to start with the following error: 0xC0000035

You may notice the following error on an Azure VM in the event log under Applications and Services Logs, Microsoft, Windows, Kernel-EventTracing, Admin: Log Name: Microsoft-Windows-Kernel-EventTracing/AdminSource: Microsoft-Windows-Kernel-EventTracingEvent ID: 2Task Category: SessionLevel: ErrorKeywords: SessionUser: SYSTEMComputer: CLJul8WS08R2ADescription:Session “WindowsAzure-GuestAgent-Metrics” failed to start with the following error: 0xC0000035 This error can be safely ignored. In scenarios where you are…

0

Unable to add VM agent extension to Azure VM

[Update 7/17/2014] Azure PowerShell 0.8.5 has released which resolves the inability to use VM agent extensions if the VM is in an availability set. Links to install it via Web Platform Installer or Windows Standalone (MSI) are available on GitHub: https://github.com/Azure/azure-sdk-tools/releases When you try to add a VM agent extension such as BGInfo or VM…

3

"Installing extensions on virtual machine…" does not complete on Azure VM

[Update 11/11/2014] The VM agent no longer relies on the VM’s configured DNS server for name resolution, so an invalid DNS setting should no longer cause this issue. If you continue to see Installing Extensions when creating a VM or a portal status of Running (Installing Extensions) at any point after the VM is created,…

3

Install the VM Agent on an existing Azure VM

The Windows Installer MSI package to install the VM Agent on an existing Azure VM is available for download at the following location: https://go.microsoft.com/fwlink/?LinkID=394789&clcid=0x409 The MSI must be run from an elevated command prompt. After installing the VM agent, you must also use Azure PowerShell to update the ProvisionGuestAgent property so Azure knows the VM…

8

Enable RDP or Reset Password with the VM Agent

[UPDATE 07/17/2014] Make sure you are using version 0.8.5 or later of Azure PowerShell as there was an issue with earlier versions where you could not interact with the extensions when the VM was in an availability set. For more information, see Unable to add VM agent extension to VM. The Set-AzureVMAccessExtension cmdlet allows you to reset the built-in administrator…

8