Page 1 of 1 1
Topic Options
#185301 - 2008-02-13 06:48 AM Logon script Win XP
Tstrowd Offline
Just in Town

Registered: 2008-02-13
Posts: 4
My script works great mapping drives,etc.
When i put Kix32 in the user logon script box it dosen't run at all.
What the deal with a local login script. i do not have a domain controller just a workgroup.

Top
#185302 - 2008-02-13 09:27 AM Re: Logon script Win XP [Re: Tstrowd]
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4945
Loc: Leatherhead, Surrey, UK
A couple of questions to help us help you:
  1. Where are you specifing the logon script (user properties, local group policy)?
  2. What exactly is the command you are typing in the box?
  3. Have you checked the event logs for any errors during login?

Top
#185337 - 2008-02-14 05:11 AM Re: Logon script Win XP [Re: Richard H.]
Tstrowd Offline
Just in Town

Registered: 2008-02-13
Posts: 4
The logon script only runs if i put a batch file in the Group policy configuration mmc snap in. I don't know why the Kixtart manual says to put the script under the local user profile. It dosen't work!
I have to put the Kix script and Kix32 in the system32 directory also. I wish the manual would have told me this.

Top
#185341 - 2008-02-14 09:04 AM Re: Logon script Win XP [Re: Tstrowd]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
I would discourage to copy the kix32.exe and the kix script to the system32 directory for logon scripts. Copy them to the \\domain\netlogon share (On your domain controller, that is the directory %SystemRoot%\SYSVOL\sysvol\domain.extension\scripts)
If you really wish to work with a batch file, you first try to find out if a Wndows 9x or a Windows NT is login on
for Win9x, you use
%0\..\wkix32 %0\..\KIXTART.KIX
for Win NT, you use
wkix32 KIXTART.KIX
Here is an example of how to veify for the operations system:
Frequently Asked Questions Regarding The Windows 2000 Command Processor
 Quote:

Q. What commands can I use in a logon script?
A. A logon script can use any command supported by the client O/S.

If you have a mixture of Windows NT-based clients and other Windows clients, you can test if the client platform is Windows NT-based by including the following statement:

if "%OS%"=="Windows_NT" goto winnt

If you need to test for a specific operation system, the following commands should work on all Microsoft operating systems:

ver | find "Windows XP" >nul
if not errorlevel 1 goto WXP
ver | find "Windows 2000" >nul
if not errorlevel 1 goto W2000
ver | find "Windows NT" >nul
if not errorlevel 1 goto WNT
ver | find "Windows 98" >nul
if not errorlevel 1 goto W98
ver | find "Windows 95" >nul
if not errorlevel 1 goto W95
ver | find "Windows ME" >nul
if not errorlevel 1 goto WME
ver | find "OEM Service Release" >nul
if not errorlevel 1 goto WOEM
ver | find "MS-DOS" >nul
if not errorlevel 1 goto DOS
::Unknown
echo ERROR - What are you running?
goto END
:WXP
goto end
:W2000
goto end
:WNT
goto end
:W98
goto end
:w95
goto end
:WME
goto end
:WOEM
goto end
:DOS
:end


Top
#185345 - 2008-02-14 10:56 AM Re: Logon script Win XP [Re: Witto]
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4945
Loc: Leatherhead, Surrey, UK
 Originally Posted By: Witto
Copy them to the \\domain\netlogon share (On your domain controller, that is the directory %SystemRoot%\SYSVOL\sysvol\domain.extension\scripts)


You might want to re-read the original post, especially the bit about "workgroup"

Top
#185351 - 2008-02-14 12:07 PM Re: Logon script Win XP [Re: Richard H.]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
Whoops
Top
Page 1 of 1 1


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

Who's Online
0 registered and 35 anonymous users online.
Newest Members
thequeen, ameliaryan, shalomsalami, dkdssdk, Vroon
17639 Registered Users

Generated in 0.03 seconds in which 0.011 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