Cscript exist in canary With / without vbs engine Interesting??.. Found it. vbscript.dll Inside system32 directory It's remove it .. add it .. Interesting
Darki found solution for vbs engine check in insider builds what you suggesting ? Code: :: in next future builds this Capability might remove completely if not exist "%windir%\system32\vbscript.dll" ( set "WMI_PS=true" ) cscript .vbs | %MultiNul% find /i "There is no script engine" && ( set "WMI_PS=true" ) :: check if exist such Capability and install it [if necessary] (DISM /Online /Get-CapabilityInfo /CapabilityName:VBSCRIPT~~~~ | %MultiNul% find /i "State : Not Present") && ( set "WMI_PS=true" echo *** Restore VBSCRIPT~~~~ Capability %MultiNul% DISM /Online /Add-Capability /CapabilityName:VBSCRIPT~~~~ echo: )