Added shutdownOnIdle option , also simplified configuration for windows slave. Now default script works although jenkins is configured for security