Two ideas that MAY work to install and/or run old programs in Windows 10
-RIGHT click the program icon or EXE and select a compatibility mode in the pop up option window
-or Run as Administrator http://forums.adobe.com/thread/969395 to assign FULL Windows permissions may help... this says Encore, but is sometimes required for ALL Adobe programs (this is NOT the same as using an Administrator account) so follow the instructions, substituting the name and location of your specific program for Encore
-also https://helpx.adobe.com/x-productkb/global/create-local-administrator-account-windows.html
First you say Illustrator, now you say Photoshop
If you really mean Photoshop, and CS2 won't install/run on Win10, you may buy Photoshop Elements Easy Photo & Video Editing Software | Adobe Elements 2019 Family