6 How can I set login.bat to run with admin rights?

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.

    Requires Free Membership to View

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.

This was first published in June 2003

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.