Skip to content

Commit 0aab5a9

Browse files
authored
Update hyper-v-storage-cluster-management.md
1 parent 47c1f8d commit 0aab5a9

1 file changed

Lines changed: 17 additions & 19 deletions

File tree

support/windows-server/virtualization/hyper-v-storage-cluster-management.md

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Troubleshoot PowerShell, Hyper-V, Storage, and Cluster Management Issues
3-
description: Provides a comprehensive guide to troubleshooting common issues encountered in managing Hyper-V, Storage Spaces Direct (S2D), Failover Clustering, and PowerShell tasks in Windows Server 2016, Windows Server 2019, Windows Server 2022, Windows Server 2025, and Windows 10 Enterprise/Education.
4-
ms.date: 09/03/2025
3+
description: Provides a comprehensive guide to troubleshooting common issues in managing Hyper-V, Storage Spaces Direct (S2D), Failover Clustering, and PowerShell tasks in Windows Server 2016, Windows Server 2019, Windows Server 2022, Windows Server 2025, and Windows 10 Enterprise/Education.
4+
ms.date: 09/08/2025
55
manager: dcscontentpm
66
audience: itpro
77
ms.topic: troubleshooting
@@ -87,10 +87,10 @@ Follow these step-by-step solutions to address the described issues.
8787

8888
## Resolution for PowerShell cmdlet and reporting issues
8989

90-
1. Validate cmdlet syntax
90+
1. Validate cmdlet syntax:
9191

9292
- Always verify PowerShell cmdlet syntax using official Microsoft documentation.
93-
- Example for disk and storage usage:
93+
- Examples for disk and storage usage:
9494

9595
On Hyper-V host:
9696

@@ -110,20 +110,20 @@ Follow these step-by-step solutions to address the described issues.
110110
Get-VM | Select-Object -Property * | Export-Csv -Path "C:\VMInventory.csv" -NoTypeInformation
111111
```
112112
113-
2. Enable VM processor compatibility
113+
2. Enable VM processor compatibility:
114114
115115
```powershell
116116
Set-VMProcessor -VMName <VMName> -CompatibilityForMigrationEnabled $true
117117
Set-VMProcessor -VMName <VMName> -CompatibilityForOlderOperatingSystemsEnabled $true
118118
Get-VMProcessor -VMName <VMName> # Confirm settings
119119
```
120120
121-
3. Promiscuous mode/Monitor mode
121+
3. Promiscuous mode/Monitor mode:
122122
123123
- Use correct property names (for example, AllowPacketDirect instead of MonitorMode for Hyper-V vSwitches).
124124
- Cross-check third-party documentation with official Microsoft sources.
125125
126-
4. Azure PowerShell authentication
126+
4. Azure PowerShell authentication:
127127
128128
```powershell
129129
Install-Module Az -Scope CurrentUser
@@ -132,19 +132,19 @@ Follow these step-by-step solutions to address the described issues.
132132
Set-AzContext -Subscription "<subscription-name-or-id>"
133133
```
134134
135-
5. Resolve VMware PowerCLI errors
135+
5. Resolve VMware PowerCLI errors.
136136
137137
Ensure PowerCLI is installed from the official source and check VMware support for missing assembly issues.
138138
139139
## Resolution for cluster and permission issues
140140
141-
1. Resolve access denied errors
141+
1. Resolve access denied errors:
142142
143143
- Use a domain service account with appropriate permissions for cluster management scripts.
144144
- If using SYSTEM, toggle permissions in Failover Cluster Manager:
145-
- Remove and readd SYSTEM account with "Allow" permissions.
145+
- Remove and re-add SYSTEM account with "Allow" permissions.
146146
- Restart cluster-related services.
147-
2. Fix storage cmdlet failures
147+
2. Fix storage cmdlet failures:
148148
149149
- Reboot all cluster nodes to reset states and clear inconsistencies.
150150
- Collect diagnostic logs:
@@ -155,7 +155,7 @@ Follow these step-by-step solutions to address the described issues.
155155
156156
## Resolution for storage, file system, and VHD issues
157157
158-
1. VHD corruption
158+
1. VHD corruption:
159159
160160
- Install the June 2025 cumulative update to fix the **vhdmp.sys** bug.
161161
- Disable scheduled `Optimize-VHD` tasks until updates are applied.
@@ -165,7 +165,7 @@ Follow these step-by-step solutions to address the described issues.
165165
Get-HotFix | Sort-Object InstalledOn -Descending
166166
```
167167
168-
2. App-V Package File Issues
168+
2. App-V Package File Issues:
169169
170170
- Analyze file attributes:
171171
@@ -175,27 +175,25 @@ Follow these step-by-step solutions to address the described issues.
175175
176176
- Disable third-party software causing interference.
177177
178-
3. Resolve missing VSS writers
179-
180-
Restart the VSS service:
178+
3. Resolve missing VSS writers by restarting the VSS service:
181179
182180
```powershell
183181
Restart-Service -Name VSS
184182
```
185183

186184
## Resolution for general configuration/registry/high availability issues
187185

188-
1. Add registry keys
186+
1. Add registry keys:
189187

190188
```powershell
191189
Set-ItemProperty -Path "HKLM:\Software\<Path>" -Name "<Key>" -Value "<Value>"
192190
```
193191

194-
2. Handle cluster nodes with different CPUs
192+
2. Handle cluster nodes with different CPUs.
195193

196194
Enable CPU compatibility for VMs during migration: VM **Settings** > **Processor** > **Migrate to a physical computer with a different processor version**.
197195

198-
3. Avoid advanced configuration risks
196+
3. Avoid advanced configuration risks:
199197

200198
- Test advanced NIC properties (such as SR-IOV) thoroughly before deployment.
201199
- Use modern browsers instead of disabling Internet Explorer Enhanced Security.

0 commit comments

Comments
 (0)