Page 1 of 1 1
Topic Options
#211863 - 2016-08-05 11:09 PM Not running in Windows 2012
carpacheco Offline
Fresh Scripter

Registered: 2016-08-05
Posts: 5
Loc: Florida
I am running into major issues with kixtart and Windows 2012 server.
I use it to map drives by calling the following batch file located in netlogon:

@ECHO OFF
REM %0\..\Kix32.exe /f %0\..\bis.kix

The problem is that the script works only if I add the word explorer at end of script or if I manually run it:
Like below:

@ECHO OFF
REM %0\..\Kix32.exe /f %0\..\bis.kix
explorer

It works fine in other versions of Windows but not in 2012.
I confirmed that is not a GPO issue because if I add calc.exe at end of script it launches calc but it does not map the drives.

Top
#211865 - 2016-08-06 12:24 AM Re: Not running in Windows 2012 [Re: carpacheco]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4574
Loc: USA
You do realize you have REM in front of your command?
_________________________
(... better days ahead)

Top
#211867 - 2016-08-07 04:08 AM Re: Not running in Windows 2012 [Re: Allen]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
Welcome to KORG!

Just FYI - running the login script via GPO is a bit slower than running directly via the user profile.

At a project 2 years ago, a client with almost 25,000 users used GPO-based mapping - took almost 40 seconds to map 11 drives; they switched to a GPO-deployed script and the time dropped to about 18 seconds, and we deployed our login script via user profile and it completed in under 5 seconds.

Another thing - you're specifying /f, which flushes the user-group cache every time Kix runs, effectively eliminating the benefits of the cache. Unless you're making daily changes to groups used for mapping, this is hurting your performance.

Try running from a user profile, and specify only "Kix32.exe bis.kix".

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

Top
#211980 - 2016-10-01 04:38 PM Re: Not running in Windows 2012 [Re: Glenn Barnas]
carpacheco Offline
Fresh Scripter

Registered: 2016-08-05
Posts: 5
Loc: Florida
Thanks running from profile did the trick.
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 1383 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.054 seconds in which 0.024 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