Fix windows rights

fix according to @lewisthompson