• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1102
  • Last Modified:

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

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
FlexDonkey
Asked:
FlexDonkey
1 Solution
 
stronglineCommented:
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
 
iamgibbonCommented:
add:
SETCONSOLE("Alwaysontop")
at start of script.
hth.
0
 
FlexDonkeyAuthor Commented:
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

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now