Skip to content

Threading issue using "Run as Administrator" #16

Description

I am able to execute programs as administrator (elevated) on Windows 8 using either mirrorfs.exe or the original Dokan mirror.exe as long as I set the maximum number of threads to 1 (/t 1).

Once I increase the thread count (e.g. /t 0), executing setups (or using "Run as administrator" from the context menu) seems to fail every 2 to 3 starts (but this varies greatly). This behavior also seems to vary depending on the application I try to run.


Example:

  • I mount my D:\ drive as X:\ using mirrorfs.exe (mounted as a removable drive)
  • Then I browse to the Downloads folder which is located there.
  • I double click on the DokanInstall_0.6.0.exe. This is just an example, this happens for every installer eventually. For the Dokan installer I can reproduce the behavior after 2 to 4 starts.
  • I confirm the UAC prompt.
  • If the setup is started successfully (i.e. Dokan displaying a compatibilty warning for Windows 8) I retry.

After a few tries Windows will refuse to start the application (or report it as crashed) either before or after the UAC prompt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions