Hi,
Go to Start menu > Settings > System > Sound > Scroll down to More sound settings > Recording tab > Right-click on the white area, check the option "Show disconnected devices" and "Disabled" and see if the microphone driver is enabled and enable it.
If that doesn't work:
Are you referring to the laptop's internal microphone?
In that case, search for msinfo32.exe in the search bar, take a screenshot, and post it here so we can see the correct laptop model or desktop configuration.
Access Device Manager > Sound, video and game controllers, take a screenshot and post it here.
Thanks