And what exactly? You have not provided any proper system info or other technical details like what version of AE you actually mean. Beyond that this si merely a warning, not a showstopper, so I'm not sure what magical solution you are looking for or why you think it prevents AE from working at all.
That message is merely letting you know that you don't have a GPU with CUDA and IF you use the ray-traced renderer, it will be slow. All you have to do is check the box for it to not show again the next time it pops up and it won't show again.
The ray-traced renderer is an obsolete feature anyway. If you have CC or CC 2014, you're better off using CINEMA 4D integration with After Effects
Thanks for your help Szalam. Sorted now.