Hello Gopikrishna Kannan
I now have DTrace installed & tried some simple commands with success :-)
(I'm getting a lot of DEBUG output to the console, from libdtrace, when I run a dtrace command.)
PS C:\WINDOWS\system32> Get-WindowsCapability -Online -Name Tools.DTrace.Platform~~~~0.0.1.0
Name : Tools.DTrace.Platform~~~~0.0.1.0
State : Installed
DisplayName : DTrace/NT
Description : DTrace/NT enables the system support for DTrace.
DownloadSize : 51314
InstallSize : 135889
I'm not sure what I did that fixed it. I ran these commands:
PS C:\WINDOWS\system32> dism /online /cleanup-image /scanhealth
Deployment Image Servicing and Management tool
Version: 10.0.18351.1
Image Version: 10.0.18351.7
[==========================100.0%==========================] No component store corruption detected.
The operation completed successfully.
PS C:\WINDOWS\system32> sfc /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection found corrupt files and successfully repaired them.
I checked C:\Windows\Logs\CBS\CBS.log and the repairs did not seem to be too important.
My CBS.log is rather large. If you email me your email, I will send it to you.
Then I also checked Windows Update again, and it found a further update:
Cumulative Update for Windows 10 Version Next (10.0.18351.7) (KB4492310)
..so maybe that fixed it.
After the Cumulative Update and a reboot, the DTrace install worked fine, and completed sucessfully :-)
I did not need to try your advice on "Configure a Windows Repair Source" as it had already fixed itself.
By the way, it's so great that Microsoft have brought Dtrace to Windows :-)
I remember the joy of using DTrace on OpenSolaris, over 10 years ago!
Thanks you
Nigel