Tag: Remote Desktop Services

Reset RDP and Admin Password Azure VM

How to Reset RDP and Admin Password of an Azure VM

I think we all had that experience where we suddenly couldn’t use Remote Desktop Services (RDP) to access our Windows Server anymore. Luckily, if this happens to an Azure virtual machine (VM), we can use the VMAccess extension to reset the RDP configuration as well as the password of the Azure VM. You can reset the RDP configuration or the Azure virtual machine password using the Azure portal or Azure PowerShell.

Reset the administrator password of an Azure VM 🔓

To reset the password of an Azure VM, you can use the Azure portal or Azure PowerShell. If you take the portal path, log in to the Azure portal, go to the Azure VM, you want to reset the password. Under Support + Troubleshooting, click on Reset Password, and follow to the Reset Password wizard to update the credentials. Note that this is not supported for Active Directory Domain Controllers.

Reset Administrator Password of an Azure VM

Reset Administrator Password of an Azure VM

If you want to use Azure PowerShell, you can run the following commands:

$SubID = "SUBID" 
$RgName = "RESOURCE GROUP NAME" 
$VmName = "VM NAME" 
$Location = "LOCATION"
 
Connect-AzAccount 
Select-AzSubscription -SubscriptionId $SubID 
Set-AzVMAccessExtension -ResourceGroupName $RgName -Location $Location -VMName $VmName -Credential (get-credential) -typeHandlerVersion "2.0" -Name VMAccessAgent

This should help you to reset the password of an Azure Virtual Machine (VM) if you lost access to it. If you want to know more, read the following troubleshooting article on Microsoft Docs.

Reset RDP configuration 👩‍💻

If you can access your Azure Virtual Machine using RDP, you can reset the configuration, and this will enable Remote Desktop service in the VM and create a firewall rule for the default RDP port 3389. To reset the Remote Desktop Service (RDP) configuration, you again login to the Azure portal, select the virtual machine you want to reset the RDP configuration. Under Support + Troubleshooting, click on Reset Password, on the new blade select Reset configuration only, and click on update.

Reset Remote Desktop Services RDP of an Azure VM

Reset Remote Desktop Services RDP of an Azure VM

There is also an Azure PowerShell command available to do this:

$SubID = "SUBSCRIPTION ID" 
$RgName = "RESOURCE GROUP NAME" 
$VmName = "VM NAME" 
$Location = "LOCATION"
 
Connect-AzAccount 
Select-AzSubscription -SubscriptionId $SubID 
Set-AzVMAccessExtension -ResourceGroupName $RgName" -VMName $VmName" -Name "myVMAccess" -Location $Location -typeHandlerVersion "2.0" -ForceRerun

I hope this gives you an overview of how you can Reset your Remote Desktop Service of an Azure Virtual Machine (VM) if you lost access to it. If you want to know more, read the following troubleshooting article on Microsoft Docs. You can also use Azure PowerShell in Cloud Shell.

If you want to know more about how you migrate your virtual machines to Azure, check out my blog post about Azure Migrate.

 



E2EVC Copenhagen

Speaking at E2EVC 2015 Lisbon

After a great time in the US visiting VeeamON 2015, the Microsoft MVP Summit 2015 and the MMS 2015, I am happy to announce that I will speak tomorrow at the E2EVC (Experts 2 Experts Virtualization Conference) in Lisbon. Together with Alex Cooper (Microsoft MVP Remote Desktop Services) and Dr. Benny Tritsch (Microsoft MVP Remote Desktop Services), I will speak in one of the keynote about updates in the Microsoft Virtualization Technology.

What’s new with Microsoft Virtualization & Remote Desktop Services – Windows Server 2016 T3 Update

We will cover what is new in Hyper-V, Remote Desktop Services and Azure RemoteApp.

E2EVC Virtualization Conference is a non-commercial, virtualization community event. The main goal of the E2EVC is to bring the best virtualization experts together to exchange knowledge and to establish new connections. E2EVC is a weekend crammed with presentations, Master Classes and discussions delivered by both virtualization vendors product teams and independent experts. I am happy to be part of the community and listen to other industry leading experts, hopefully see you in Lisbon.



RemoteFX

GPU Requirements for RemoteFX on Windows Server 2012 R2

If your are planning a VDI (Virtual Desktop Infrastructure) deployment with Windows Server 2012 R2 Hyper-V  and you want to use physical graphics power with RemoteFX for your VDI machines fore example for CAD applications, you might wonder which cards are recommended and supported. Back in November 2013 Derrick Isoka (Microsoft Program Manager) wrote a blog post about recommendations and here is a quick summary.

RemoteFX GPU Requirements

To make use of RemoteFX with GPU acceleration on Windows Server 2012 R2 you require a compatible graphic card.

Most likely, the servers hosting the RemoteFX workloads will be located in a datacenter and as such, we recommend using passively cooled, server class graphics cards. However, it’s also acceptable to use a workstation card for testing on small deployments depending on your needs.

However the minimum requirements for the graphics cards to be used with Hyper-V RemoteFX are:

  • Direct 11.0 or later
  • WDDM 1.2 driver or later

DirectX and WDDM

There is some other point to this, in Windows Server 2012 R2 provides support for DirectX 11.0, DirectCompute and C++ AMP. Most of the graphics cards do support OpenGL 4.0 and OpenCL 1.1 or later, however these APIs are currently unsupported by RemoteFX in Windows Server 2012 R2.

Hardware and Driver Support

To find a graphics card also make sure you check the Windows Server Catalog.

RemoteFX Compatible GPUs

Microsoft did some tests and showed some of the results on the Remote Desktop Services blog.

RemoteFX Cards

  1. Best: These are server class cards, designed and certified for VDI workloads by hardware vendors like NVIDIA and AMD. They target the best application performance, experience, and virtual machine densities. Some of the cards are particularly recommended for designer and engineering workloads (such as Autodesk Inventor or AutoCad).
  2. Better: These are workstation class cards that provide acceptable performance and densities. They are especially capable cards for knowledge worker workloads (such as Microsoft Office or Internet Explorer).
  3. Good: These are lower-end cards that provide acceptable densities knowledge worker workloads.

Source: Microsoft

Performance and Scale

This is important, Microsoft also points out that GPU speed and memory, the performance and scale of your VDI deployment also depends on additional factors such as CPU, Storage and Network performance.