Jump to content

alexxx73

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by alexxx73

  1. I have the solution!!! The problem was with "" and ' This works.... Local $sUserName = "User" Local $sPassword = "Passwd" RunAs($sUserName, @ComputerName, $sPassword, 0, 'wscript.exe "' & @ScriptDir & '\script.vbs"') Regards
  2. its does not work... :_( thanks for try any idea?
  3. Thanks, i use it, but ask me the user and the pass and then open notepad I want to create a .exe who launch a vbs with admin permission. (The user and pass should be inside the .exe) Thanks a lot!
  4. Hello everyone. The first thing I want is to ask forgiveness for my English, but I'm Spanish. Regarding the question, I searched around the forum, but I have not found how to do it. I use AutoIT3 and what I want is to launch a vbs with administrator permissions. I use this ... Runas ($sUserName, @ComputerName, $sPassword, 0, "cscript.exe " & @ScriptDir & "\script.vbs") But it does not work. Any help? Thanks and gracias!! :-)
×
×
  • Create New...