Iâ??m running a VB script that has been spun off of a Windows Service which is
configured as running as Local System, interact with DeskTop. The VB script
is driving an IE application â?? and the IE application creates a new IE
browser. My script is trying to find the browser with Shell.Application,
using the Windows method to cycle through the windows, finding the one I want.



My problem is that I get the error ActiveX Canâ??t Create Object when I try to
use the Windows method. However it works if Iâ??m logged into the system
console. Is there a permission/setting I can set to have it work without
having the system console logged in?

RE: Create ActiveX object in VBS without console login by llombardo

llombardo
Tue Mar 18 15:02:04 CDT 2008

If you do not have an answer to this question, can yourecommend another
newsgroup or resource to post this question to?

Appreciatively,

Lisa

"Lisa L" wrote:

> Iâ??m running a VB script that has been spun off of a Windows Service which is
> configured as running as Local System, interact with DeskTop. The VB script
> is driving an IE application â?? and the IE application creates a new IE
> browser. My script is trying to find the browser with Shell.Application,
> using the Windows method to cycle through the windows, finding the one I want.
>
>
>
> My problem is that I get the error ActiveX Canâ??t Create Object when I try to
> use the Windows method. However it works if Iâ??m logged into the system
> console. Is there a permission/setting I can set to have it work without
> having the system console logged in?
>

RE: Create ActiveX object in VBS without console login by jialge

jialge
Mon Apr 21 06:14:06 CDT 2008

Hello Lisa,

Sorry for the very big delay of our response to this issue due to the
non-spam registering problems. Are you still monitoring the issue and in
need of our help?

I queried the ActiveX issue in our internal data base, and find a CSS case
opened in 2008-4-1, which talks about the exactly same scenario. I am not
sure if the case was opened by you. From the case log, I read that the
architecture (Windows service call VBS) is not expected to work and opens
security holes, and the only reasonable solution is to change this
architecture. Would you let me know if you have any other concerns on it?
If you have follow-up questions, feel free to let me, or the CSS case
owner, know.

Regards,
Jialiang Ge (jialge@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================