You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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.
14
13
---
15
14
# Run scripts in your Windows VM by using managed Run Commands
16
15
17
16
**Applies to:**:heavy_check_mark: Windows VMs :heavy_check_mark: Flexible scale sets
18
17
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
-
22
18
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.
23
19
24
20
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
29
25
- Support for long running (hours/days) scripts
30
26
- Passing secrets (parameters, passwords) in a secure manner
31
27
28
+
> [!IMPORTANT]
29
+
> **Managed Run Command** is currently available in Azure CLI, PowerShell, and API at this time.
30
+
32
31
## Prerequisites
33
32
34
33
### **Windows Operating Systems Supported**
@@ -61,7 +60,7 @@ The *updated* managed Run Command uses the same VM agent channel to execute scri
61
60
|**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)|
62
61
|**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)|
63
62
|**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)|
65
64
|**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)|
66
65
|**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)|
0 commit comments