Welcome Edi2003 to the Trainz forums.
TS2010 runs fine under Windows 10 if you do the following:
1) Run as administrator.
2) Ensure you have DirectX 9 installed.
You can download that from here.
https://www.microsoft.com/en-us/download/details.aspx?id=8109
Once installed:
Ensure you are connected to the internet and you have put in your user details in Content Manager, and in TS2010.
You have registered your software by adding the serial number to your My Trainz account.