Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You cannot solve this easily in the way you are trying to. Most browser executables will check for an existing instance and reuse that one if found. There are browser-specific ways to tweak or skip that check via command-line options in order to allow you to spawn a second process, but they are browser-specific, and even some of those browsers are more stuck up than others.</p> <p>For example, invoking <code>chrome.exe</code> (as administrator) with <code>--user-data-dir=c:\some\path</code> will create a new (elevated) instance the first time it is called, and reuse it on subsequent times provided you give that same user data dir on the command line (even if another (non-elevated) <code>chrome</code> is running all this time with defaults.) The path in question can be anything provided that it exists (you can create it as an empty directory if it doesn't), and it should be yours, not shared with other applications. It can be temporary.</p> <p>Similarly, invoking <code>firefox.exe</code> (as administrator) with <code>-no-remote -profile c:\some\path</code> will create a new (elevated) instance when called even when an instance with a standard profile is already running, though subsequent invocations must use a different profile path or else Firefox (unlike Chrome) will interactively complain that you are essentially trying to run more than one instances from the same profile directory.</p> <p>You can see from the above that it is <strong>possible, but troublesome and error-prone</strong> to spawn a new browser window with elevation, which begs the question: <strong>what <em>exactly</em> do you need to execute with elevation in that new browser?</strong> Does the entire browser really need to run with elevation, or can you delegate "need elevation" functionality to a helper process (that you can easily spawn "as admin" and talk to via the loopback or via named pipe, irrespective of what your host browser is?)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload