Is there a way to execute a cmd command with administrative privileges without having to enter the admin password? Thnks. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is there a way to execute a cmd command with administrative privileges without having to enter the admin password? Thnks.

I'm trying to make a script that sets a wifi hotshot in Windows. One command requires administrative privileges. I've tried the (runas) method but it still asks for admin password

5th Nov 2018, 4:22 AM
Ayoub Haida
Ayoub Haida - avatar
3 Answers
+ 1
Thank you sir ! I found another way to do it.
7th Nov 2018, 6:15 PM
Ayoub Haida
Ayoub Haida - avatar
0
Please tell me the other way
24th Feb 2021, 6:52 PM
Manohara H N
Manohara H N - avatar