Windows Server 2012 – Fixing ‘The Value Does Not Fall Within the Expected Range’ DFS Error

dfsdfs-rnetwindowswindows-server-2012

I seem to have run into this bug while attempting to create a DFS replication group: https://support.microsoft.com/en-us/help/4049095/value-does-not-fall-within-the-expected-range-error-when-you-change

The server in question is 2012, not 2012R2. I am fully patched but thought I would try to install the "equivalent" of the patch listed for 2012R2 (which is KB4075212). So, I tried installing KB4075213, however, I receive a "the update is not applicable to your computer"

So on to the workarounds, I tried to use the DFS commands to create a replication group, however, none of the commands are recognized. I double checked, and yes, the DFS management tools are installed.

Next, I tried to uninstall .net 4.7, however, they aren’t "programs". I found out what version I have with regedit and I am on 4.7.1. I assume these are deployed through windows update but none of the KBxxxxxxx show up in the "installed updates" tab of Windows Update: https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

Can .net 4.7.2 and 4.7.1 be removed from command line/Powershell? Or has anyone been able to get it to work with the "fix" installed? (like I said, I believe the fix they are referring to is installed so I think their fix doesn’t work).

This server is Server2012 Datacenter and is fully patched. As it’s a production file server, it will be hard for me to schedule reboots during the week, so keep that in mind

Best Answer

On Windows Server 2012 (regardless of flavor) .Net Framework is a Windows Update Component and not a Program. So you should look up that stuff under "Installed updates" by KB number. Yes, I know it's painful, but that's the way it is.. To spare you some pain, here's my notes on the issue:

Windows Server 2012 (non-R2):

  • .Net 4.7 Windows Server 2012 - KB3186505
  • .Net 4.7.1 Windows Server 2012 - KB4033345
  • .Net 4.7.2 Windows Server 2012 - KB4054542

Windows Server 2012 R2:

  • .Net 4.7 Windows Server 2012 R2 - KB3186539
  • .Net 4.7.1 Windows Server 2012 R2 - KB4033369
  • .Net 4.7.2 Windows Server 2012 R2 - KB4054566
Related Topic