Installing Shoretel Server TDIMedia.sys on Virtual Windows 2016 - Some Tips from A Pro

Some Tips from A Shoretel Pro on Installing 

From the trenches, what I found is that Shoretel/Mitel TDIMedia.sys is not signed, and windows will refuse to install it.  Shoretel has never bothered to sign the driver in all the years that this driver has been present in Shoretel.  This only applies to Windows Server 2012, 2016 and 2019.  If you use Windows Server 2008 R2, this does not apply.
TDIMedia Failure to Install


Disable Secure Boot in VMWare

See this: https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.security.doc/GUID-898217D4-689D-4EB5-866C-888353FE241C.html

Procedure

  1. Browse to the virtual machine in the vSphere Client inventory.
  2. Right-click the virtual machine and select Edit Settings.
  3. Click the VM Options tab, and expand Boot Options.
  4. Under Boot Options, ensure that firmware is set to EFI.
  5. Select your task.
    • Select the Secure Boot check box to enable secure boot.
    • Deselect the Secure Boot check box to disable secure boot.
  6. Click OK.

Disable Driver Signing Requirement so you can install TDIMedia.sys


    1. From Windows 2016 Server, Run DOS in ADMIN mode:
    2. cd <drive>:\Windwows\system32\
    3. type bcdedit.exe /set nointegritychecks on
    4. reboot server

Disable Driver Signing using GPEdit.msc

Set the policy to IGNORE.

How to Reinstall the TDIMedia.sys Driver

    Here's a procedure that only MiAccess Portal users and dealer/partners get to see:

    Symptoms

    All services will not start on the affected server and features will be impacted.

    Cause
    Unknown as various instances can result in this scenario. Largely thought to be long standing defect in Shoretel Media driver, and the lack of driver signing.

    Resolution
    To recover the Media Driver navigate to your installation Directory. Below is from a system installed on the C: Drive.  open a command prompt, and navigate to the directory below:

    C:\Program Files (x86)\Shoreline Communications\ShoreWare Server>

    • 1. Type quickinstall -stopall as this will stop all ShoreTel services.
    • 2. Type quickinstall -mediaout and this will remove entries of the existing TDI Media Driver.
    • 3. Type quickinstall -mediain and this will re-add the TDI Media Driver.
    Next you will have to update the registry to the proper location of the Media Driver as the image path will now be incorrectly set to the directory from where you ran quickinstall.

    Registry location is as follows:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\servic es\ShoreTel-Media
    Update the image path from the current entry to the following:
    \??\C:\Windows\System32\TDIMedia.sys
    Proceed to start all services by running quickinstall -startall


That's All for Now

Good Bye andGood luck


Comments

Popular posts from this blog

Microsoft Visio 2010 Premium Product Keys

Mercedes Benz Diesel CDI EGR Emulator Circuit Diagrams

Fix: The Diagnostic Service Host service failed to start due to the following error. [ solved, no kidding ]