Page 1 of 1 1
Topic Options
#199714 - 2010-09-01 05:36 PM Kix script issue when moving from one office to the other
freddie_26 Offline
Fresh Scripter

Registered: 2009-08-05
Posts: 11
Loc: Canada
I have written a kixscript that works well, however, when i work at different office i have to manually run the script when i log on for some reason. The thing at one office i have a static IP at the other office its dhcp. Not sure what i could do to correct this that when i log on from either office the script runs

Anyway help will be appreciated

Top
#199719 - 2010-09-01 08:32 PM Re: Kix script issue when moving from one office to the other [Re: freddie_26]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well... is the network available before logon for one?
_________________________
!

download KiXnet

Top
#199725 - 2010-09-02 09:04 AM Re: Kix script issue when moving from one office to the other [Re: Lonkero]
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
You may also need to determine if the script is not running, or if it is running but just not doing what you expect.

If it's the former then you need to look at the order that the logon processing takes - for example if you don't get network resources until afrer you log on (for example because your wireless authentication is based on your used id) then you'll have problems running logon scripts.

If it's the latter then good error trapping and reporting in the script will help isolate the problem.

Also consider looking up RunLogonScriptSync and see if that helps.

Top
#199838 - 2010-09-13 10:16 PM Re: Kix script issue when moving from one office to the other [Re: Richard H.]
freddie_26 Offline
Fresh Scripter

Registered: 2009-08-05
Posts: 11
Loc: Canada
Yes the network is available.

As i explain we have two offices which user frequently moved from one office to the other. Users that receive DHCP address have no issues.

Users that have Static IP address and have to change to DHCP, the script does not run. It has to be manually run, then all drives are mapped.

Is there something that i should add to my script in regards to IP address or domain server?

Top
#199839 - 2010-09-13 10:55 PM Re: Kix script issue when moving from one office to the other [Re: freddie_26]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Reading your post I assume that the IP of one office is in a different range then the other office. Transferring all users to DHCP should fix your issue if both IP ranges are not the same.

Users that have a fixed IP cannot access the server in the DHCP office if the IP ranges do not "fit".
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#199849 - 2010-09-14 01:33 PM Re: Kix script issue when moving from one office to the other [Re: Mart]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
This is a procedural issue.. if the user's log on using cached credentials and then change to DHCP, of course the login script won't work - they are already "logged on". What happens if they immediately log off and back on after changing to DHCP?

Using static IPs on workstations is a very poor design, and on laptops even more so. Use DHCP in both locations for all workstations and take a few moments to set up reservations at the site where static addresses are needed. Simple, effective, and the pain is limited to the 5 minutes of admin time needed to create a few reservations.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 320 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.15 seconds in which 0.11 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org