3

I am using the following VBScript and was not able to install the exe. Please help me.

Set objShell = WScript.CreateObject("WScript.Shell")
objShell.Run "runas /user:D08DVS3\administrator ""C:\Temp\SQLSP3.exe"" /wait /qs /IAcceptSQLServerLicenseTerms /Action=Patch /AllInstances """, 1, True
WScript.Sleep 100

objShell.Sendkeys "Password#1~"

but all it does is paste my password into my Notepad.

0 Answers0