Hi dododoner,
Welcome to Microsoft Community. I'm Mosken, let me help you.
According to your description, I knew that your Windows 10 Pro had recently experienced a short delay, even though you have tried repair commands, reinstalled all device drivers, restarted related services, etc., but it still failed. Is that right?
First, about ntoskml.exe, the program is a Windows system process that provides the executive and kernel layers of Windows NT with sufficient kernel space.
Next, I suggest that you try disabling your integrated graphics. "Win" + "X" > "Device Manager" > "Display adapters", double click to expand the entry you will see all your display adapters, then right click your integrated graphics card > "Disable device".
Then you may try clean system update cache. Please run Command Prompt as an administrator ("Win" logo key + "Q", enter "cmd", select "Run as administrator"), and enter the following commands one by one.
net stop wuauserv
net stop bits
net stop cryptsvc
rd /s /q c:\Windows\SoftwareDistribution
rd /s /q %temp%
rd /s /q c:\Windows\temp
net start wuauserv
sc config wuauserv start=auto
net start bits
sc config bits start=auto
net start cryptsvc
sc config cryptsvc start=auto
You may also try turning off Delivery Optimization (Win + I open Settings> Update & Security > Advanced Options > Other Options > Delivery Optimization > Allow downloads from other PCs*)*, it is recommended that you try to turn off this function and check if it works, maybe you need to restart the system.
And try to set virtual memory to be automatically managed by the system. Win + R to open "Run", enter "sysdm.cpl", press Enter to open 'System Properties"> "Advanced" tab > "Performance" > "Settings"> "Advanced" tab"> "Virtual memory"> "Change" , check "Automatically manage paging file size for all drives", and press Enter to confirm.
Then try disable "Get tips, tricks, and suggestions as you use Windows", shown as below.

Additionally, you may try to perform a clean boot, because this mode disables third-party services, which could help rule out the interference of third-party software. You can visit **** How to perform a clean boot in Windows (microsoft.com) for specific steps.
| Disclaimer: A “clean boot” starts Windows with a minimal set of drivers and startup programs. It helps to determine whether a background program is interfering with your game or program and to isolate the cause of a problem.<br><br>These steps of "clean boot" might look complicated at first glance. However, to avoid any trouble for you, please follow them in order and step-by step so that it will help you get you back on track. |
The above steps are provided based on the information I have learned so far, and hope that could help you a little. If the problem still exists, please provide us a full PSR from the beginning, through the whole process, and until the error message is displayed, so we can further investigate.
Best Regards,
Mosken-MSFT | Microsoft Community Support Specialist