Im pretty new to using autoit and Im trying to setup a script to be able to open up IE with activex allowed and if possible restrict it to only browsing to one address since the browser will have escalated privelages. The reason Im doing this is that we have a security camera setup where we use a piece of software that runs in IE but needs activex. our current domain does not allow for the personell that uses these computers to have any admin rights to be able to allow for active x normally. I just need to launch IE with admin credentials but I dont want them to have full access to the browser for security purposes. I have the runas part setup but do not know how to make the other parts work for me. I had some ideas for if statements but I couldnt figure out how to get it to work the way I need.
#RequireAdmin
Local $sUserName = "Administrator"
Local $sDomain = ""
Local $sPassword = "P@$$w0rd"
RunAs($sUserName, $sDomain, $sPassword, 0,"C:\Program Files\Internet Explorer\iexplore.exe http://172.21.222.4")
this is the usable portion of what I have and Ive searched for hours today, please help
#RequireAdmin
Local $sUserName = "Administrator"
Local $sDomain = ""
Local $sPassword = "P@$$w0rd"
RunAs($sUserName, $sDomain, $sPassword, 0,"C:\Program Files\Internet Explorer\iexplore.exe http://172.21.222.4")
this is the usable portion of what I have and Ive searched for hours today, please help