BITSAdmin of Windows console commands

Source: Internet
Author: User
Tags null null

BITSAdmin command:

If your target system is windows 7 and above, you can use the BITSAdmin command, BITSAdmin is a command-line tool that you can use to create a download upload process:

Example

Bitsadmin/transfer job_name/download/priority Priority URL Local\path\file

Bitsadmin/transfer mydownloadjob/download/priority Normal ^ http://{your_ip}/{file_name. EXT} c:\users\username\downloads\{file_name. EXT}

Bitsadmin/transfer N Http://download.fb.com/file/xx.zip c:\pentest\xx.zip

 
C:\users\administrator>bitsadminbitsadmin version 3.0 [7.5.7601]bits Administration utility.  (C) Copyright 2000-2006 Microsoft corp.bitsadmin is deprecated and are not guaranteed to being available in the future versions of Windows.administrative Tools for the BITS service is now provided by Bits PowerShell cmdlets. usage:bitsadmin [/rawreturn] [/wrap |/nowrap] commandthe following commands is Available:/help Prints this he              lp/?        Prints this help/util/?   Prints the list of utilities commands/peercaching/?       Prints the list of commands to manage Peercaching/cache/?       Prints the list of cache management Commands/peers/?  Prints the list of peer management commands/list [/allusers] [/verbose] list the jobs/monitor [/allusers] [/refresh SEC] Monitors the copy manager/reset [/allusers] Deletes all jobs in the Manager/transfer <job NAME&G T [Type] [/priority Priority] [/aclflags flags] Remote_url local_name TRANSFERs one of more files. [Type] may be/download or/upload;    Default is download multiple url/file pairs could be specified. Unlike most commands, <job name> If only is a name and not a guid./create [type] <job name> Cre Ates a job [type] may be/download,/upload, or/upload-reply; Default is download Unlike most commands, <job name> could be a name and not a guid./info <job> [/verbos E] Displays information about the Job/addfile <job> <remote_url> <local_name> Adds a F Ile to the Job/addfileset <job> <textfile> Adds Multiple files to the job all line of &LT;TEXTF  ile> lists a file ' s remote name and local name, separated by spaces.   A line beginning with ' # ' is treated as a comment. Once The file set is a read into memory, the contents was added to the job./addfilewithranges <job> <remote_url&gt ; <local_name range_list> Like/addfile, but BITS would read Only selected byte ranges of the URL.   Range_list is a comma-delimited series of offset and length pairs.   For example, 0:100,2000:100,5000:eof instructs BITS to read bytes starting at offset zero, bytes starting  At offset $, and the remainder of the URL starting at offset 5000./replaceremoteprefix <job> <old_prefix> <new_prefix> all files whose URLs begins with <old_prefix> is changed to use <new_prefix>note that B Its currently supports HTTP/HTTPS downloads and uploads. It also supports UNC paths and file://paths as Urls/listfiles <job> Lists the files in the job/ SUSPEND <job> suspends the Job/resume <job> Resumes the Job/cance L <job> cancels the Job/complete <job> completes the Job/gettype & Lt;job> retrieves the job Type/getaclflags <job> RETRIeves the ACL propagation flags/setaclflags <job> <ACL_flags> sets the ACL propagation flags for the job O-owner g-group d-dacl s-sacl examples:bitsadmin/setaclflags MyJob ogds bitsadmin/se Taclflags MyJob ogd/getbytestotal <job> Retrieves the size of the job/getbytestransferred <job&gt           ; Retrieves the number of bytes Transferred/getfilestotal <job> retrieves the number of files in the J               Ob/getfilestransferred <job> retrieves the number of files Transferred/getcreationtime <job> Retrieves the job creation Time/getmodificationtime <job> retrieves the job modification Time/getco  Mpletiontime <job> retrieves the job completion time/getstate <job> retrieves                    The job State/geterror <job> retrieves detailed error Information/getowner <job>  Retrieves the job Owner/getdisplayname <job> retrieves the job display Name/setdisplayname <job& Gt <display_name> sets the job display Name/getdescription <job> retrieves the job Description/set DESCRIPTION <job> <description> Sets the job description/getpriority <job> retrieves The job priority/setpriority <job> <priority> sets the job priority priority usage Choices:fore  GROUND High NORMAL Low/getnotifyflags <job> retrieves the Notify Flags/setnotifyflags <job> <notify_flags> Sets the Notify flags for more help on this option, please refer to the MSDN help PA GE for Setnotifyflags/getnotifyinterface <job>/getminretrydelay <job> retrieves the retry delay In Seconds/setminretrydelay <job> <retry_delay> sets the retry delay in Seconds/getnoprogresstimeout <job > RetrievEs the no Progress timeout in Seconds/setnoprogresstimeout <job> <timeout> sets the no progress timeout in sec Onds/getmaxdownloadtime <job> retrieves the download timeout in Seconds/setmaxdownloadtime <job> & lt;timeout> sets the download timeout in Seconds/geterrorcount <job> retrieves an error count  For the job/setproxysettings <job> <usage> sets the proxy usage usage choices:preconfig-use the    Owner ' s default Internet settings.    Autodetect-force autodetection of Proxy.    No_proxy-do not use a PROXY server.                  Override-use an explicit proxy list and bypass list.                  Must is followed by a proxy list and a proxy bypass list.  NULL or "" may be used to an empty proxy bypass list. Examples:bitsadmin/setproxysettings MyJob preconfig bitsadmin/setproxysettings MyJob autodetect BITSADMI N/setproxysettings MyJob No_proxy Bitsadmin/setProxysettings MyJob override proxy1:80 "<local>" bitsadmin/setproxysettings MyJob override Proxy1,proxy2,proxy                  3 Null/getproxyusage <job> Retrieves the proxy usage setting/getproxylist <job> Retrieves the proxy list/getproxybypasslist <job> retrieves the proxy bypass list/takeownership <jo    B> Take ownership of the Job/setnotifycmdline <job> <program_name> [program_parameters]    Sets a program-to-execute for notification, and optionally parameters.    The program name and parameters can is NULL.  Important:if parameters is Non-null, then the program name should is the first parameter. Examples:bitsadmin/setnotifycmdline MyJob c:\winnt\system32\notepad.exe NULL bitsadmin/setnotifycmdline MyJob C:              \foo.exe "C:\foo.exe parm1 parm2" Bitsadmin/setnotifycmdline MyJob NULL null/getnotifycmdline <job> Returns the job ' s notification command Line/setcredentials <job> <target> <scheme> <username> <password> Adds credentials to a Jo B. <target> May is either SERVER or PROXY <scheme> may be BASIC, DIGEST, NTLM, NEGOTIATE, or Passport./remov                           Ecredentials <job> <target> <scheme> removes credentials from a job./getcustomheaders <job>  Gets the Custom HTTP headers/setcustomheaders <job> 

 

BITSAdmin of Windows console commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.