Hi @Aakin Patel
There are a couple of options available depending on how your wifi authentication has been configured:
For certificate based EAP-TLS authentication have a look at this article https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/certificate-requirements-eap-tls-peap
For WPA2-PSK it's a little more complicated as it appears that its no longer possible to use GPO to set the SSID and password, here is an alternative approach - https://learn.microsoft.com/en-us/answers/questions/125997/push-wifi-user-name-and-passowrd-via-group-policy.html
Gary.