Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Scripting > Login script error

Reply
Thread Tools Display Modes

Login script error

 
 
Luis O
Guest
Posts: n/a

 
      02-19-2008
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.

 
Reply With Quote
 
 
 
 
Richard Mueller [MVP]
Guest
Posts: n/a

 
      02-24-2008
Luis O wrote:

> 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


Is line 22 the following line?

xml.Send

Perhaps users don't have permission.

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--


 
Reply With Quote
 
Joel
Guest
Posts: n/a

 
      05-07-2008

> 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).


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?
 
Reply With Quote
 
djwtech
Guest
Posts: n/a

 
      09-15-2011
Luis O wrote on 02/19/2008 19:41 ET
> We recently purchased an iPrism web filtering appliance. The appliance ca
> generate a login script to be run from GPO (2003) to the clients (XP SP2)
>
> **************************************************
> ' Iprism Logon Scrip
>
> ' This script is intended to run on end-user workstations. Its purpose is t
> send HTTP-GET request
> ' to iPrism. These requests inform iPrism of the exact time of when a use
> has logged on to a workstation
> ' and will also let the iPrism know that the user is still logged on to
> workstation over periods of time
> ' By interpreting the HTTP-GET requests and the workstation IP address
> iPrism will know the username fro
> ' each workstation from initial logon until final logoff
>
> ' URL of iPris
> 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 iPris
> UR
> Set xml = CreateObject("Microsoft.XMLHTTP"
>
> ' Entry point to the Loop, contents of which are executed after every slee
> d
>
> ' COnfigures the 'xml' object to the iPrism UR
> xml.Open "GET", URL, Fals
>
> ' Actually Sends the HTTP-GET request and returns the data
> xml.Sen
>
> ' Tells the loop to sleep, in millisecond
> WScript.Sleep(300000
>
> ' Tells this script to loop, starting with the 'do
> loo
> ************************************************
> 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: 2
> Char:
> Error: Access is denied
>
> Code: 8007000
> Source: MSXML3.dl
> __________________________________________________ __
>
> Any help would be greatly appreciated
>

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_...gin/ip0405.htm
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Login Script - System error 85 Marc S Windows Server 7 02-10-2008 06:47 PM
Login script error John Windows Small Business Server 4 06-01-2006 02:19 AM
Script Error - Login.passport.net Andre Windows Media Player 1 03-26-2005 07:49 PM
Re: login script join error David V. Dellanno Scripting 0 09-26-2003 01:48 AM
Win 98 Login script error ChrisB Scripting 1 09-19-2003 08:25 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59