Skip to content

Commit a56571b

Browse files
Merge pull request #2695 from MicrosoftDocs/cynthn-patch-2
Fix broken links and update Managed Run Command details
2 parents 4ceacff + a978e72 commit a56571b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

articles/virtual-machines/windows/run-command-managed.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,13 @@ author: GabstaMSFT
88
ms.author: cynthn
99
ms.date: 08/18/2025
1010
ms.topic: how-to
11-
ms.reviewer: jushiman
1211
ms.custom: devx-track-azurepowershell, devx-track-azurecli
1312
# Customer intent: As an IT administrator, I want to execute scripts on Azure Windows VMs using managed Run Commands, so that I can efficiently manage and troubleshoot machine and application issues.
1413
---
1514
# Run scripts in your Windows VM by using managed Run Commands
1615

1716
**Applies to:** :heavy_check_mark: Windows VMs :heavy_check_mark: Flexible scale sets
1817

19-
> [!IMPORTANT]
20-
> **Managed Run Command** is currently available in Azure CLI, PowerShell, and API at this time. Portal functionality is on the roadmap.
21-
2218
The Run Command feature uses the virtual machine (VM) agent to execute scripts within an Azure Windows VM. You can use these scripts for general machine or application management. They can help you quickly diagnose and remediate VM access and network issues and get the VM back to a good state.
2319

2420
The *updated* managed Run Command uses the same VM agent channel to execute scripts and provides the following enhancements over the [original action orientated Run Command](run-command.md):
@@ -29,6 +25,9 @@ The *updated* managed Run Command uses the same VM agent channel to execute scri
2925
- Support for long running (hours/days) scripts
3026
- Passing secrets (parameters, passwords) in a secure manner
3127

28+
> [!IMPORTANT]
29+
> **Managed Run Command** is currently available in Azure CLI, PowerShell, and API at this time.
30+
3231
## Prerequisites
3332

3433
### **Windows Operating Systems Supported**
@@ -61,7 +60,7 @@ The *updated* managed Run Command uses the same VM agent channel to execute scri
6160
| **IMDSCertCheck** | Checks IMDS Health and then analyzes currently installed certificates that IMDS depends upon. If missing, shows additional details and mitigation steps. | [readme](https://github.com/Azure/azure-support-scripts/blob/master/RunCommand/Windows/IMDSCertCheck) |
6261
| **RDPSettings** | Checks registry settings and domain policy settings. Suggests policy actions if machine is part of a domain or modifies the settings to default values. | [readme](https://github.com/Azure/azure-support-scripts/blob/master/RunCommand/Windows/RDPSettings) |
6362
| **ResetRDPCert** | Removes the SSL certificate tied to the RDP listener and restores the RDP listener security to default. Use this script if you see any issues with the certificate. | [readme](https://github.com/Azure/azure-support-scripts/blob/master/RunCommand/Windows/ResetRDPCert) |
64-
| **Windows_WindowsActivation_Validation** | Checks the current Windows license status (activated or not) and alert is generated if the machine is not property activated. | [readme](https://github.com/Azure/azure-support-scripts/blob/master/RunCommand/Windows/Windows_WindowsActivation_Validation) |
63+
| **Windows_WindowsActivation_Validation** | Checks the current Windows license status (activated or not) and alert is generated if the machine is not property activated. | [readme](https://github.com/Azure/azure-support-scripts/blob/master/RunCommand/Windows/Windows_Activation_Validation/README.md) |
6564
| **SetRDPPort** | Sets the default or user specified port number for Remote Desktop connections. Enables firewall rule for inbound access to the port. | [readme](https://github.com/Azure/azure-support-scripts/blob/master/RunCommand/Windows/SetRDPPort) |
6665
| **DisableNLA** | Disables Network Level Authentication (NLA). You must restart the VM after the script completes for the change to take effect. The script itself does not restart the VM. You can use this script to disable NLA if RDP connections are failing with error 'The remote computer that you are trying to connect to requires Network Level Authentication (NLA), but your Windows domain controller cannot be contacted to perform NLA.' or error 'An authentication error has occurred. The Local Security Authority cannot be contacted.' NLA is a security feature that should only be disabled temporarily to allow RDP connections to succeed until the domain controller connectivity issue have been resolved. | [readme](https://github.com/Azure/azure-support-scripts/blob/master/RunCommand/Windows/DisableNLA) |
6766

0 commit comments

Comments
 (0)