Skip to content

Conversation

@ZhaoSQ-CH
Copy link

1.Use cmd file to double-click windows host.cmd to run the program;
2.Adding the code of python to obtain administrator rights can realize the operation of the cmd window program without administrative rights.

1.Use cmd file to double-click windows host.cmd to run the program;
2.Adding the code of python to obtain administrator rights can realize the operation of the cmd window program without administrative rights.
@ZhaoSQ-CH
Copy link
Author

I am very happy to run your project successfully, so I made some modifications and verified the feasibility because, in the actual running process, we need to use administrator rights to obtain some functions.

@DustinWatts
Copy link
Owner

I'll try this soon to see if it works as intended. But running the script as admin to start with, should inherit the admin rights.

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

Successfully merging this pull request may close these issues.

2 participants