richardson Posted October 12, 2009 Share Posted October 12, 2009 Hello, Please forgive me if this is a stupid post but here is my situation. I need to install a management agent for our Anti Virus but the batch file provided only works with accounts that have admin rights. Since most of our users do not have admin rights, I would like to create an executional with the a domain Admin account provided. I assume I need to use Runas. I have not been successful at getting this to work so I thought I would see if anyone had any ideas. Here is the batch I need to work with. Thank you in advance for your help! @echo off call "%~dp0\AntiVir_Security_Management_Center_Agent.exe" /s /f1"%~dp0\installsmcagent.iss" Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 13, 2009 Share Posted October 13, 2009 Hello,Please forgive me if this is a stupid post but here is my situation.I need to install a management agent for our Anti Virus but the batch file provided only works withaccounts that have admin rights. Since most of our users do not have admin rights, I wouldlike to create an executional with the a domain Admin account provided. I assume I need to use Runas.I have not been successful at getting this to work so I thought I would see if anyone had any ideas.Here is the batch I need to work with. Thank you in advance for your help!@echo offcall "%~dp0\AntiVir_Security_Management_Center_Agent.exe" /s /f1"%~dp0\installsmcagent.iss"Really, REALLY bad idea to put your domain admin credentials in a script. Compiled scripts are only protected from casual snooping and should NOT be considered secure! Since you have a domain kick off the update remotely with something like SCHTASK.EXE. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now