Registered: 2005-11-09
Posts: 15
Loc: Fort Lauderdale, FL
I created a Active Directory security group called "AllKixInstallCallTracking" and added members to this group. When I run the script it bypasses this part of the script and does not run what is shown below. But if I take out the (If InGroup) the script that installs the call tracking software runs. Anyone else has experienced this??
If InGroup ("AllKixInstallCallTracking") ? "Installing Call Tracking Software" If NOT ReadValue('HKEY_CURRENT_USER\SOFTWARE\RunOnce','cal2') ? "regvalue does not exist" ? sleep 5 SHELL '%windir%\system32\msiexec.exe /i \\Fldavrep01\calltracking\PSCallRecordingSetup\PSCallTracking_Setup.msi /qb-' WriteValue('HKEY_CURRENT_USER\SOFTWARE\RunOnce','cal2','1','REG_SZ') EndIf EndIf
Registered: 2005-11-09
Posts: 15
Loc: Fort Lauderdale, FL
Should I run the flush token cache command on the first script name I have. I have one main script that calls a bunch of secondary scritps based on the IP address and so on. Also should I just open a dos prompt and execute the command??
Registered: 2005-12-07
Posts: 953
Loc: Stockholm, Sweden.
not to sound stupid, but did you add the user you're currently running the script aswell? =)
dunno if it's any difference between flushing with different scripts. you could always just delete the containing info in the registry (hkey_current_user\kix).
_________________________
as long as it works - why fix it? If it doesn't work - kix-it!
Registered: 2005-11-09
Posts: 15
Loc: Fort Lauderdale, FL
Did you mean delete registry entries in "HKEY_CURRENT_USER\software\kixtart\tokencache\" All the entryies under token cache???
Yes I have put myself in the security group. If I comment the If Group statment out it works fine with the installation but once I take the semicolon out it bypasses it.
Registered: 2005-11-09
Posts: 15
Loc: Fort Lauderdale, FL
I ran the kix32.exe /f command and still the security group does not work.
What I tried so far I deleted the old AD security group and created a new one called KIXInstallCT and changed the following script to run the following, I also added myself into the KIXInstallCT Active Directory security group. Ran the script and to no avail it still does not run. But I take out the InGroup statement by adding a semicolon it runs. I kinda have to shrug my shoulders and go why why why. There is no reason for this not to run.
color g+/n ? "Verifying Call Tracking Software is installed" If InGroup ("KIXInstallCT") ? "In group KIXInstallCT" sleep 5 If NOT ReadValue('HKEY_CURRENT_USER\SOFTWARE\RunOnce','cal2') SHELL '%windir%\system32\msiexec.exe /i \\Fldavrep01\calltracking\PSCallRecordingSetup\PSCallTracking_Setup.msi /qb-' WriteValue('HKEY_CURRENT_USER\SOFTWARE\RunOnce','cal2','1','REG_SZ')