Batch file with admin user name pre populated

  • Thread starter Chicken_Farmer_66
  • Start date
C

Chicken_Farmer_66

I have a batch file that was wrote in power shell (not mine) it requires administrator credentials. Currently what happens is when I click on the file I get a message telling me I will need to enter credentials and to press any key. When I do that the Windows Command Processer pops up asking for the credentials. What I want to do is when clicking on the .bat file it pre-populates the user name field. I still want to manually enter the password. Is something like this possible? I cannot share the code as it contains propriety information. Thanks

Continue reading...
 
Back
Top Bottom