#139645 - 2005-05-12 02:45 PM
Kix script do not run over VPN
|
norphf
Fresh Scripter
Registered: 2004-12-08
Posts: 9
|
Hi
I have stared using, kix i my compagny. Som users have a laptop, and an HardWare VPN tunnel at home.
When they are using there laptop at work, there is no probs with the kix, but when they com home where its over VPN, the kix do not run. The computer have VPN/Access to the domaincontroller all the time, because the VPN tunnel is created in an Hardware box
Someone know why? / What is the official/most used way to make the runkix run on logon?
Just another stupid question from nOrphf
|
Top
|
|
|
|
#139646 - 2005-05-12 02:57 PM
Re: Kix script do not run over VPN
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
There has been some other threads on this subject. What VPN client are you using? If you use Cisco's VPN client on the laptop, it can be configured to start the tunnel before the user logs on to the laptop.
Then when the user does log on, your script should execute.
|
Top
|
|
|
|
#139647 - 2005-05-25 10:13 AM
Re: Kix script do not run over VPN
|
norphf
Fresh Scripter
Registered: 2004-12-08
Posts: 9
|
ok, As I said, the VPN tunnel is created in an Hardware box (ZyWALL 2), so the VPN tunnel is running, even before, the laptop is started.
|
Top
|
|
|
|
#139648 - 2005-05-25 03:05 PM
Re: Kix script do not run over VPN
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
And the computer is a member of the domain? If not, your script will not run. If so, have you verified that the computer can find the dmain and logon itself?
Have you seen our FAQ: Windows XP Professional Fast Logon Optimization
|
Top
|
|
|
|
#139649 - 2005-06-09 11:17 AM
Re: Kix script do not run over VPN
|
norphf
Fresh Scripter
Registered: 2004-12-08
Posts: 9
|
Yes. The computer is in a domain. Now I also have a computer insid the house, whom also have the same problem. So is there someting wrong with my script?
Bat file: @echo off %0\..\kix\kix32.exe \\dc\kix\logon.kix
Kix file: ;SLETTER ALLE TIDLIGERE MAPPEDE DREV
use * /DELETE /PERSISTENT
; FUNKTIONER
;SLETTER ALLE PRINTERE PÅ COMPUTEREN function DelPrinterConnections() dim $c,$bk,$conn $c=0 $bk="HKEY_CURRENT_USER\Printers\Connections" $conn=enumkey($bk,$c) while @error=0 ;$c=$c+1 $conn=delkey($bk+"\"+$conn) $conn=enumkey($bk,$c) loop endfunction
; GRUPPE INSTILLINGER
IF INGROUP("Overvågning")
use x: \\andblrdm\Lotus use y: \\sqlserver\webfolder use z: \\DC\progs
ENDIF
IF INGROUP("AB-online") use z: "\\DC\GroupDirs\e-business" use s: \\sqlserver\webfolder use y: \\DC\GroupDirs\freelance use p: \\DC\progs use n: \\DC\GroupDirs\Newbizz
;BRUGER INSTILLINGER IF @Userid = lmo ;messagebox("Halleløjsa","dialog",64) ENDIF ENDIF
IF INGROUP("Analyse") use z: "\\DC\GroupDirs\analyse" use y: "\\DC\GroupDirs\analyse - freelance" use p: "\\dc\presag" ;BRUGER INSTILLINGER IF @Userid = cbh use s: "\\sqlserver\webfolder\analyse" endif ENDIF
IF INGROUP("Konsulent") ;GENERELLE KONSULENT INSTILLINGER use z: \\DC\GroupDirs\Konsulent use y: \\DC\GroupDirs\Analyse\analyse\gallup use n: \\DC\GroupDirs\Newbizz ;BRUGER INSTILLINGER IF @Userid = mha use q: "\\DC\GroupDirs\e-business" endif IF @Userid <> leo DelPrinterConnections() endif ENDIF
IF INGROUP("analyse - freelance") use n: \\DC\GroupDirs\Newbizz use y: "\\DC\GroupDirs\analyse - freelance" use s: "\\dc\GroupDirs\Superbest"
ENDIF
IF INGROUP("Produktion") use z: \\DC\GroupDirs\produktion ;BRUGER INSTILLINGER IF @Userid = jpe use k: \\DC\GroupDirs\Konsulent endif
ENDIF
; INSTILLINGER ALLE SKAL HAVE
;DREV MAPNINGER use @HomeDrive "@HomeShr\@HomeDir" use u: \\dc\GroupDirs\fælles
; PRINTERE AddPrinterConnection("\\dc\4500N") AddPrinterConnection("\\dc\SplashG3")
Should there be a problem with this?
|
Top
|
|
|
|
#139651 - 2005-06-10 04:50 PM
Re: Kix script do not run over VPN
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Does the black DOS window appear at all?
In your batch file and script create a log of activity.
Include lines like:
date<nul >>c:\script.log echo. >>c:\script.log time<nul >>c:\script.log echo. >>c:\script.log
so you have evidence that the batch file executed.
No DOS window appears. - Wrong data in the account properties - CMD.exe or Command.com can not be executed on the computer - XP fast logon issue See FAQ
|
Top
|
|
|
|
#139653 - 2005-06-17 12:06 PM
Re: Kix script do not run over VPN
|
norphf
Fresh Scripter
Registered: 2004-12-08
Posts: 9
|
Hmmm it looks like it has something to do with the account, the script do not run at all.
Someone knows what could cause that?
EDIT: I have disabled Windows XP Fast logon. So the Network should be established.
Edited by norphf (2005-06-17 12:13 PM)
|
Top
|
|
|
|
#139654 - 2005-06-17 10:48 PM
Re: Kix script do not run over VPN
|
angryscientist
Fresh Scripter
Registered: 2005-06-15
Posts: 18
|
you guys, he has a HARDWARE vpn tunnel, there is no issue with the tunnel being up before the user tries to login, also, in a domain controller environment the user wont be able to log on to the domain if the client computer is unable to contact the domain controller. so basically if these guys are able to log on, then they should be recieving the script. check thier active directory settings.
|
Top
|
|
|
|
#139655 - 2005-06-17 11:08 PM
Re: Kix script do not run over VPN
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Quote:
you guys, he has a HARDWARE vpn tunnel, there is no issue with the tunnel being up before the user tries to login, also, in a domain controller environment the user wont be able to log on to the domain if the client computer is unable to contact the domain controller. so basically if these guys are able to log on, then they should be recieving the script. check thier active directory settings.
This may be correct.. But, you can set the Cisco VPN to use or not use a login script..
Kent
|
Top
|
|
|
|
#139656 - 2005-06-20 10:23 AM
Re: Kix script do not run over VPN
|
norphf
Fresh Scripter
Registered: 2004-12-08
Posts: 9
|
Quote:
Quote:
you guys, he has a HARDWARE vpn tunnel, there is no issue with the tunnel being up before the user tries to login, also, in a domain controller environment the user wont be able to log on to the domain if the client computer is unable to contact the domain controller. so basically if these guys are able to log on, then they should be recieving the script. check thier active directory settings.
This may be correct.. But, you can set the Cisco VPN to use or not use a login script..
Kent
Maybe with CISCO vpn, but now I am using ZyXEL ZyWALL...
Edited by norphf (2005-06-20 10:25 AM)
|
Top
|
|
|
|
#139657 - 2005-06-20 10:27 AM
Re: Kix script do not run over VPN
|
norphf
Fresh Scripter
Registered: 2004-12-08
Posts: 9
|
Quote:
you guys, he has a HARDWARE vpn tunnel, there is no issue with the tunnel being up before the user tries to login, also, in a domain controller environment the user wont be able to log on to the domain if the client computer is unable to contact the domain controller. so basically if these guys are able to log on, then they should be recieving the script. check thier active directory settings.
Do you have any ide of what to look for? The script run with out problem, when he is a work...
|
Top
|
|
|
|
#139659 - 2005-06-21 01:43 PM
Re: Kix script do not run over VPN
|
norphf
Fresh Scripter
Registered: 2004-12-08
Posts: 9
|
No not 100 % But will check it. acually I dont think so.
But the server names/IP's ar in the hosts fil. If thats enough.
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 84 anonymous users online.
|
|
|