Registry access need Administrator level !
So you Need to start Powershell as Admin !
look at this post for how to make an elevation thrugh a bach file.
A little late, but it could help somebody !