I had difficulties with the installation of the 2023 Ansys Student version and found that deleting all folders labaled v201 (or something similar) under the Ansys student programme files, and then running the setup.exe as administrator solved my issues.
NOTE: Easily access your program files by holding the Windows button and pressing R. Enter "%appdata%" into text box (no quotation marks). Click OK. Click on ANSYS folder.