Background Intelligent Transfer Service (BITS)

This is general information about Microsoft's Background Intelligent Transfer Service (BITS). It is used by Windows to distribute updates and is used by Foray ADMAS WAN Connect.

SharpBITS

SharpBITS is a BITS client side job GUI.  On Windows 7 it must be run using PsExec (see below) to see jobs created by the System account and even then it won't be able to kill them.

Download the SharpBITS WinApp from: http://sharpbits.codeplex.com/releases

Windows 7

On Windows 7 security makes working with BITS a bit more challenging.  To see BITS jobs created by the System account PsExec is required.

Download PsExec from: PsExec http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

View all jobs

  1. Open a Powershell session with Admin privileges
  2. Run: .\PsExec.exe -i -s powershell.exe
  3. This will give you a command prompt for the System account (sort of).  Type whoami to see.
  4. import-module bitstransfer
  5. get-bitstransfer -allusers | select *

Run SharpBITS and see jobs for all users

  1. Continue after step 2 above.
  2. & 'C:\Program Files (x86)\SharpBITS\SharpBITS.exe'

Remove BITS jobs owned by System

  1. Stop the Background Intelligent Transfer Service service

    The service will automatically restart if the WAN Acquire Service or the Configure WAN Acquire app are running so be sure these are stopped and exited, respectively.

  2. Delete files in: C:\ProgramData\Microsoft\Network\Downloader
  3. Start the service

Additional Resources

Information on the BITS Commandlets: http://technet.microsoft.com/en-us/library/dd819413.aspx

General BITS info: http://msdn.microsoft.com/en-us/library/windows/desktop/bb968799(v=vs.85).aspx

Troubleshooting BITS with PowerShell: https://blogs.technet.microsoft.com/cmpfekevin/2014/01/29/troubleshooting-bits-with-powershell/

© 2023 Foray, LLC - All Rights Reserved