By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
How can I set login.bat to run with administrator rights? If I log in as a user and don't have administrator rights on the client, and I am trying to do something that requires administrator rights. Login.bat will not execute properly.
If you want to perform an activity that requires admin rights, you should log in as an admin. If you want to run something at elevated privileges, use the RunAs command. I don't know if it is possible to change the execution security level of a logon script.