Don't know, but you can maybe try to debug and find where the real problems are
Suggestion:
Code:

If NOT @LOGONMODE
Break ON
EndIf
Dim $SO
$SO = SetOption("Explicit","On")
$SO = SetOption("NoMacrosInStrings","On")
$SO = SetOption("NoVarsInStrings","On")
$SO = SetOption("WrapAtEOL","On")
;Use this while debugging or when making changes to the groups you are in
$SO = DelTree("HKEY_CURRENT_USER\Software\KiXtart\TokenCache")
If InGroup("Shiklolit_Group")
Use S: /DELETE /PERSISTENT
Use S: "\\dc\data$\programs"
Else
? "You are not in group Shiklolit_Group"
EndIf
If InGroup("Bezeq_Zahav_Group")
Use Z: /DELETE /PERSISTENT
Use Z: "\\dc\data$\goldnet"
Else
? "You are not in group Bezeq_Zahav_Group"
EndIf
If InGroup("General_Data_Group")
Use M: /DELETE /PERSISTENT
Use M: "\\dc\data$"
Else
? "You are not in group General_Data_Group"
EndIf