Ask Your Question

access to registry path is denied

asked 2012-11-19 00:36:15 -0600

creativen gravatar image

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-11-19 01:14:47 -0600

Daniil Osokin gravatar image

Hi! Try to run command prompt as administrator (right click on command prompt shortcut and choose "Run as Administrator"). BTW, you should use this path for environment variable: D:\OpenCV\Build\{platform_type}\{compiler_type}, e.g. D:\OpenCV\Build\x64\vc10.

edit flag offensive delete link more


it works for me. thanks.

mheriyanto gravatar imagemheriyanto ( 2020-01-24 07:51:12 -0600 )edit

Question Tools


Asked: 2012-11-19 00:36:15 -0600

Seen: 17,245 times

Last updated: Nov 19 '12