You may want to connect to your Raspberry Pi from your windows machine, but basically Raspberry Pi OS does not support that.
Following is a guide how to enable Remote Desktop Connection from your windows PC.
The installation is super easy. Just run below command on your Raspberry Pi.
If you want to customize the configuration on xrdp, please check below two configuration files.
Configuration File 1)
Configuration File 2)
If everything is okay, please restart your raspberry pi to test it.