Solved

Kixtart dialog box doesn't display but script runs in background.

Posted on 2007-03-28
3
1,085 Views
Last Modified: 2008-05-31
Kixtart 4.53.0.0
Windows 2003 domain (lastest 2003 updates)
Running a basic Kix script via Group Policy User Logon that applies mapped drives and network printers to  the correct security groups.  The location of the script is running via a network share \\servername\kix\kix32.exe with the parameter being the file "basic.kix". The script seems to be working cause it applies all of it's mappings to the correct groups, but the pretty little logon display itself isn't popping up. Correct me if I am wrong, but I believe this has something to do with a Group Policy setting as it has worked for me in the past before (different network). Here is my basic kix script without the additional mappings that work.
CLS


Color g+/n
BOX (1,1,16,49,FULL)
Color w+/n
at ( 3,5) "Welcome to BLAH."
at ( 4,5) "Userid : " ; display some text strings
at (5,5) "Full name : "
at (6,5) "Workstation : "
at (7,5) "Domain : "
at (8,5) "Validation Server : "
at (9,5) "IP Address : "
at (10,5) "Personal Folder: "
at (11,5) "Primary Group:"
at (12,5) "User Privileges:"
 
Color y+/n
at ( 4,25) @userid ; ...and some macro's
at (5,25) @fullname
at (6,25) @wksta
at (7,25) @domain
at (8,25) @lserver
at (9,25) @ipaddress0
at (10,25) $personal
at (11,25) @PRIMARYGROUP
at (12,25) @PRIV





If InGroup("domain\group")
      ADDPRINTERCONNECTION("\\servername\Printershare")
      Else
      DELPRINTERCONNECTION("\\\servername\Printershare")
      EndIf
      
If InGroup("domain\group")
      Use M: /delete
      Use "M:" "\\servername\share"





exit

0
Comment
Question by:FlexDonkey
3 Comments
 
LVL 13

Expert Comment

by:strongline
ID: 18813623
i have not knowledge about kixtart, but the option in GP could possibly affect its window poping up would be:

user configuration\admin templates\system\scripts\run logon scripts visible
0
 
LVL 1

Accepted Solution

by:
iamgibbon earned 250 total points
ID: 18814241
add:
SETCONSOLE("Alwaysontop")
at start of script.
hth.
0
 

Author Comment

by:FlexDonkey
ID: 18816330
Thanks for pointing me in the right direction iamgibbon.
    I did have to apply that command along with:
      SetConsole ("SHOW")
      SetConsole ("MAXIMIZE")
      SetConsole ("FOREGROUND")
      SetConsole ("ALWAYSONTOP")
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now