Skip to content

Too many Guid keys in MountPoint2 #1193

Answered by Liryna
lanopk asked this question in Q&A
Jan 8, 2024 · 3 comments · 8 replies
Discussion options

You must be logged in to vote

I agree that it would be great to have a way to pass which session to target but it would require some changes as we run some code that are thread session specific like https://github.com/dokan-dev/dokany/blob/9aa1570646dcddaa527ca040868c1fa8ea132348/sys/init.c#L814C14-L819
In the meantime, I can only propose to do a CreateProcessAsUser and process the mount in that new process which will have the correct sessionID as a workaround.

I have created #1196 as a feature request

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Liryna
Comment options

@lanopk
Comment options

Comment options

You must be logged in to vote
6 replies
@lanopk
Comment options

@Liryna
Comment options

@lanopk
Comment options

@Liryna
Comment options

Answer selected by lanopk
@lanopk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1192 on January 08, 2024 14:19.