Running sonarqube on jenkins slave - windows AMI. How to set HOME path

I am running sonarqube on windows AMI(jenkins slave). I have configured Jenkins properly (confifure system and global tool configuration)
I am doing it for .Net Framework.
I am not able to run sonarscanner commands as sonar scanner home is not set. I am not sure where in the AMI machines sonarcube is getting configured after ->withSonarQubeEnv(‘SonarQube Scanner’)
How can i find the Home path? can i give it in Jenkins Node (Slave) Tools section?


Could you share the error message you’re seeing?