Hello. I think that the primary reason why it gets removed is due to a Group Policy Object (GPO) that overrides the local security policy settings on your Windows 11 client.
Check with an Active Directory administrator, as there’s a chance the conflicting GPO needs to be modified. The GPO managing “Log on as a service” should be updated to explicitly include the “NT VIRTUAL MACHINE\Virtual Machines” group.