The industry gold standard is not to disable TrustedInstaller, but to temporarily take ownership of a specific file or folder, perform your action, and then revert ownership. This is safe, reversible, and respects Windows 11’s security architecture.
If you don’t know why TrustedInstaller is running, leave it alone. If you think you have a valid reason to take ownership, you probably don’t.