View Single Post
Old December 3rd, 2003, 09:53 AM   Digg it!   #1 (permalink)
Sledgehammer
Junior Member
 
Join Date: Dec 2003
Posts: 2
Running .exe's with Run As in a .bat file

Ok chaps & chapesses,

I need some help with running .exe's in a normal .bat file.

We've recently got rid of all client Local Admin permissions on our Windows 2000 clients. However, I need to rollout a executable in the login scripts to install a new application. This used to be no problem as all domain users were menbers of the local admin group. This is no longer the case. So I need to know if any of you know the syntax for executing a .exe using an administrator userid and password.

My normal login script runs a .bat file which looks something like this:

start/wait \\server001\folder\setup.exe -s -f1\\server001\folder\answerfile.iss

How do I tell it to run this setup.exe under an admin userid?

Thanks
Sledgehammer is offline   Reply With Quote
Search TechIMO for Answers: