New version of new Relic creates a system variable, but in my case that didnt work so I created a new "user eviroment variable" with the same value.
To create a environment variable you have to go to the My computer> Advanced system settings
In the System Properties window select Advanced tab and click on Environment Variables…
In the Environment Variables window you will notice two columns User variables for a username and System variables.
Probably you already have the System variable, but you need to create a new User variable with the same parameter COR_ENABLE_PROFILING and set the value to 1.
I hope this work for you.
And Im sorry for my bad english.