none
Exchange 2010 SP3 Management Shell stopped working with Windows 10 1709 update

    Question

  • The tool worked fine until this update was installed. I am now getting this error when I launch the shell:

    GetComputerSite : Exception calling "GetComputerSite" with "0" argument(s): "Configuration system failed to initialize"
    At C:\Program Files\Microsoft\Exchange Server\V14\bin\ConnectFunctions.ps1:164 char:92
    +     $localSite=[System.DirectoryServices.ActiveDirectory.ActiveDirectorySite]::GetComputerSite <<<< ()
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : DotNetMethodException

    FindAll : The following exception was thrown when trying to enumerate the collection: "Configuration system failed to i
    nitialize".
    At C:\Program Files\Microsoft\Exchange Server\V14\bin\ConnectFunctions.ps1:253 char:17
    +     $search.FindAll <<<< ()
        + CategoryInfo          : NotSpecified: (:) [], ExtendedTypeSystemException
        + FullyQualifiedErrorId : ExceptionInGetEnumerator

    ToString : You cannot call a method on a null-valued expression.
    At C:\Program Files\Microsoft\Exchange Server\V14\bin\ConnectFunctions.ps1:146 char:33
    +                 $siteName = $siteDN.ToString <<<< ().SubString(3).Split(",")[0]
        + CategoryInfo          : InvalidOperation: (ToString:String) [], RuntimeException
        + FullyQualifiedErrorId : InvokeMethodOnNull

    WARNING: No Exchange servers are available in the Active Directory site . Connecting to an Exchange server in another
    Active Directory site.
    Failed to connect to an Exchange server in the current site.
    Enter the server FQDN where you want to connect.:

    Does anyone know what can be done to rectify this? We are running a hybrid deployment with Exchange 2010 SP3 and O365 and I would like to keep using the tool on my desktop computer.

    Note the Management Console appears to be working fine.

    Tuesday, November 14, 2017 8:58 PM

Answers

  • Hi Fuzzy,

    In official document, it's not supported to install Exchange 2010 management tool on Windows 10, details see:

    Supported operating system platforms

    The following table identifies the operating system platforms on which each version of Exchange can run. Supported platforms are identified by an X character.

    ImportantImportant:
    Releases of Windows Server and Windows client that aren't listed in the table below are not supported for use with any version or release of Exchange.

     

    Operating system platform Exchange 2016 CU3 and later Exchange 2016 CU2 and earlier Exchange 2013 SP1 and later Exchange 2010 SP3

    Windows Vista SP2

     

     

    X1

    Windows Server 2008 SP2

     

     

    X

    Windows Server 2008 R2 SP1

    X

    X

    Windows 7 SP1

    X1

    X1

    Windows 8

    X1

    X1

    Windows 8.1

    X1

    X1

    X1

     

    Windows 10

    X1

    X1

     

    Windows Server 2012

    X

    X

    X

    X

    Windows Server 2012 R2

    X

    X

    X

     

    Windows Server 2016

    X

     

    1Only for Exchange management tools



    Best Regards,

    Niko Cheng


    Please remember to mark the replies as answers if they helped.
    If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Wednesday, November 15, 2017 2:28 AM
    Moderator

All replies

  • I've been getting the same results as you, and I read elsewhere that neither the console or the shell are supported on Windows 10. Oh well.

    Peter

    Wednesday, November 15, 2017 12:37 AM
  • Hi Fuzzy,

    In official document, it's not supported to install Exchange 2010 management tool on Windows 10, details see:

    Supported operating system platforms

    The following table identifies the operating system platforms on which each version of Exchange can run. Supported platforms are identified by an X character.

    ImportantImportant:
    Releases of Windows Server and Windows client that aren't listed in the table below are not supported for use with any version or release of Exchange.

     

    Operating system platform Exchange 2016 CU3 and later Exchange 2016 CU2 and earlier Exchange 2013 SP1 and later Exchange 2010 SP3

    Windows Vista SP2

     

     

    X1

    Windows Server 2008 SP2

     

     

    X

    Windows Server 2008 R2 SP1

    X

    X

    Windows 7 SP1

    X1

    X1

    Windows 8

    X1

    X1

    Windows 8.1

    X1

    X1

    X1

     

    Windows 10

    X1

    X1

     

    Windows Server 2012

    X

    X

    X

    X

    Windows Server 2012 R2

    X

    X

    X

     

    Windows Server 2016

    X

     

    1Only for Exchange management tools



    Best Regards,

    Niko Cheng


    Please remember to mark the replies as answers if they helped.
    If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Wednesday, November 15, 2017 2:28 AM
    Moderator
  • I understand that EMS 2010 on Windows 10 is not supported, but thats not statisfying ;-)

    So a collegue and I did some investigations and found an easy solution:

    Deleting C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe.config fixed it (powershell.exe.config is owned by TrustedInstaller so you have to take ownership if you want to delete it).

    I have no idea if deleting that config file has other sideeffects.

    • Proposed as answer by ngagne Thursday, January 11, 2018 6:35 PM
    Monday, November 27, 2017 12:57 PM
  • "Deleting C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe.config"

    Thank you! That fixed it for me as well. :)

    The only setting in that file appears to be: <add name="http" genericUriParserOptions="DontUnescapePathDotsAndSlashes"/>

    Probably some kind of security enhancement that breaks the older scripts. 

    Monday, November 27, 2017 4:18 PM
  • Hi Fuzzy,

    I'm just writing to check how's everything going? If you have any questions or needed further help on this issue, please feel free to post back. If the issue has been resolved, please mark the helpful replies as answers, this will make answer searching in the forum easier and be beneficial to other community members as well.

     

    Thanks for your understanding.


    Best Regards,

    Niko Cheng


    Please remember to mark the replies as answers if they helped.
    If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Monday, December 4, 2017 3:08 AM
    Moderator
  • Thanks that worked great.
    Wednesday, December 13, 2017 11:34 PM
  • This should be the real answer.  Thanks!
    Thursday, January 11, 2018 6:35 PM
  • Worked for me as well.. Great ! 
    Tuesday, February 6, 2018 7:31 AM
  • You and your colleague are amazing! I spent hours looking for a solution to this. 

    Thank you.

    Friday, February 16, 2018 12:24 AM
  • I just migrated a couple PCs from Windows 1607 to 1709 and this broke.

    lucky me I found this after a day of looking... what I did is to rename the current one to powershell.exe.config_OLD

    go to the windows.old file > find the config file on the same path and do a copy and paste on the new path.

    Solved the issue.

    Thank Austrian Bossfan

    Wednesday, June 13, 2018 8:29 PM
  • Perfect!  Now I can use all of my management tools on Windows 10, 1803.  Nonetheless, that is an MSFT fail.  The Exchange 2010 SP3 console and shell worked perfectly until the 1709 update.

    Wednesday, June 27, 2018 11:11 PM
  • That worked! Thank you.

    Piotr

    Friday, November 9, 2018 5:16 PM
  • You are the best!!!!
    Thank you so much!
    Friday, December 14, 2018 6:36 PM
  • Thanks!  Works perfectly!   I chose to rename rather than delete in the event it breaks something else...

    FWIW I did the management tools on my newly deployed desktop using an ISO with SP3 and had this issue.  I did the same on my laptop some months ago using the base 2010 ISO/Setup files, then upgraded to SP3 and the latest RU and don't remember having this problem...

    Hopefully this PC will be the last one that I install 2010 Management tools onto... 


    Friday, May 10, 2019 4:35 PM