Implemented shutdown with delay and local shutdown for windows pcs.