You may run into this error while trying to setup a new database using Oracle 19c DBCA immediately after “software only” installation. The version of software that is available to download from Oracle repository is age old (19.3.0.0 for Windows) & if you are very attentive, notice that the installation process clearly warns about uncertified OS, while the software being installed on latest versions of Windows 11 / or other.
While this doesn’t have anything to do with the “Disabled Admin Shares”, identified as a bug & has a solution.
Open an elevated command prompt, switch to Oracle Home bin folder. and execute the DBCA
dbca.bat -J-Doracle.assistants.dbca.validate.ConfigurationParams=false

You should able to configure the new database without any additional issues this time.