Skip to content

Commit 8ac4799

Browse files
authored
Merge pull request #58080 from genlin/master105
troubleshoot-activation-problems.md
2 parents fb21cb2 + 6bfa410 commit 8ac4799

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

articles/virtual-machines/troubleshooting/troubleshoot-activation-problems.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.workload: na
1313
ms.tgt_pltfrm: vm-windows
1414
ms.devlang: na
1515
ms.topic: troubleshooting
16-
ms.date: 10/31/2018
16+
ms.date: 11/15/2018
1717
ms.author: genli
1818
---
1919

@@ -25,7 +25,7 @@ If you have trouble when activating Azure Windows virtual machine (VM) that is c
2525
Azure uses different endpoints for KMS activation depending on the cloud region where the VM resides. When using this troubleshooting guide, use the appropriate KMS endpoint that applies to your region.
2626

2727
* Azure public cloud regions: kms.core.windows.net:1688
28-
* Azure China national cloud regions: kms.core.chinacloudapi.cn:1688
28+
* Azure China 21Vianet national cloud regions: kms.core.chinacloudapi.cn:1688
2929
* Azure Germany national cloud regions: kms.core.cloudapi.de:1688
3030
* Azure US Gov national cloud regions: kms.core.usgovcloudapi.net:1688
3131

@@ -80,8 +80,7 @@ This step does not apply to Windows 2012 or Windows 2008 R2. It uses the Automat
8080
3. Make sure that the VM is configured to use the correct Azure KMS server. To do this, run the following command:
8181
 
8282
```
83-
iex “$env:windir\system32\cscript.exe $env:windir\system32\slmgr.vbs /skms
84-
kms.core.windows.net:1688
83+
iex "$env:windir\system32\cscript.exe $env:windir\system32\slmgr.vbs /skms kms.core.windows.net:1688"
8584
```
8685
The command should return: Key Management Service machine name set to kms.core.windows.net:1688 successfully.
8786

articles/virtual-machines/troubleshooting/troubleshoot-rdp-general-error.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ To resolve this problem, [back up the operating system disk](../windows/snapshot
6161

6262
### Serial Console
6363

64-
#### Step 1: Turn on Remote Desktop
64+
#### Step 1: Open CMD instance in Serial console
6565

6666
1. Access the [Serial Console](serial-console-windows.md) by selecting **Support & Troubleshooting** > **Serial console (Preview)**. If the feature is enabled on the VM, you can connect the VM successfully.
6767

articles/virtual-machines/troubleshooting/troubleshoot-recovery-disks-windows.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,10 @@ Stop-AzureRmVM -ResourceGroupName myResourceGroup -Name $vm.Name -Force
234234
$disk = Get-AzureRmDisk -ResourceGroupName myResourceGroup -Name newDisk
235235
236236
# Set the VM configuration to point to the new disk
237-
Set-AzureRmVMOSDisk -VM $vm -ManagedDiskId $disk.Id -Name $disk.Name
237+
Set-AzureRmVMOSDisk -VM $vm -ManagedDiskId $disk.Id -Name $disk.Name -sto
238238
239-
# Update the VM with the new OS disk
240-
Update-AzureRmVM -ResourceGroupName myResourceGroup -VM $vm
239+
# Update the VM with the new OS disk. Possible values of StorageAccountType include: 'Standard_LRS' and 'Premium_LRS'
240+
Update-AzureRmVM -ResourceGroupName myResourceGroup -VM $vm -StorageAccountType <Type of the storage account >
241241
242242
# Start the VM
243243
Start-AzureRmVM -Name $vm.Name -ResourceGroupName myResourceGroup

0 commit comments

Comments
 (0)