Hi Haruka, This is Ramesh.
It appears that the Windows Update service registration is broken, and hence the error code 2.
Please run the Farbar Scanner and share your logs to check for malware.
- Download Farbar Recovery Scan Tool 64-bit (FRST64.exe)
https://www.bleepingcomputer.com/download/farba...
Note: If Microsoft Edge or Chrome mislabels the Farbar Scanner executable as PUA/malware, choose to keep it by tapping … in the bottom bar, choosing Keep, and then choosing Keep anyway in the dialog that appears. See this screenshot: https://learn.microsoft.com/en-us/deployedge/me...
- If the OS language is non-English, rename FRST64.exe to FRST64English.exe.
- Run the program. Don't check or uncheck any options. Click "Scan".
- Zip the two logs, FRST.txt and Addition.txt, upload them to your OneDrive and share the link here.
How-To: Share OneDrive files and folders - Microsoft Support
https://support.microsoft.com/en-us/office/shar...
OneDrive sharing options - screenshot