Fixed issues with the WindowsStore check

Fixed WindowsStore check
Fixed admin permissions request not being honoured