
Yu can set a co-site that allows integrated login that is a vdir pointing to exactly the same site. The security in IE9 on Windows 7 may not allow this anymore. You may have altered some security settings either directly or through GP to make this work. It doesn't work for me (your exact code except for url) on WS20003, XP, Windows 7 - IE7,IE8,IE9. i.e, i get the error, " the interface is unknown"

I'm worried is that the IE object soon doesnt exist anymore after the login. At this case the default focus would be on the dialog box and not on the address bar of the browser, so if i use Sendkeys function it sends all the keystrokes to the desired input box. So when such dialog box is present on the screen the internetĮxplorer is busy until it receives an input to the dialog box. The reason why i use wscript.sleep outside a busy loop is because i'm entering those login credentials to a Windows Authentication Dialog box and not directly into an HTML page or form. Try it this way: Set WshShell = CreateObject("WScript.Shell")Set IE = CreateObject("InternetExplorer.Application")IE.Visible = TrueIE.Navigate (" While (IE.Busy) wscript.sleep 200LoopWshShell.AppActivate IEWshShell.SendKeys "username"WshShell.SendKeys "" Do While ( IE. the only issue i'm having is that IE object is unknown after authentication to the website. The message will also display the line number.īut in my case i dont have any issue with using Sendkeys in IE 9 for password prompt. You also have not gicen the whole error message. It is highly likely that you cannot send keys to a IE9 application. Please help me as this is very critical for me. More clearly I get this error when IE object is accessed again after navigation. Is Unknown" just after the navigation to required URL is completed. I get the following message " Code 800706B5 The Interface I believe when WScript.Sleep 2000 is called the IE object becomes invalidated Set IE = CreateObject("InternetExplorer.Application") Set WshShell = CreateObject("WScript.Shell")


But when i tried to run,Ĩ00706B5 The Interface is Unknown" just after the navigation to required URL is completed.

But I do want the same code to even run on Windows 7 Machine with IE 9. The issue is that all this vbscript code was working in a Windows Vista Machine with IE 7. I do have a very big issue for which i look forward to get a solution.
