How to run command line with admin right in C# [duplicate]
问题 This question already has answers here : Elevating process privilege programmatically? (5 answers) Execute several elevated commands in shell (or similar) (1 answer) How to run multiple lines in cmd as administrator using C#? (2 answers) How do I make a console app always run as an administrator? (3 answers) Closed 3 years ago . I have referenced some other topics and it comes up the following coding, yet it doesn't work. I allow it creates command window and use "/k" argument keeping the