|
This is a weird one and I'm not even sure if I can say it is a Kixtart issue but because Kixtart could not process the script correctly, I'm posting it for assistance.
The situation is this, I'm in an environment in an OU called GGA under the doman PWR.COM. In the GGA OU, I have several groups. Within them are groups Dist1, Dist2, Dist3 and GGA Admin. The Dist depicts the district and GGA Admin is within OU where I have all Admin users . I put users within their district group so I can map the home directory to their local servers.
To do that I'd used the statements:
If INGROUP ("District 1") USE X: "\\districct 1 server\home\@USERID" ENDIF If INGROUP ("District 2") USE X: "\\district 2 server\home\@USERID" ENDIF
This all seems to work fine but recently I'm modifying the script so if you are in the GGA Admin group, you get an additional drive mapping to a server where I have all the Admin Utilities.
The Administrative Group existed for quite some time and the additional lines that I'd added are:
If INGROUP ("GGA Admin") USE Y: "\\District 1 server\Admin" ENDIF
For some reasons this does not work. I'd checked within my OU that the GGA Admin existed and it belongs in the Global group. I'd also checked the appropriate users within my OU is a member within it. They are confirmed to be correct.
In troubleshooting the problem, I'd created a script called Admintest.kix that has just the above 3 lines referencing to the Admin account and tried to execute it locally in the command prompt with the following parameters
kix32.exe admintest.kix /d
I used the /d option so I can step through the process. It fails all the time so I'm perplexed to why it could not find the group?
I'd also modified the INGROUP statement to include the domain and server for testing. The statements are:
If INGROUP ("\\AD server with KIX script\GGA Admin") and If INGROUP ("\\10.1.1.1\GGA Admin") ; IP of AD Server and If INGROUP ("\\AD server with KIX script\GGA\GGA Admin") ; point to OU GGA in AD.
Since my script worked to map home directory so I didn't think I needed to use the above statements but did it anyway as a test.
Can you provide some hint to where I need to check or what could be the cause?
Thanks in advance.
|