Kixtart logon script 'InGroup' funtion not properly testing domain groups

Posted on 2009-02-11
Last Modified: 2012-05-06
I have a Win2003 AD with the usual 'Built-In' groups as well as my own 'domain\Security groups'
Next, I've downloaded the latest KixTart (2010 4.6 (but tried several older versions over the course of troubleshooting))

My problem is that the logon.kix script will successfully test the built-in groups and take the appropriate action.  But the statement to test my 'domain\groupname' does not work..

;This works
If InGroup ("Domain Administrators")
     use R: "\\server\foldershare"

;This does not work
If InGroup ("domain\mygroup")
     use R: "\\server\foldershare"

;This does not work
If InGroup ("mygroup")
     use R: "\\server\foldershare"

I have tried qualifying the group with slashes and domains until I'm blue in the face.
The straight forward Kixtart statements to map drives\folder all work properly (no InGroup test)

Can use InGroup and NOT InGroup properly only if the group is a 'Built-In' group...

Any suggestions on how to get the InGroup test to properly find my own domain security groups?
Question by:ddowling357
    LVL 31

    Expert Comment

    by:Henrik Johansson

    Accepted Solution

    I started over and found a syntax error with the original statement.

    Expert Comment

    What was your syntax error?

    Expert Comment

    I'm having the same issue, can't seem to find a solution.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
    Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    760 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

    8 Experts available now in Live!

    Get 1:1 Help Now