Functions in boot/windows