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

Error while running #1

Open
JsHuang opened this issue Apr 21, 2020 · 2 comments
Open

Error while running #1

JsHuang opened this issue Apr 21, 2020 · 2 comments

Comments

@JsHuang
Copy link

JsHuang commented Apr 21, 2020

I compiled the file and run as admin , but it print below errors

# SystemToken.exe
[!] Error: Could not obtain user token information!
[!] Error: Could not obtain owner token information!

System info:
Windows 10 Build 18362 x64

@yusufqk
Copy link
Owner

yusufqk commented Apr 21, 2020

Hi @JsHuang,

Make sure to use an empty C++ project template and copy the main.c file in the Source folder and the EnablePriv.h file in the Headers folder. Also remember to change the file path for the "#include" definition for the EnablePriv.h file to the appropriate path for your project.

Use Visual Studio to compile the project.

@JsHuang
Copy link
Author

JsHuang commented Apr 22, 2020

Hi @JsHuang,

Make sure to use an empty C++ project template and copy the main.c file in the Source folder and the EnablePriv.h file in the Headers folder. Also remember to change the file path for the "#include" definition for the EnablePriv.h file to the appropriate path for your project.

Use Visual Studio to compile the project.

I did as you said, the only difference is that I 'm using VS2017

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