I get an error message on 2008 server when I try to create a Self-Signed Certificate when I use the tsmediaapi.dll and CreateObject("Microsoft.ConfigMgr.PXEAuth").
The certificate is created ok but when the script finishes I get an app crash box saying cscript has stopped working with Faulty Module Name: tsmediaapi.dll_unloaded.
I can replicate the error very easy with the following procedure:
1) Copy tsmediaapi.dll from SDK to a 2008 Server
2) Register with regsvr32 tsmediaapi.dll
3) Create a vbs file with the following commands:
| Set oPXEAuth = CreateObject("Microsoft.ConfigMgr.PXEAuth") |
| Set oPXEAuth = Nothing |
|
4) Run cscript vbsfile
Is this a bug in tsmediaapi.dll?