    # File lib/chef/provider/service/windows.rb, line 130
      def disable_service()
        begin
          popen4("#{@init_command} config #{@new_resource.service_name} start= disabled") do |pid, stdin, stdout, stderr|
            stdout.readlines.join =~ /SUCCESS/
          end
        rescue Exception => e
          raise Chef::Exceptions::Service, "Failed to start service #{@new_resource.service_name}: #{e.message}"
        end
      end