Page 2 of 3 <123>
Topic Options
#208519 - 2014-02-05 11:08 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Lonkero]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4396
Loc: New Jersey
OK - I updated Kix to 4.63 on the netlogon share..
 Code:
Windows 7     - works
Windows 8     - works
Windows 8.1   - works
Server 2008   - works
Server 2008r2 - works
Server 2012   - works
I'll be able to test Server 2012r2 in the next couple of days.

This is calling the login script in the user profile as "kix32.exe kixtart.kix". The Kix script is our Universal Login Script. The ULS default display shows the version of Kix and the version of the script, so I can confirm that it is running 4.63. Everything runs from the Netlogon share.

I tested the Windows 8.1 preview system and saw the script run just as the banner telling me that my eval period had expired and the system would reboot in 1 hour.. ;\)

So - it does not appear to specifically be a Kix issue.

I do set the DelayedDesktopSwitchTimeout value to 0 on all systems so I can see the scripts run. I don't know that I have anything too special in the GPOs. I am using Kix32 and not WKix32.

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

Top
#208520 - 2014-02-05 11:14 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Glenn Barnas]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
you are not pointing to an UNC path when calling kixtart and the script.
this is a difference worth noting.
_________________________
!

download KiXnet

Top
#208521 - 2014-02-06 12:14 AM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Lonkero]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
I have a batch file called logon.bat and it contains a unc path to the kix32.exe and to the script. So my config should be very similar to the original poster. Only difference is, mine works and his doesn't.
Top
#208528 - 2014-02-06 03:44 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Lonkero]
Alka Offline
Fresh Scripter

Registered: 2014-02-05
Posts: 6
Loc: USA
 Originally Posted By: Lonkero
when you say you copy to c-drive, where in c-drive you copy the executable?

I am even further thinking this is an issue of trust. your unc is not recognized as local intranet zone and thus gets blocked. might be way of this, but nobody has checked on this yet.


in the batch file i just run a copy command that copies the exe and the .kix file to a folder on the C drive from the DC. where might the trust setting be on windows 8.1?

Top
#208529 - 2014-02-06 03:47 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Allen]
Alka Offline
Fresh Scripter

Registered: 2014-02-05
Posts: 6
Loc: USA
 Originally Posted By: Allen
I have a batch file called logon.bat and it contains a unc path to the kix32.exe and to the script. So my config should be very similar to the original poster. Only difference is, mine works and his doesn't.



i'm running the same thing, a logon.bat file that points to the netlogon on the DC, but i'm getting the error i posted above for Windows 8.1, but not for Windows 8 or Windows 7.

btw, i'm running Windows 8.1 Enterprise x64 on a Server 2012 DC.

it works on Windows 7 Enterprise x64 and Windows 8 Pro.

Top
#208530 - 2014-02-06 04:29 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Alka]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
alka, in your case I would look do you even have NETAPI32.dll
_________________________
!

download KiXnet

Top
#208531 - 2014-02-06 05:28 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Lonkero]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
 Quote:
in the batch file i just run a copy command that copies the exe and the .kix file to a folder on the C drive from the DC. where might the trust setting be on windows 8.1?


Have you verified that this is happening correctly? Curious why you bother with copying to the local machine anyway?

Top
#208532 - 2014-02-06 05:49 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Lonkero]
Alka Offline
Fresh Scripter

Registered: 2014-02-05
Posts: 6
Loc: USA
 Originally Posted By: Lonkero
alka, in your case I would look do you even have NETAPI32.dll


there is a NETAPI32.dll file located in the netlogon folder. however, it seems to be a older version. can anyone tell me which version of NETAPI32.dll i should have?

it would work fine for Windows 8 Pro, and Windows 7, but not Windows 8.1


Edited by Alka (2014-02-06 05:53 PM)

Top
#208533 - 2014-02-06 05:52 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Allen]
Alka Offline
Fresh Scripter

Registered: 2014-02-05
Posts: 6
Loc: USA
 Originally Posted By: Allen
 Quote:
in the batch file i just run a copy command that copies the exe and the .kix file to a folder on the C drive from the DC. where might the trust setting be on windows 8.1?


Have you verified that this is happening correctly? Curious why you bother with copying to the local machine anyway?


running the wkix32.exe directly from the DCs using a UNC path causes that error i posted above, but changing the logon.bat file and having the kix32.exe copy to the c drive first and then running it, works. now, it could be the version of NETAPI32.dll i have on the dc. just bothers me that it works on Windows 8 pro and Windows 7 without any issues.

Top
#208534 - 2014-02-06 06:01 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Alka]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
Well... my next logical question is... why is the NETAPI32.dll in the netlogon directory? Have you tried just renaming the file to see if the problem corrects itself? In my logon folders I have nothing but the kix32.exe and the scripts.

Also of note, I do not use wkix.exe.

I'm not sure how this relates, but here is a (very old) thread that shows what Kix is looking for in terms of DLLs. http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=96858#Post96858. I have never once added these files to a machine, so obviously they are part of a standard Windows release.

Top
#208546 - 2014-02-07 05:26 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Allen]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
removing that fixed it. :P

I do wonder too, why the file was copied there in the first place...
_________________________
!

download KiXnet

Top
#208548 - 2014-02-07 05:33 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Lonkero]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
Sadly... neither poster has come back to post their results. \:\(
Top
#208549 - 2014-02-07 11:31 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Allen]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
too embarrassed?
_________________________
!

download KiXnet

Top
#208554 - 2014-02-08 04:14 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Lonkero]
ManleyPeterson Offline
Fresh Scripter

Registered: 2014-01-31
Posts: 13
Loc: WI
Allen and Lonkero - I think kixtart is working correctly. I believe my issue is now figuring out how to get wireless devices like laptop and tablets to make valid network connection before the domain user logs in.

In Event Viewer, on the Windows 8 tablet, I am seeing errors for "no domain logon servers available" - so that points to the wireless connection not being ready and connected before the user logs in. That also explains why the kixtart script can be run manually after login, since the wireless connection is then established.

Top
#208555 - 2014-02-08 04:20 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: ManleyPeterson]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
Good to know. Thanks for the update.

I have seen some wireless nics that do reconnect with no issues and some that do not. I think it really depends on the vendor and their drivers. Also, I have seen where the default drivers MS uses have less features than the manufacturers, so you might try updating the drivers if you have a stock Windows loaded.

Top
#208556 - 2014-02-08 04:26 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Allen]
ManleyPeterson Offline
Fresh Scripter

Registered: 2014-01-31
Posts: 13
Loc: WI
Allen - yes, I have found a few sites with info referring to accessing the advanced setting of wireless adapter and enabling Single Sign-on and other such settings, but my HP laptops with Windows 7 64-bit and Qualcomm Atheros drivers did not have those settings.

I have also seen a forum post where you can create a registry value in the Current Version\Run key to auto-connect wireless immediately, but that didn't work either.

I did look for updated drivers, but didn't find any yet. Any other suggestions.

Thanks for all the help.

Top
#208557 - 2014-02-08 04:57 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: ManleyPeterson]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
using the manufacturer supplied drivers usually brake stuff.
specially the linksys, zyxel and alike never work with them. uninstalling the bloatware and only installing the bare minimum driver and letting windows wireless zero configuration take care of the connectivity almost always fixes these issues.
_________________________
!

download KiXnet

Top
#208558 - 2014-02-08 05:08 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: ManleyPeterson]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
Yeah, I saw that post about adding the registry setting and running a profile. Too bad that doesn't work. Here is the only other one I found that might be useful.

http://answers.microsoft.com/en-us/windo...a9-0985de5da483

Top
#208561 - 2014-02-09 12:05 AM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Allen]
ManleyPeterson Offline
Fresh Scripter

Registered: 2014-01-31
Posts: 13
Loc: WI
Allen - okay, thanks, I hadn't see that webpage before. Unfortunately, the poster mentions changing encryption to WPA2-Personal to fix his problem, which is what I already use.

Also, he mentions having his Windows 7 computers set to All Users wireless profile or whatever, which I'm pretty sure I have set on my Win7 laptops, but I'm still having network connectivity problems before users login to domain.

I'm using HP ProBook 4540s laptops, Surface Pro 2 tablets, and Ubiquity Unifi Long Range wireless access points.

Top
#208562 - 2014-02-09 01:08 AM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: ManleyPeterson]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
oh and note about "Then, just yesterday, I found out there was another policy called "Startup policy processing wait time" under Computer Configuration\Administrative Templates\System\Group Policy node. I set it to 50 seconds for testing."

this is longer by default.
if you actually use start up scripts or if your logonscript actually does something important, setting it to something realistic like 10 minutes would be advisable. I have even had environments where the timeout has been disabled.
_________________________
!

download KiXnet

Top
Page 2 of 3 <123>


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

Who's Online
2 registered (morganw, mole) and 414 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.243 seconds in which 0.153 seconds were spent on a total of 14 queries. Zlib compression enabled.

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