To limit Diagnostic Log Collection in Windows 11, try the following.
*Press Win+R to open the Run prompt.
*Type regedit > press Enter > click the Yes option.
*Navigate to Windows in HKLM.
*Right-click on Windows > New > Key.
*Name it as DataCollection.
*Right-click on DataCollection > New > DWORD (32-bit) Value.
*Name it as LimitDiagnosticLogCollection.
*Double-click on it to set the Value data as 1.
*Click the OK button.
*Restart your computer.
With these done, your Diagnostic Log Collection in Windows should be limited. I you need more assistance with the guide, you can get that below.
https://www.thewindowsclub.com/how-to-limit-diagnostic-log-collection-in-windows