Page 1 of 1 1
Topic Options
#112724 - 2004-01-28 10:52 PM server 2003 and xp logon scripts Help!!!!!!!!!
Thumppc Offline
Lurker

Registered: 2004-01-28
Posts: 4
Where to start. We have a new sever running 2003 standard edition, our client machines are running XP pro. I have written a logon script to map drives and printers and provide the user with information during the logon. I am trying to run this script at logon.

I have read many threads and visited the Microsoft website for information on how to achive this goal. Microsoft says I can call the logon script from the user profile or I can use a GPO. The threads I have read on this board indicate using a GPO I have tried both. I am only able to get the domain administrator account to run the script using the GPO.

Some info about my server follows.
-My server is set up as a DC=junge.cr.iowa

-My server name=Server

-My user accounts live in OU=Junge Users

-I made a GPO called Junge users in the OU=Junge Users which is enforced and link enabled and Security Filtering is set to Authenticated Users

-In the GPO under user configuratiion, Windows settings, scrpits, logon I have added my script called logon.kix (I browsed to the file and selected it)

-I have extracted my Kixtart files into my c$\netlogon directory and have also placed a copy of the script there.

-I noticed that when I hit show files from the Logon properties page that the path for the logo scrpit is different from the netlogon location, so I copied all the Kixtart files and my logon script to this location which is
\\Junge.cr.iowa\SYSVOL\Junge.cr.iowa\Policies\{ee002670-(yada yada) 30a4}\users\scripts\logon
My Netlogon directory lives in \\Junge.cr.iowa\Netlogon

-I have checked security on these folders and find that authenticated users have read&execute, read, list folder content and read permissions.

-In my GPO i have set under admin templates, system, scripts Run logon scripts synchronously enabled and Run logon scipts visible to enabled. I have also se my group policy refresh interval for users to enabled and the time to 0 for testing purposes.

I have used my file server manager to check opened files during logon and find that if I logon with my test account it opens \\Junge.cr.iowa\SYSVOL\Junge.cr.iowa\Policies\{ee002670-(yada yada) 30a4}\gpt.ini
When I logon with an administrator account I it opens \\Junge.cr.iowa\SYSVOL\Junge.cr.iowa\Policies\{ee002670-(yada yada) 30a4}\User\Scripts\Scripts.ini then it opens wkix32.exe from my home direcory on the server and executes the script.

I hope this information will help some one help me figure out what is going on and why I can't run the script for regular Domain Users.



Top
#112725 - 2004-01-28 11:08 PM Re: server 2003 and xp logon scripts Help!!!!!!!!!
Thumppc Offline
Lurker

Registered: 2004-01-28
Posts: 4
Another interesting piece of info when I wrote the script I wrote it in my home directory. I removed Kixtart and the script from my home directory now it won't run the scrpit when I logon like it did before.... HMMMMMMMMM
Top
#112726 - 2004-01-28 11:25 PM Re: server 2003 and xp logon scripts Help!!!!!!!!!
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
See for example How-TO: Run KiXtart scripts via LPO/GPO
_________________________
There are two types of vessels, submarines and targets.

Top
#112727 - 2004-01-28 11:40 PM Re: server 2003 and xp logon scripts Help!!!!!!!!!
Thumppc Offline
Lurker

Registered: 2004-01-28
Posts: 4
Could I not just call the executable with the script file as a paramater.
Top
#112728 - 2004-01-28 11:46 PM Re: server 2003 and xp logon scripts Help!!!!!!!!!
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Did you read the post?
Quote:


However, there is a way to directly launch KiXtart scripts via LPO/GPO without the use of a batch file.




So, either do it via the extension association or via an intermediate batch file. However, I'd rather not run the login script via GPO but via the user logon script property as this would not require a batch file.
_________________________
There are two types of vessels, submarines and targets.

Top
#112729 - 2004-01-29 03:53 PM Re: server 2003 and xp logon scripts Help!!!!!!!!!
Thumppc Offline
Lurker

Registered: 2004-01-28
Posts: 4
Thanks for the info. I removed the GPO for the group and used the user profile to run the script. On the property sheet for the use under logon script I put (Wkix32.exe logon.kix No path info) I just made sure that the executable and the script lived in \\server\netlogon. it worked but did not display the screen, a small glich that I will overcome. Thanks again.
Top
#112730 - 2004-01-29 04:23 PM Re: server 2003 and xp logon scripts Help!!!!!!!!!
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Quote:

a small glich that I will overcome



No glitch, but by design, as you elected to run the console-less version of KiXtart, which will not create a console unless there's explicit console output in the script.
_________________________
There are two types of vessels, submarines and targets.

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 895 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.056 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

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