borsitsb / virtualboxservice

Automatically exported from code.google.com/p/virtualboxservice
GNU General Public License v3.0
1 stars 1 forks source link

Service not starting due to security reason #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install the service on Windows 7 x64
2. Starting the service shows this error in my application log (eventlog). 
Service cannot be started. System.Security.SecurityException: Requested 
registry access is not allowed.
   at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
   at VBoxWrapper.COMInterface.VBoxComUtils.GetVirtualBoxAppIDKey()
   at VBoxWrapper.COMInterface.ComMachineProxyListBuilder.initVirtualBox()
   at VirtualBoxService.Service.configureVBoxWrapper()
   at VirtualBoxService.Service.startMachineController()
   at VirtualBoxService.Service.OnStart(String[] args)
   at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
The Zone of the assembly that failed was:
MyComputer

What version of the product are you using? On what operating system?
latest

Original issue reported on code.google.com by fgn.crus...@googlemail.com on 21 Sep 2012 at 1:20

GoogleCodeExporter commented 8 years ago
Has the account you're using to run the service the rights to modify registry? 
If you're unsure about that, assume, that the service will need admin rights 
(See "Current Limitations").

Original comment by Felix.Ru...@gmail.com on 24 May 2013 at 5:20

GoogleCodeExporter commented 8 years ago
Issue 6 has been merged into this issue.

Original comment by Felix.Ru...@gmail.com on 24 Sep 2014 at 4:11