Category: Virtualization

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.

 



Video Microsoft Ignite Live 2019 - Azure Stack Edge

Video Microsoft Ignite Live 2019 – Azure Stack Edge

At Microsoft Ignite 2019, I had the chance to interview different people across the Microsoft product groups on the Microsoft Ignite Live stage. In the next couple of weeks, I will share with you the links to the recordings of these videos. In this video, I was able to speak to Stephanie Krieger and Chris Dickens from the Azure Stack Edge team about the new AI on the edge with Azure Stack Edge, which was formerly known as Azure Data Box Edge.

Video: Azure Stack Edge

Azure Stack Edge is a cloud-managed edge computing appliance that you subscribe to as an Azure service and deploy locally. Join us to learn how you can use intelligent applications at the edge for quick insights from your data and then aggregate that data in the cloud for deeper analytics.

I hope this gives you a short overview of Azure Stack Edge. You can check out the following links to get more information:

Microsoft Ignite 2019 was a lot of fun, and you can also watch my session about Hybrid Cloud Management at Microsoft Ignite. If you have any questions, please let me know in the comments.



Azure Hybrid Cloud Bus

An Overview at the New Azure Stack Portfolio

Last week at the Microsoft Ignite 2019 conference, the Azure team announced a lot of new updates. One of the significant focus topics at this year’s Ignite was the investment in the Azure Hybrid Cloud offerings. Starting with the buses driving attendees to the conference venue, over the Ignite keynotes, to the expo floor and breakouts, Hybrid Cloud was everywhere. Today, organizations rely on a hybrid technology approach to take advantage of utilizing cloud innovation in combination with their on-premises investments. Azure is Hybrid by design, and Microsoft is continuing the investment in our hybrid cloud technologies with the announcements of Azure Arc (link) and the new Azure Stack portfolio (link). I already was able to get an early look at Azure Arc for Servers, in this post, I am going to focus on the new Azure Stack portfolio with Azure Stack Hub, Azure Stack Edge, and Azure Stack HCI.

At and after Microsoft Ignite 2019, I got a lot of questions around the Azure Stack announcements. So in this blog, I want to give you a quick overview of that, and if you want to know more, check out the blog post from Talal Alqinawi, Senior Director Azure Marketing.

Azure Stack Portfolio

Azure Stack Portfolio

The Azure Stack family now consists of three members, Azure Stack Hub, formerly known as Azure Stack, Azure Stack HCI, and Azure Stack Edge (formerly known as Azure Databox Edge). This offers customers new capabilities, form factors, and solutions in the Azure Stack portfolio, to ensure that the customer has the right solutions for their edge infrastructure.

Azure Stack Hub

Azure Stack Hub (formerly known as Azure Stack) will continue to be the cloud-native offering for enterprise and public sector customers, especially those interested in operating a cloud environment that is disconnected from public internet or meeting regulatory and compliance requirements. It will continue to bring Azure services to locations where you need them. The Azure Stack Hub team also announced some new capabilities and features, which the team is working on:

  • Working on support for N-Series virtual machines (VMs) which included GPU support
  • Event Hubs Public Preview in 2020
  • Azure Stream Analytics Public Preview in 2020
  • General Availability (GA) of Kubernetes on Azure Stack with Azure Kubernetes Service (AKS) engine to automate the creation, update, and scaling of Kubernetes clusters.
  • Windows Virtual Desktop (WVD) Private Preview
  • Azure Data Services with Azure Arc Private Preview

Azure Stack HCI

A couple of months ago, I already wrote a blog post about Azure Stack HCI, which enables customers to run a highly efficient hyper-converged virtualization infrastructure. From small 2-node deployments up to high-performance and high capacity clusters, the Azure Stack HCI catalog offers solutions for every scenario. Together with Windows Admin Center, you can also easily connect Azure hybrid solutions and services. With the new automated deployment of Azure Stack HCI clusters, it becomes even easier to deploy new installations. I had the chance to talk about this new feature with Cosmos Darwin on the Microsoft Ignite Live stage, and you can watch the recording here.

I also have an article on ITOpsTalk.com about how Azure Stack HCI fits into the Azure Hybrid Cloud offering.

Azure Stack Edge

Azure Stack Edge (formerly known as Azure Databox Edge) is an Azure managed appliance that brings the compute, storage, and intelligence of Azure to the edge.

Azure Stack Edge

Azure Stack Edge

This is a first-party appliance which customer can order and run as an Azure service with no upfront costs (billed monthly with your Azure bill). In addition to the name change, the Azure Stack Edge team also announced that it soon will be supporting new compute and AI features and capabilities like:

  • Virtual machines on Azure Stack Edge
  • Kubernetes clusters
  • NVIDIA GPU support
  • Support for high-availability

The Azure Stack Edge will also be available in a rugged version as well as in a battery-powered form-factor that can be carried in a backpack.

Azure Stack Edge Rugged series

Azure Stack Edge Rugged series

Azure Stack Edge Rugged series with battery

Azure Stack Edge Rugged series with battery

Next to talking to Cosmos Darwin about Azure Stack HCI, I was also able to have Stephanie Krieger and Chris Dickens on the Microsoft Ignite Live stage to talk about Azure Stack Edge. You can watch the recording here.

Hybrid Cloud in combination with Azure Arc

In conjunction with Azure Arc, which brings Azure services and management to any infrastructure. With Azure Arc, you can deploy Azure Data services on any Kubernetes cluster. Azure Arc and Azure Stack portfolio are complementary.

You can combine the benefits of Azure Arc with Azure Stack portfolio where Azure Arc can manage virtual machines, containers, and run Azure Data Services on Azure Stack portfolio of validated and integrated systems while leveraging the compute and cloud capabilities of Azure Stack.

If you want to know more about Azure Arc, check out my blog post, Azure Arc – Cloud-native Management for Hybrid Cloud, or you can watch my Microsoft Ignite 2019 session about Hybrid Cloud Management.

I hope this gives you an overview of the new Azure Stack portfolio, which was announced at Microsoft Ignite 2019. If you have any questions, feel free to leave a comment.



Azure Stack Migration Series YouTube Playlist

Learn about Azure Stack Migration in this Video Series

Together with Tiberiu Radu from the Azure Stack Product Group, I worked on a series of videos to show how you can migrate workloads to Microsoft Azure Stack. This includes basic workloads like Active Directory Domain Controllers, File Servers, and SQL Servers. We are not only adding videos about Azure Stack Migration, but we also added a couple of tips on how you can take advantage of some of the infrastructure-as-a-service (IaaS) features on Azure Stack, like Azure Resource Manager templates and extensions.

The journey to the cloud provides many options, features, functionalities, as well as opportunities to improve existing governance, operations, implement new ones, and even redesign the applications to take advantage of the cloud architectures.
This video series was created in the context of the End of Support (EOS) motion for Windows Server 2008/2008R2 and SQL Server 2008/2008R2, with the target to highlight some of the migration options. The EOS program could be a good opportunity to start this process and it’s not only about the lift-and-shift or move your servers and forget about them, instead it could be the start of a modernization journey. As part of the EOS motion, Azure VMs running Windows 2008/R2 and SQL 2008/R2 on Azure and Azure Stack, offer 3 years of free Extended Support Updates. That means you can enable the same operational processes, use ARM templates, and use the infrastructure-as-a-service (IaaS) platform on both Azure and Azure Stack, to start this journey.
– Tiberiu Radu

Azure Stack Migration Introduction

Check out my Azure Stack Migration introduction video, which will give you a quick overview of migrating workloads to Azure Stack.

Video Series

You can find the full playlist with the complete Azure Stack Migration video series on YouTube.

Azure Stack Migration Series YouTube Playlist

Azure Stack Migration Series YouTube Playlist

If you want to read more, check out my blog post on ITOpsTalk.com. There we have some detailed blogs on these videos. I also recommend that you check out the IaaS blog series from the Azure Stack team, which includes different features around running virtual machines on Azure Stack.

If you have any questions, please let me know in the comments.



Azure Stack and Azure Stack HCI MVPDays

Speaking at the Azure Stack and Azure Stack HCI MVPDays

I am happy to let you know that I will be speaking online at the Azure Stack and Azure Stack HCI Day. The Azure Stack and Azure Stack HCI is an online event, organized and presented by Microsoft MVPs as part of the MVPDays. MVPDays was founded by Cristal and Dave Kawula back in 2013. It started as a simple idea; “There’s got to be a good way for Microsoft MVPs to reach the IT community and share their vast knowledge and experience in a fun and engaging way”.

The Azure Stack and Azure Stack HCI MVPDays is a full-day online event on October 23. you can find out more here. In my session, I will be speaking about Azure hybrid management services and how you can connect your Windows Server and Azure Stack HCI environment with Microsoft Azure.

Hybrid Management Technologies using Azure Stack HCI

Windows Server, Azure Stack HCI and Windows Admin Center not only provide you with great hyper-converged solutions but also enable you to connect to Azure Hybrid Cloud services. In this session, Thomas Maurer will show you how you can connect Azure services like Azure Site Recovery, Azure Backup, Azure File Sync, Azure Monitor and many more to your on-prem Windows Server and Azure Stack HCI environment.

As soon as it is available you can watch my session here:

And you will find the full MVPDays online event here.

If you want to know more about it check you the following blog posts:

I hope you will join us at the Azure Stack and Azure Stack HCI MVPDays. Let me know if you have any questions.



VeeamON Virtual 2019

Experts Lounge at VeeamON Virtual 2019 Conference

I am happy to announce that I will be part of this year’s VeeamON Virtual Conference for Cloud Data Management. I will be part of the virtual expert’s lounge during the online event. As a Veeam Vanguard, this is a great opportunity and I am already looking forward to being part of this event. VeeamON Virtual will be on November 20, 2019, and you can find more information here.



Azure IaaS VM enable Update Management

How to Manage Updates for Azure IaaS VMs

As a lot of customers are moving their workloads to Azure and specifically moving virtual machines to Azure Infrastructure-as-a-service (IaaS), the question is how do I manage my Azure virtual machines (VMs) efficiently. The great thing about Azure IaaS, it is not just another virtualization platform. Azure IaaS also offers a lot of other benefits versus classic virtualization. Azure IaaS and Azure Management provide a lot of functionality to it make it more efficient to run and manage virtual machines. One of them is Azure Update Management. In this blog post, I am going to show you how you can efficiently manage updates for your Azure IaaS VMs.

Overview and benefits Azure Update Management ☁

The Azure Update Management solution is part of Azure Automation. And with Azure Update Management you can manage operating system updates for your Windows and Linux computers in Azure, in on-premises environments, or in other cloud providers. That is right, it is not only for your Azure VMs, it also works with all your environment and provides you with a single pane of glass for your Update Management. It allows you to quickly assess the status of available updates on all virtual machines and servers, and manage the process of installing required updates for servers.

  • Azure Update Management works with Azure IaaS VMs, on-premise servers and even servers running at other cloud service providers.
  • Update Management supports Linux and Windows servers
  • It is directly integrated into the Azure portal and onboarding of Azure VMs is very simple.
  • It works with existing update sources like Microsoft Update, WSUS or on Linux with private and public update repositories.
  • Azure Update Management can be integrated into System Center Configuration Manager. You can learn more about Azure Update Management and System Center Configuration Manager integration on Microsoft Docs.
  • You can onboard new Azure VMs automatically to Update Management in multiple subscriptions in the same tenant.
Architecture

Architecture

How to onboard Azure IaaS VMs ✈

Onboarding Azure VMs to Azure Update Management is fairly simple and there are many different ways you can enable Update Management for an Azure VM.

One thing I want to highlight is, that you can set up automatic enablement for future virtual machines. With that Azure virtual machines, you create in the future, will automatically be added to the Update Mangement solution.

Onboarding

Onboarding

Since this blog post is all about managing updates for Azure VMs, I will keep it short, but if you want to add servers running on-premises or at other service providers, you can have a look how you can configure Azure Update management from Windows Admin Center. If you are running Azure Stack, you can also easily add your Azure Stack VMs to the Update Management solution.

Update Assesment 📃

Azure Update Management Compliant Assessment

Azure Update Management Compliant Assessment

After you have enabled and connected your virtual machines, Azure Log Analytics and Update Management start to collect data and analyze it and creates a continuous assessment of your Azure VM infrastructure and the additional servers you added. It will let you know which servers are compliant and which updates are missing. In the Azure documentation for Azure Update Management, you can find the schedules and time new updates will be added to the assessment.

Manage and deploy updates to Azure VMs 🔧

After you know which servers are compliant or not, you can schedule an update deployment, to update your servers.

Update Azure VMs using Update Deployment

Update Azure VMs using Update Deployment

An update deployment configuration is done very easily.

  1. Enter a name for the update deployment
  2. Select which operating system you want to target with the deployment (Linux or Windows)
  3. Choose the machines you want to update. You can select specific Azure virtual machines, non-Azure machines, groups, AD, WSUS, SCCM groups and filters.
  4. Select the Update Classifications you want to deploy
  5. Include or exclude updates
  6. Schedule the deployment. You can also create recurring update deployments for example for monthly patching.
  7. Configure pre- and post-scripts
  8. Configure the maintenance window size
  9. Configure the reboot update after the updates are installed

View update deployments ✔

Update Azure VMs Status

Update Azure VMs Status

During and after the duration of the update deployment, you can see an overview of the deployment, which updates on which machine were installed and if they were successful.

Pricing – What does it cost? 💵

Now I know what you are thinking now, this is great, but I am sure Microsoft is making me pay for this. No! there are no charges for the service, you only pay for log data stored in the Azure Log Analytics service. You can find more pricing information here.

Conclusion and Learn more 🎓

Update Management is a great solution to keep your environment up to date. If you want to know more, check out Microsoft Docs or follow this tutorial to onboard Azure VMs. There is also a very good blog series by Microsoft MVP Samuel Erskine. If you don’t have Azure today, create an Azure Free account.

Create free Azure Account ☁

Create your Azure free account today and get started with 12 months of free services!

If you have any questions, let me know in the comments.