Q

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.
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 last published in June 2003

Dig Deeper on Windows Server Troubleshooting

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close