access to registry path is denied
I have already installed Microsoft Visual Studio 2010, CMake, Tortoise Git, and also extract opencv to drive D:, then I will set the OpenCV enviroment variable and add it to the systems path, then I open command prompt window then type this : setx -m OPENCV_DIR D:\OpenCV\Build\Install But it result "Access to the registry path is denied"
How to solve this?