Intel Pentium N3540 doesn't support Windows 11. The only way to install Windows 11 on unsupported systems is by bypassing the CPU check.
Please see:
How to install Windows 11 24H2 on unsupported hardware - Neowin: https://www.neowin.net/guides/how-to-install-windows-11-24h2-on-unsupported-hardware/
Read the full disclaimer here.
Installing Windows 11 on devices that don't meet minimum system requirements - Microsoft Support: https://support.microsoft.com/en-us/windows/installing-windows-11-on-devices-that-don-t-meet-minimum-system-requirements-0b2dc4a2-5933-4ad4-9c09-ef0a331518f1
Microsoft says, "If you proceed with installing Windows 11, your PC will no longer be supported and won't be entitled to receive updates."
Or, continue using Windows 10 until the ESU programme ends on 12 October, 2027.