Login script error

Discussion in 'Scripting' started by Luis O, Feb 20, 2008.

  1. Luis O

    Luis O Guest

    We recently purchased an iPrism web filtering appliance. The appliance can
    generate a login script to be run from GPO (2003) to the clients (XP SP2).

    ***************************************************
    ' Iprism Logon Script
    '
    ' This script is intended to run on end-user workstations. Its purpose is to
    send HTTP-GET requests
    ' to iPrism. These requests inform iPrism of the exact time of when a user
    has logged on to a workstation,
    ' and will also let the iPrism know that the user is still logged on to a
    workstation over periods of time.
    ' By interpreting the HTTP-GET requests and the workstation IP address,
    iPrism will know the username from
    ' each workstation from initial logon until final logoff.
    '
    ' URL of iPrism
    URL="http://10.243.220.2:80/auth-bin/nph-xauth?URL=null"
    '
    ' Creates the 'xml' object, used to send the HTTP-GET requests to the iPrism
    URL
    Set xml = CreateObject("Microsoft.XMLHTTP")
    '
    ' Entry point to the Loop, contents of which are executed after every sleep
    do
    '
    ' COnfigures the 'xml' object to the iPrism URL
    xml.Open "GET", URL, False
    '
    ' Actually Sends the HTTP-GET request and returns the data:
    xml.Send
    '
    ' Tells the loop to sleep, in milliseconds
    WScript.Sleep(300000)
    '
    ' Tells this script to loop, starting with the 'do'
    loop
    *************************************************
    The script attempts to run on the machines when the users login however,
    all the users are getting an error that says the following:


    _____________________________________________________
    Script:
    \\path\....\.....
    Line: 22
    Char: 3
    Error: Access is denied.

    Code: 80070005
    Source: MSXML3.dll
    _____________________________________________________

    Any help would be greatly appreciated.
     
    Luis O, Feb 20, 2008
    #1
    1. Advertisements

  2. Is line 22 the following line?

    xml.Send

    Perhaps users don't have permission.
     
    Richard Mueller [MVP], Feb 24, 2008
    #2
    1. Advertisements

  3. Luis O

    Joel Guest

    We are having the same issues with some of our users. For our XP users,
    resetting the IE security settings to default seemed to fix it.

    We are still getting the error on our servers though.

    Anyone else know more about Microsoft.XMLHTTP?
     
    Joel, May 7, 2008
    #3
  4. Luis O

    djwtech Guest

    Luis O wrote on 02/19/2008 19:41 ET
    I don't mean to bump an old article, but I thought I would add for any futur
    users who come across this article

    The iPrism URL should be based on your Auto-login setting. If it's set to DN
    you need to be using the machine name or FQDN in the URL. If not, using th
    I
    address will result in an Access is denied error when attempting to run th
    script

    Refer to the iPrism support page

    http://www.edgewave.com/support/web_security/help/iPrism/Authentication/Windows/AutoLogin/ip0405.htm
     
    djwtech, Sep 15, 2011
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.