Share to: share facebook share twitter share wa share telegram print page

Background Intelligent Transfer Service

Background Intelligent Transfer Service (BITS)
Developer(s)Microsoft
Initial releaseOctober 2001; 22 years ago (2001-10)
Stable release
10.3 / December 7, 2019; 4 years ago (2019-12-07)
Operating systemMicrosoft Windows
TypeDownload manager
LicenseProprietary commercial software
Websitelearn.microsoft.com/en-us/windows/win32/bits/background-intelligent-transfer-service-portal

Background Intelligent Transfer Service (BITS) is a component of Microsoft Windows XP and later iterations of the operating systems, which facilitates asynchronous, prioritized, and throttled transfer of files between machines using idle network bandwidth. It is most commonly used by recent versions of Windows Update, Microsoft Update, Windows Server Update Services, and System Center Configuration Manager to deliver software updates to clients, Microsoft's anti-virus scanner Microsoft Security Essentials (a later version of Windows Defender) to fetch signature updates, and is also used by Microsoft's instant messaging products to transfer files. BITS is exposed through the Component Object Model (COM).

Technology

BITS uses idle bandwidth to transfer data. Normally, BITS transfers data in the background, i.e., BITS will only transfer data whenever there is bandwidth which is not being used by other applications. BITS also supports resuming transfers in case of disruptions.

BITS version 1.0 supports only downloads. From version 1.5, BITS supports both downloads and uploads. Uploads require the IIS web server, with BITS server extension, on the receiving side.

Transfers

BITS transfers files on behalf of requesting applications asynchronously, i.e., once an application requests the BITS service for a transfer, it will be free to do any other task, or even terminate. The transfer will continue in the background as long as the network connection is there and the job owner is logged in. BITS jobs do not transfer when the job owner is not signed in.

BITS suspends any ongoing transfer when the network connection is lost or the operating system is shut down. It resumes the transfer from where it left off when (the computer is turned on later and) the network connection is restored. BITS supports transfers over SMB, HTTP and HTTPS.

Bandwidth

BITS attempts to use only spare bandwidth. For example, when applications use 80% of the available bandwidth, BITS will use only the remaining 20%. BITS constantly monitors network traffic for any increase or decrease in network traffic and throttles its own transfers to ensure that other foreground applications (such as a web browser) get the bandwidth they need. Note that BITS does not necessarily measure the actual bandwidth. BITS versions 3.0 and up will use Internet Gateway Device counters, if available, to more accurately calculate available bandwidth. Otherwise, BITS will use the speed as reported by the NIC to calculate bandwidth. This can lead to bandwidth calculation errors, for example when a fast network adapter (10 Mbit/s) is connected to the network via a slow link (56 kbit/s).[1]

Jobs

BITS uses a queue to manage file transfers. A BITS session has to be started from an application by creating a Job. A job is a container, which has one or more files to transfer. A newly created job is empty. Files must be added, specifying both the source and destination URIs. While a download job can have any number of files, upload jobs can have only one. Properties can be set for individual files. Jobs inherit the security context of the application that creates them. BITS provides API access to control jobs. A job can be programmatically started, stopped, paused, resumed, and queried for status. Before starting a job, a priority has to be set for it to specify when the job is processed relative to other jobs in the transfer queue. By default, all jobs are of Normal priority. Jobs can optionally be set to High, Low, or Foreground priority. Background transfers are optimized by BITS,1 which increases and decreases (or throttles) the rate of transfer based on the amount of idle network bandwidth that is available. If a network application begins to consume more bandwidth, BITS decreases its transfer rate to preserve the user's interactive experience, except for Foreground priority downloads.

Scheduling

BITS schedules each job to receive only a finite time slice, for which only that job is allowed to transfer, before it is temporarily paused to give another job a chance to transfer. Higher priority jobs get a higher chunk of time slice. BITS uses round-robin scheduling to process jobs in the same priority and to prevent a large transfer job from blocking smaller jobs.

When a job is newly created, it is automatically suspended (or paused). It has to be explicitly resumed to be activated. Resuming moves the job to the queued state. On its turn to transfer data, it first connects to the remote server and then starts transferring. After the job's time slice expires, the transfer is temporarily paused, and the job is moved back to the queued state. When the job gets another time slice, it has to connect again before it can transfer. When the job is complete, BITS transfers ownership of the job to the application that created it.

BITS includes a built-in mechanism for error handling and recovery attempts. Errors can be either fatal or transient; either moves a job to the respective state. A transient error is a temporary error that resolves itself after some time. For a transient error, BITS waits for some time and then retries. For fatal errors, BITS transfers control of the job to the creating application, with as much information regarding the error as it can provide.

Command-line interface tools

BITSAdmin command

BITSAdmin
Developer(s)Microsoft
Stable release
3.0
Operating systemMicrosoft Windows
TypeCommand
LicenseProprietary commercial software
Websitedocs.microsoft.com/en-us/windows-server/administration/windows-commands/bitsadmin

Microsoft provides a BITS Administration Utility (BITSAdmin) command-line utility to manage BITS jobs. The utility is part of Windows Vista and later.[2][3] It is also available as a part of the Windows XP Service Pack 2 Support Tools[4] or Windows Server 2003 Service Pack 1 Support Tools.[5]

Usage example:

C:\>bitsadmin /transfer myDownloadJob /download /priority normal https://example.com/file.zip C:\file.zip

PowerShell BitsTransfer

In Windows 7, the BITSAdmin utility is deprecated in favor of Windows PowerShell cmdlets.[6] The BitsTransfer PowerShell module provides eight cmdlets with which to manage BITS jobs.[7]

The following example is the equivalent of the BITSAdmin example above:

PS C:\> Start-BitsTransfer -Source "https://example.com/file.zip" -Destination "C:\file.zip" -DisplayName "myDownloadJob"

List of non-Microsoft applications that use BITS

See also

References

  1. ^ "MSDN BITS Network Bandwidth". Archived from the original on 2017-04-19. Retrieved 2015-05-01.
  2. ^ Satran, Michael; Smith, Peter (5 March 2019). "BITSAdmin tool". Windows Dev Center. Microsoft. Archived from the original on 18 April 2020. Retrieved 28 April 2020.
  3. ^ Ross, Elizabeth; White, Steven; Poggemeyer, Liza; Lee, Thomas; Plett, Corey (16 October 2017). "bitsadmin". Windows IT Pro Center. Microsoft. Archived from the original on 30 April 2019. Retrieved 9 June 2019.
  4. ^ "Windows XP Service Pack 2 Support Tools". Download Center. Microsoft. 10 August 2004. Archived from the original on 29 April 2020. Retrieved 28 April 2020.
  5. ^ "Windows Server 2003 Service Pack 1 32-bit Support Tools". Download Center. Microsoft. 30 March 2005. Archived from the original on 21 July 2020. Retrieved 28 April 2020.
  6. ^ "Manage BITS (Background Intelligent Transfer Service) with Windows PowerShell". TechNet Magazine. Microsoft. Archived from the original on 22 August 2020. Retrieved 25 September 2015.
  7. ^ "BitsTransfer". Windows IT Pro Center. Microsoft. Archived from the original on 11 November 2020. Retrieved 28 April 2020.
  8. ^ "BITS Download Manager". Archived from the original on 2020-08-15. Retrieved 2010-01-07.
  9. ^ "BITSync". Archived from the original on 2009-01-24. Retrieved 2008-12-31.
  10. ^ Endless Installer for Windows DownloadManager class
  11. ^ "Firefox 68.0, See All New Features, Updates and Fixes". Mozilla. Archived from the original on 2019-07-11. Retrieved 2019-07-09.
  12. ^ Oxygen media platform
  13. ^ "SharpBITS". Archived from the original on 2018-01-22. Retrieved 2021-03-31.
  14. ^ "WinBITS". Archived from the original on 2019-05-18. Retrieved 2007-11-19.
  15. ^ "Zenworks 7". Archived from the original on 2009-02-12. Retrieved 2021-03-31.
  16. ^ "Specops Deploy/App". Archived from the original on 2020-12-20. Retrieved 2021-03-31.

Read other articles:

Strange InterludeWritten byEugene O'NeillCharactersEdmund DarrellGordon EvansNina LeedsSam EvansProf. Henry LeedsCharles MarsdenMadeline ArnoldMrs. Amos EvansDate premieredJanuary 30, 1928 (1928-01-30)Place premieredJohn Golden TheatreOriginal languageEnglishGenreDramaSettingSmall university town in New England; various places in New York Strange Interlude is an experimental play in nine acts by American playwright Eugene O'Neill. O'Neill began work on it as early as 1923 and d...

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Spider-Man 3 soundtrack – news · newspapers · books · scholar · JSTOR (September 2016) (Learn how and when to remove this template message) 2007 soundtrack album by various artistsMusic from and Inspired by Spider-Man 3Soundtrack album by various a...

Verspreiding en aantal van de Canadese gans in Noord-Amerika.[1] Een vogelatlas is een ornithologische publicatie waarin informatie over de verspreiding van vogels wordt weergegeven met gebruik van kaarten die een groot gebied (continent, land, landstreek, provincie) bestrijken. Het vervaardigen van een vogelatlas vergt de inzet van een groot aantal vrijwilligers die in het in kaart gebrachte gebied grondig veldonderzoek doen volgens gestandaardiseerde methoden zodat de gegevens onder...

O Cartão Azul UE é uma autorização de trabalho aprovada para toda a União Europeia (Diretiva (UE) 2021/1883 que revogou a Diretiva 2009/50/CE[1]) que permite que cidadãos altamente qualificados que não pertencem a um estado-membro da UE trabalhem e vivam em 25 dos 27 países da União Europeia, excetuando a Dinamarca e a Irlanda que não estão sujeitos à proposta.[2] O termo Cartão Azul UE foi nomeado pelo laboratório de ideias Bruegel, inspirado no Green Card dos Estados Unidos e ...

Вілла-Сан-ДжованніVilla San Giovanni Комуна Країна  ІталіяРегіон КалабріяПровінція Реджо-КалабріяКод ISTAT 080096Поштові індекси 89018Телефонний код 0965Координати 38°13′00″ пн. ш. 15°38′00″ сх. д. / 38.21667° пн. ш. 15.63333° сх. д. / 38.21667; 15.63333Координати: 38°13′00″ 

Pour les articles homonymes, voir Quartz. QuartzCatégorie IX : silicates[a] Quartz — Mine de La Gardette, Le Bourg-d'Oisans, Isère, France (13 × 13 cm). Général Numéro CAS 14808-60-7 (α)99439-28-8 (β) Classe de Strunz 4.DA.05 4 OXIDES (Hydroxides, V[5,6] vanadates, arsenites, antimonites, bismuthites, sulfites, selenites, tellurites, iodates)  4.D Metal:Oxygen = 1:2 and similar   4.DA With small cations    4.DA.05 Quartz SiO2Spa...

Великі Учалирос. Большие Учалыбашк. Оло Учалы 54°20′39″ пн. ш. 59°25′36″ сх. д. / 54.34417° пн. ш. 59.42667° сх. д. / 54.34417; 59.42667Розташування Країна  Росія[4]Розташування  Росія, Башкортостан, Учалинський районГеологічні дані Розміри Площа поверхн

Delegation in the Maryland General Assembly This section needs expansion. You can help by adding to it. (June 2008) The Baltimore County Delegation refers to the members of the Maryland House of Delegates who reside in or represent legislative districts that include parts of Baltimore County, Maryland in the United States of America. Three delegates are elected from each district, though some districts are divided into sub-districts. Current members As of 2023, the current members of the Balt...

Seragam tukang pos Prancis abad ke-18 Berbagai bentuk kotak pos Prancis Musée de La Poste (Museum Pos) merupakan museum yang memperagakan benda-benda milik dinas pos Prancis. Museum ini mengkhususkan dalam prangko dan sejarah pos di Prancis. Dibuka pada tahun 1946, museum ini terletak di dua tempat di Paris. Sejarah Ide dari Museum Pos pertama kali dikemukakan oleh filatelis Arthur Maury setelah melihat miniatur kereta api pos pada Pameran Dunia tahun 1889 di Paris. Proyek ini ditulis dan di...

Parque Natural Municipal da Cidade Parque da Cidade (Rio de Janeiro) Localização Rio de Janeiro, Brasil Tipo Público Área 470 000 metros quadrados Administração Prefeitura Municipal do Rio de Janeiro Palmeiras no Parque da Cidade O Parque da Cidade, também conhecido como Parque da Gávea[1][2], é uma Unidade de Conservação Municipal localizada no bairro da Gávea, no município do Rio de Janeiro, no estado do Rio de Janeiro, no Brasil. História De início uma propriedade particular...

Alva Myrdal (1968) Alva Myrdal, (Aussprache [ˌalːva ˈmyːɖɑːl]), geb. Reimer (* 31. Januar 1902 in Uppsala; † 1. Februar 1986 in Danderyd) war eine schwedische Soziologin, Politikerin und Friedensnobelpreisträgerin. Inhaltsverzeichnis 1 Leben 2 Werk 3 Auszeichnungen 4 Werke (Auswahl) 5 Literatur 6 Weblinks 7 Einzelnachweise Leben Alva und Gunnar Myrdal im Arbeitszimmer ihres Hauses (1945) Alva Myrdal vor dem Haus ihrer Familie in Stockholm (1945) Alva Myrdal 1970 bei der Verleihung d...

  لمعانٍ أخرى، طالع الزيلة (توضيح). قرية الزيلة  - قرية -  تقسيم إداري البلد  اليمن المحافظة محافظة المحويت المديرية مديرية ملحان العزلة عزلة بني مليك السكان التعداد السكاني 2004 السكان 209   • الذكور 109   • الإناث 100   • عدد الأسر 28   • عدد المساكن 27 مع...

Untuk kegunaan lain, lihat Malaka (disambiguasi). Kesultanan Melayu Melakaكسلطانن ملايو ملاك1400–1511 Bendera Kesultanan Malaka seperti terlihat di peta Planisfera CantinoIbu kotaMelakaBahasa yang umum digunakanMelayu klasikAgama IslamPemerintahanMonarkiSultan • 1402-1414 Parameswara(Pertama)• 1513-1528 Mahmud Syah(Terahkir) Sejarah • Didirikan 1400• Portugal Invasi Kota Melaka 1511 Didahului oleh Digantikan oleh Kerajaan Singapura ...

Coupe du monde de rugby 2017Qualifications Généralités Sport Rugby à XIII Organisateur(s) RLIF Date 2014 à 2016 Participants 13 nations modifier Quatorze nations participent à la Coupe du monde de rugby à XIII 2017. En août 2014, il est annoncé que sept nations sont qualifiées automatiquement et que des tournois de qualifications sont mis en place pour désigner les sept autres nations participantes. Les nations qualifiées Huit nations sont directement qualifiés pour la Coupe du m...

Extinct species of elm Ulmus okanaganensisTemporal range: Ypresian PreꞒ Ꞓ O S D C P T J K Pg N U. okanaganensis sucker-shoot leaf Scientific classification Kingdom: Plantae Clade: Tracheophytes Clade: Angiosperms Clade: Eudicots Clade: Rosids Order: Rosales Family: Ulmaceae Genus: Ulmus Subgenus: U. subg. Ulmus Species: †U. okanaganensis Binomial name †Ulmus okanaganensisDenk & Dillhoff Ulmus okanaganensis is an extinct species of flowering plant in the family Ulmacea...

Vous lisez un « article de qualité » labellisé en 2014.  Il fait partie d'un « thème de qualité ». Pour les articles homonymes, voir Othon Ier. Othon Ier(el) Όθων Le roi Othon avec le décret de création de la Banque nationale de Grèce (1841). Tableau de Nikifóros Lýtras, v. 1898. Titre Roi de Grèce 6 février 1833 – 23 octobre 1862[N 1](29 ans, 8 mois et 17 jours) Régent Joseph Ludwig von ArmanspergGeorg Ludwig von MaurerCarl W...

Para el médico y científico nacido en México D.F., véase Ysmael Álvarez Rodríguez. Ismael Álvarez Alcalde de Ponferrada 23 de junio de 1995-29 de mayo de 2002Predecesor Celso López GavelaSucesor Carlos López Riesco Senador en las Cortes Generalespor León 6 de junio de 1993-9 de enero de 1996[2]​ Procurador en las Cortes de Castilla y Leónpor León 4 de julio de 1999-29 de mayo de 2002[1]​ Concejal del Ayuntamiento de Ponferrada 11 de junio de 2011-9 de marzo de 20135 de...

Не следует путать с Центральным сибирским ботаническим садом. Сибирский ботанический сад Томского государственного университета Оранжерея сада, 1890 год. Основная информация Площадь126,5 га Дата основания1880  Расположение 56°27′59″ с. ш. 84°56′45″ в. д.HGЯO Страна...

This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Pieksänmaa – news · newspapers · books · scholar · JSTOR (October 2021) (Learn how and when to remove this template message) Coat of arms of Pieksänmaa Pieksänmaa is a former municipality of Finland. It became part of the town of Pieksämäki in 2007. Pieksänmaa was formed i...

This article is about the district. For its eponymous subdistrict (taluka), see Palghar. This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Palghar district – news · newspapers · books · scholar · JSTOR (April 2015) (Learn how and when to remove this template message) District Of Maharashtra in IndiaPalghar Dis...

Kembali kehalaman sebelumnya