Opened 9 years ago

Last modified 8 months ago

#600 open defect

openUrl() confounded by certain Windows registry values

Reported by: tik Owned by:
Priority: minor Milestone:
Component: apps/systray Version: 0.8.12
Keywords: Windows Cc:
Parent Tickets: Sensitive: no


Windows XP 32-bit
An old version of Opera installed at c:\bin\Opera\
Current version of Opera installed at c:\bin\Opera 11\
HKEY_CLASSES_ROOT\http\shell\open\command is set to "c:\bin\Opera 11\Opera.exe" "%1"

When "Launch browser on router startup" is enabled, the wrong executable is launched.

Expected result:
C:\bin\Opera 11\Opera.exe should launch.

Actual result:
C:\bin\Opera\Opera.exe launches. (And it hangs and doesn't draw a window… a topic for another ticket.)


#2682: Don't run Windows Service as System useropen

Change History (5)

comment:1 Changed 9 years ago by tik

Priority: majorminor

Here is the problem:

I2Psvc.exe runs as the "NT AUTHORITY\SYSTEM" on startup (as a service.)

HKEY_CLASSES_ROOT key in windows is a merged/derived view of HKEY_LOCAL_MACHINE\Software\Classes and HKEY_CURRENT_USER\Software\Classes.

There is no HKEY_USERS\S-1-5-18\Software\Classes\http key, and thus "NT AUTHORITY\SYSTEM" does not see a HKEY_CURRENT_USER\Software\Classes\http key.

So, for "NT AUTHORITY\SYSTEM", HKEY_CLASSES_ROOT\http\shell\open\command is the default system value stored in HKEY_LOCAL_MACHINE\Software\Classes\http\shell\open\command.

Which in my case happens to be "c:\bin\Opera\Opera.exe" "%1"

comment:2 Changed 8 years ago by str4d

Milestone: 0.8.13

comment:3 Changed 8 years ago by str4d

Keywords: Windows added

comment:4 Changed 10 months ago by aargh

Component: api/utilsapps/systray
Sensitive: unset
Status: newopen

comment:5 Changed 8 months ago by zzz

Add a subticket #2682 (Don't run Windows Service as System user).

Note: See TracTickets for help on using tickets.