Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Threading issue using "Run as Administrator" #16

Open
ghost opened this issue Jun 30, 2014 · 1 comment
Open

Threading issue using "Run as Administrator" #16

ghost opened this issue Jun 30, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 30, 2014

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.

@BenjaminKim
Copy link
Owner

@SelConShaSh Sorry for late response. I will figure it out this when I get free time.
If you try to use Process Monitor, you might be possible to find what is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant