Bug 23695 - Failure to elevate permissions when configuring network Win8.1
Summary: Failure to elevate permissions when configuring network Win8.1
Alias: None
Product: Xamarin Android Player
Classification: Xamarin
Component: Player ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-10-08 17:38 UTC by Chase Florell
Modified: 2014-12-16 11:26 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Android player log (4.52 KB, text/plain)
2014-10-08 17:40 UTC, Chase Florell

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Chase Florell 2014-10-08 17:38:35 UTC
Checking interface: VirtualBox Host-Only Network
Attempting to disable IP autoconfiguration on adapter VirtualBox Host-Only Ethernet Adapter, known in the registry as {15A93878-4B8D-4016-BD4D-C3F4CC8B2222}
Executing command: C:\Program Files\Xamarin Android Player\setNetworkRegistryValues.exe {15A93878-4B8D-4016-BD4D-C3F4CC8B2222}
Disabling IP autoconf failed: System.ComponentModel.Win32Exception (0x80004005): The requested operation requires elevation
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at Xamarin.AndroidPlayer.CLI.Run(String command, String[] arguments, String& stdout, String& stderr, Boolean root, Int32 timeout)
   at Xamarin.AndroidPlayer.API.HostOnlyNetworkMaker.SetNetworkRegistryValues(String adapterID)
   at Xamarin.AndroidPlayer.API.HostOnlyNetworkMaker.DisableIPAutoconfiguration(String hostOnlyIF)
   at Xamarin.AndroidPlayer.API.HostOnlyNetworkMaker.ConfigureHostOnlyIF(HostOnlyInterface i, Boolean fix)
Comment 1 Chase Florell 2014-10-08 17:40:12 UTC
Created attachment 8361 [details]
Android player log
Comment 2 Will Schaller 2014-12-16 11:26:35 UTC
This has been fixed in version 0.1.1