After long research I found out why in some cases the kix script doesn't work. I found out that it occurs when users are in the local "administrators" group. The scripts runs in any case, I see it does, I have deployed the script as a login script in a GPO. When I debug it looks fine and gives me no errors, all steps are taken but mappings just are not created.
But if I run the same script manually on the same user it all works fine! And users who are not a member of the local "administrators" group, these problems do not occur, I do not have to run the script manually.
So this is stranged thing I have ever seen. I tried it on different servers, different customers and different versions of kix with the same results so I assume everyone does have this problem? Tried it on Windows Server 2008R2, 2012R2 and 2016.
I do not know if this occur with all commands but I am sure it happens with the "use"-command. Which are used for creating mappings.
Anyone who can solve this?
Edited by LuukRBK (2018-03-01 02:09 PM)
|