I have also same problem. Powershell Script run successfully and getting result on powershell everything is ok but when i open Local Policy Windows it is not effecting