Question: where is the tns file located in windows?
Answer: By default, the tnsnames. ora file is located in the ORACLE_HOME\network\admin directory on Windows and the $ORACLE_HOME/network/admin directory on Linux/UNIX.