Ask Your Question
0

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

Comments

Is this the explanation you are looking for: https://index.ros.org/doc/ros2/Instal...

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

1 Answer

Sort by » oldest newest most voted
0

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

2 followers

Stats

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

Seen: 25 times

Last updated: Aug 12