Ask Your Question

ROS 2 Admin Privileges on Windows 10

asked 2019-08-12 12:17:47 -0500

allenh1 gravatar image

I'm wondering why Windows 10 needs administrator privileges to build and run ROS 2, and if this could be changed with a patch?

To build ROS 2 you will need a Visual Studio Command Prompt (“x64 Native Tools Command Prompt for VS 2019”) running as Administrator.

This is detailed in the build settings, but it doesn't link to an explanation of why.

Note that the first time you run any executable you will have to allow access to the network through a Windows Firewall popup.

This, also from the build guide, is my best guess as to why, but I'm asking because I'm not sure.

edit retag flag offensive close merge delete


Is this the explanation you are looking for:

Dirk Thomas gravatar image Dirk Thomas  ( 2019-08-12 12:28:15 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2019-08-12 12:27:58 -0500

sloretz gravatar image

There is at least one issue: patch.exe seems to require running in administrator mode. There is more context in this rviz_ogre_vendor ticket and a note about it on the Windows development setup page.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2019-08-12 12:17:47 -0500

Seen: 1,143 times

Last updated: Aug 12 '19