Hello Mohssen ghaderi,
Thank you for posting in Microsoft Community forum.
If this server 2022 R2 running on a VM with IIS installed is in one domain or in one workgroup.
If it is in one domain, you can try to sign in the machine using one domain account (open domain controller to find one domain account) or one local account in this server (open local users and groups to find one local account).
If it is in one workgroup, you can try to sign in the machine only using one local account in this server (open local users and groups to find one local account).
I hope the information above is helpful.
If you have any question or concern, please feel free to let us know.
Best Regards,
Daisy Zhou