Windows-Admin-Center-Ideas-and-Feedback icon indicating copy to clipboard operation
Windows-Admin-Center-Ideas-and-Feedback copied to clipboard

[WAC-2410] Allows Invalid SMB Dialect Configuration When Fields Are Left Blank, Causing SMB Failures on Windows Server 2025

Open NeuroticCoder opened this issue 6 months ago • 0 comments
trafficstars

Gateway Version: Windows Admin Center (v2) 2.4.0.0 Extension Version: [N/A]

Summary: When using Windows Admin Center to manage a Windows Server 2025 system, the SMB dialect minimum and maximum fields appeared blank by default, leading to the assumption that existing server-defined values would remain unchanged. However, saving settings with these fields left blank results in invalid values being applied, causing SMB connection failures (Event ID 1061). No warnings or validation errors are shown in the UI, and functionality is restored only after explicitly setting valid dialect values.

To Reproduce:

  1. Open Windows Admin Center (server installation) hosted on Windows Server 2022
  2. Connect remotely to a Windows Server 2025 system
  3. Navigate to Settings > File Shares (SMB server)
  4. Observe that the SMB dialect minimum and SMB dialect maximum fields are blank
  5. Change the SMB encryption setting (e.g., set Require encryption from all clients)
  6. Leave the SMB dialect minimum/maximum fields blank (assuming defaults will be preserved)
  7. Click Save
  8. Several hours later, SMB connections to the 2025 server begin to fail
  9. Event Viewer on the Windows Server 2025 machine logs Event ID 1061 under SMBServer
  10. Logging back into WAC and explicitly defining a valid minimum and maximum SMB dialect resolves the connection failures immediately

Expected behavior: If the SMB dialect fields are left blank, Windows Admin Center should either:

  • Retain the current values set on the server without modifying them, or
  • Prompt the user to explicitly define valid minimum and maximum values before allowing a configuration save and/or update the values with a known supported minimum and maximum value.
  • Additionally, saving should validate the input and notify the user if it will result in an invalid or null configuration.

Screenshots with Annotations: Image

Image

NeuroticCoder avatar May 14 '25 17:05 NeuroticCoder