Hi @Mohit Pathak
Is your machine a domain controller? There may be problems installing SQL Server on a domain controller. You can refer to this link: https://learn.microsoft.com/en-us/sql/sql-server/install/hardware-and-software-requirements-for-installing-sql-server-2022?view=sql-server-ver16#DC_support.
You can also check out this documentation about SQL Writer: https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/sql-writer-service?view=sql-server-ver16.
Best regards,
Aniya