Page 1 of 3 123>
Topic Options
#208476 - 2014-02-03 04:59 PM kix32.exe 4.63 and Windows 8.1 - script doesn't run
ManleyPeterson Offline
Fresh Scripter

Registered: 2014-01-31
Posts: 13
Loc: WI
I have been using Kixtart for about 5 years. It has worked great with Windows XP and Windows 7. My login.kix file is called from logon.cmd and I use it to map drives, printers, and run a few other programs.

I updated to version 4.63 since I have a few Windows 8 computers. The script does not appear to run on these Windows 8 computers when the users log in using their domain credentials. However, after they are logged in, I can go to the SYSVOL share and run the logon.cmd manually (which calls the kix32.exe) and the script runs and does everything correctly.

What is the issue? Is it because the Windows 8 computers (both are Surface Pro 2 tablets) boot up so fast?

Top
#208477 - 2014-02-03 05:42 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: ManleyPeterson]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4401
Loc: New Jersey
Question - do you not SEE the script run, or does it not map the drives?

I deployed a Windows 8.1 Pro workstation this weekend and our login script runs as always. I did set the DelayedDesktopSwitchTimeout value on the workstation to Zero, though.. our script runs fast - 4-5 seconds - and the timeout of 30 seconds was both annoyingly slow and blocked the login script from running visibly during login.

We're running Kix 4.62 - I can verify 4.63 tonight.

The boot time is generally not an issue - things happen in a specific sequence.. BUT!!!
It's possible that you are not defining the Wait for Network at Startup setting in GPO.

This delays the presentation of the login screen until the workstation can see AD when connected to a domain network. With the setting disabled, the computer can log you in with cached credentials, and login scripts and GPOs will not run at that time. The net effect of enabling this setting is a few second delay between BOOT and the display of the C-A-D login screen. This issue is usually only seen after a computer cold boot because the login can be made available before all networking is initialized. A cold boot will fail but a logoff/logon will usually work properly if this setting is not defined and the cause of the problem.

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

Top
#208478 - 2014-02-03 05:50 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Glenn Barnas]
ManleyPeterson Offline
Fresh Scripter

Registered: 2014-01-31
Posts: 13
Loc: WI
Glenn, thanks for the reply.

I know the script is not running on the Windows 8 computers, because it doesn't map the drives, the printers, or run the few programs I have setup.

However, after login, if I browse to SYSVOL and run the logon.cmd batch file, a command prompt window will pop up and the script is run because the drives get mapped, etc.

Yes, I have had the Wait for Network setting enabled in GPO for many years.

Top
#208479 - 2014-02-03 06:04 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: ManleyPeterson]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4562
Loc: USA
I have 4.63 running at all my customer locations. They have a mix of XP, Win7, Win8, and Win8.1. No problems with the logon script.

I was going to suggest making sure the Wait for Network GPO is enabled, but it sounds like you have it.

Is this a traditional logon script or GPO startup script?

Top
#208480 - 2014-02-03 07:35 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 - sorry, I guess I'm not sure what you mean by traditional vs GPO startup.

But, here is an excerpt:

 Code:
;if user is a DHHS Employee, then map drives and printers
IF INGROUP("Dhhs Employee")

	;If DHHS user doesn't have a P: Drive, make one
	IF NOT EXIST("\\fileserver\dhhs\users\%USERNAME%")
		MD "\\fileserver\dhhs\users\%USERNAME%\"
	ENDIF

	;Map Network Drives that all DHHS users get
	USE H: /DELETE /PERSISTENT
	USE N: /DELETE /PERSISTENT
	USE P: /DELETE /PERSISTENT		
	USE H: "\\fileserver\dhhs\apps" /PERSISTENT
	USE N: "\\fileserver\dhhs\common" /PERSISTENT
	USE P: "\\fileserver\dhhs\users\%USERNAME%" /PERSISTENT

	;Map Specific Network Drives and Printers Based upon DHHS AD Groups
	SELECT	
		
		;Map for Corporation Counsel
		CASE INGROUP("CorpCounUsers")

			IF NOT PRIMAPSTATE("\\trouble\econdev-hp")
				ADDPRINTERCONNECTION("\\trouble\econdev-hp")
				SETDEFAULTPRINTER("\\trouble\econdev-hp")
			ENDIF

			IF NOT PRIMAPSTATE("\\trouble\econdev-ricoh")
				ADDPRINTERCONNECTION("\\trouble\econdev-ricoh")
			ENDIF			

		;Map for ADRC
        	CASE INGROUP("ADRCusers")

			IF NOT PRIMAPSTATE("\\trouble\adrc-mfp")
				ADDPRINTERCONNECTION("\\trouble\adrc-mfp")
				SETDEFAULTPRINTER("\\trouble\adrc-mfp")
			ENDIF

			IF NOT PRIMAPSTATE("\\trouble\adrc-hp")
				ADDPRINTERCONNECTION("\\trouble\adrc-hp")
			ENDIF	



Edited by Allen (2014-02-03 07:42 PM)
Edit Reason: added code tags

Top
#208481 - 2014-02-03 07:37 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: ManleyPeterson]
ManleyPeterson Offline
Fresh Scripter

Registered: 2014-01-31
Posts: 13
Loc: WI
And in my logon.cmd file, this is what calls kix program:


@echo off
\\DOMAIN\netlogon\kix32.exe \\DOMAIN\netlogon\login.kix


-----where DOMAIN is replaced with my domain name


Edited by ManleyPeterson (2014-02-03 07:38 PM)

Top
#208482 - 2014-02-03 07:48 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: ManleyPeterson]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4562
Loc: USA
I stand corrected... still using 4.62. I have not tested 4.63 in those environments. I'm actually waiting for 4.64 to come out of beta and I was going to use that.

Do you have a @producttype statement in your script? There is a bug in 4.63 that causes it to display the wrong info.

Top
#208483 - 2014-02-03 10:56 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
Okay, thanks. No, I don't use the @producttype statement.

I'm really at a loss at this point. I'm hoping it is something simple or stupid, but again, everything works perfectly fine with Windows XP or Windows 7 clients. It is only with the Window 8 client where it doesn't work.

Top
#208487 - 2014-02-04 02:48 AM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: ManleyPeterson]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
I don't have any Windows 8.1 in production but I do know that there are quite a few applications that work in Windows 8 that do not work in 8.1 - MS made quite a few more security changes under the hood that seem to lock out some programs that don't do things the approved MS way I'm guessing.
Top
#208488 - 2014-02-04 05:07 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: NTDOC]
ManleyPeterson Offline
Fresh Scripter

Registered: 2014-01-31
Posts: 13
Loc: WI
Would UAC being ON or OFF matter one way or the other in regards to the script not running?
Top
#208489 - 2014-02-04 05:09 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: ManleyPeterson]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4562
Loc: USA
Just for grins have you tried a different version of kix and/or with a very simple script?
Top
#208506 - 2014-02-05 03:21 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
Yes, I was originally running version 4.60 with Window 8 when the script wouldn't run, so that is why I upgraded to 4.63.

In my Windows 2008 R2 group policy, I enabled the wait time for login script to 50 seconds, and I am waiting to test that out.

Top
#208507 - 2014-02-05 03:23 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: ManleyPeterson]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4562
Loc: USA
Just to make sure we are talking about the same GPO, see

http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=112428#Post112428

Top
#208509 - 2014-02-05 04:22 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 had the "Always wait for the network at computer startup and logon" enabled for years.

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.

Even with these 2 settings enabled in GPO, the Windows 8 tablet still does not run the script. However, after tablet is logged into domain with user and I goto desktop, I can immediately browse to SYSVOL and run the logon.cmd and the script runs perfectly.

Also, I can confirm UAC enable/disable had no effect.

Top
#208510 - 2014-02-05 04:49 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: ManleyPeterson]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4562
Loc: USA
Anything in the the Eventviewer?
Top
#208512 - 2014-02-05 05:36 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
hmm... is your "mydomain" part of local intranet?
_________________________
!

download KiXnet

Top
#208513 - 2014-02-05 05:55 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
Yes, my domain is local. I will check out Event Viewer for clues. Also, I just found out you can run the command "rsop.msc" at command prompt to see which group policy settings have been applied on a client, so I'll check that out, too.

I believe my domain and DNS are set up correctly, because Windows XP and Windows 7 clients have no issues with login script.

Top
#208514 - 2014-02-05 06:04 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: ManleyPeterson]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4401
Loc: New Jersey
I have the office all to myself today due to the snow, ice, sleet, and other frozen concoctions. I'll push 4.63 up and try the Windows 8 and 8.1 systems this afternoon.

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

Top
#208516 - 2014-02-05 09:47 PM Re: kix32.exe 4.63 and Windows 8.1 - script doesn't run [Re: Glenn Barnas]
Alka Offline
Fresh Scripter

Registered: 2014-02-05
Posts: 6
Loc: USA
I'm having sort of the same issue running on Windows 8.1, everything runs fine on Windows 7.

"WKIX32.EXE - Entry Point Not Found"
The Procedure entry point RtlConvertUiListToApiList could not be located in the dynamic link library \\<domain controller>\netlogon\NETAPI32.dll

This is running WKIX32.exe directly from the DC, When I modified the batch file to copy the wkix32.exe and .kix file to the C Drive on the Win8.1 machine and then run, it was working.

Anyone seen this issue before?

Thanks in advance!


Edited by Alka (2014-02-05 09:48 PM)

Top
#208518 - 2014-02-05 09:59 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
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.
_________________________
!

download KiXnet

Top
Page 1 of 3 123>


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

Who's Online
0 registered and 657 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.084 seconds in which 0.032 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