Change compile location for DerivedDataCache

Hey together, thank you for your answers. I tried both and nothing works. If I create a new Project in Unreal, it still does it on my C drive, uses 100% of it and completly freezes my PC. Is there anything I can search for to know why this happens?