Open an elevated Command Prompt and run these commands sequentially:
The trace log session writes to C:\Windows\Logs\WindowsUpdate . Corruption in this folder or its parent can prevent session creation.