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

KxNt.dll not found #11

Open
OneForgottenMan opened this issue Aug 30, 2024 · 1 comment
Open

KxNt.dll not found #11

OneForgottenMan opened this issue Aug 30, 2024 · 1 comment

Comments

@OneForgottenMan
Copy link

Intro:

Recently all applications with VxKex broke showing error that they can't find the KxNt.dll. In log there is next error entries:

[‎30.‎08.‎2024 7:15:32 1064:1068 KexDll\dllpath.c:207 (KexpShrinkDllPathLength)] RtlFindCharInUnicodeString returned an error // NTSTATUS error code: STATUS_NOT_FOUND
[‎30.‎08.‎2024 7:15:32 1064:1068 KexDll\dllrewrt.c:125 (KexInitializeDllRewrite)] Failed to append Kex32/64 to the DLL search path. // NTSTATUS error code: STATUS_NOT_FOUND

Cause:

This is due to how app works and adds its own path to application DLL search path. It erases duplicate entries from PATH variable and replaces them with its own path, so the length of PATH is not changed.

Solution:

To avoid this error, you NEED to have duplicate entries in PATH environment variable. You can just pick last path in the PATH environment variable and duplicate it several times. How many times - depends on path in which the VxKex installed. The length of all those duplicates combined must be greater or equal to the length of VxKex own path, so it would fit in place of them.

@bilibiliSilentH
Copy link

How do you solve that? I met the same problem.

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

2 participants