ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

ROS 2 Admin Privileges on Windows 10

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

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 -0600 )edit

1 Answer

Sort by » oldest newest most voted

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

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

Question Tools



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

Seen: 1,265 times

Last updated: Aug 12 '19