As @vefatica discovered recently, it would appear that GetObject does not work well with the SCRIPT command.
This example;
...executed with;
causes TCC to disappear.
Joe
This example;
Code:
Set oMath = Nothing
Set oMath = GetObject("script:e:\utils\math.wsc")
oMath.StartFSO()
oMath.Display("Test")
Set oMath = Nothing
Code:
SCRIPT test.vbs
Joe
Code:
_x64: 1
_admin: 1
_elevated: 1
TCC 27.00.18 x64 Windows 10 [Version 10.0.18363.1256]