T之家 6 月 8 日消息,根據國外科技媒體 borncity 報道,繼 OneDrive 導致 Win10、Win11 臨時文件夾出現大量 Aria-debug-xxx.log 文件之后,再次發現 Office Click-to-Run 服務導致了類似的問題。
該媒體在發布 Aria-debug-xxx.log 文件問題之后,再收到用戶反饋,稱 TEMP 系統臨時文件夾下出現了大量以計算機名稱為前綴的 yyyMMdd-hhmm.log 日志文件。
IT之家翻譯用戶反饋內容如下:
我發現 Aria-debug-xxx.log 文件之外,我還發現了大量 Computername-yyyMMdd-hhmm.log 日志文件,每天創建 25-35 個文件,基本上開機 5 分鐘后開始創建,之后每隔 30-45 分鐘創建。
該媒體深入挖掘之后,發現在 7 年前,網友就曾反饋過這個問題,并基本確認是 Microsoft Office ClickToRun Service (ClickToRunSvc) 導致的。
Click-to-Run 能夠自動下載并安裝 Office 軟件的組件及其補丁程序,可以大大縮短 Office 程序在線下載、安裝和升級的時間。
1、到github下載最新版
https://github.com/aria2/aria2/releases
下載,1.36版32位或64位包。
2、解壓縮到指定目錄,比如D:/bin/sria2c、下,目錄下有幾個文件
另外需要創建4個新文件,分別為:
創建好后如圖
編寫以下代碼,到aria2.conf文件內
dir=d:\bin\aria2\
log=d:\bin\aria2\aria2.log
input-file=d:\bin\aria2\aria2.session
save-session=d:\bin\aria2\aria2.session
async-dns-server=114.114.114.114
save-session-interval=60
force-save=true
log-level=error
# see --split option
max-concurrent-downloads=5
continue=true
max-overall-download-limit=0
max-overall-upload-limit=50K
max-upload-limit=20
# Http/FTP options
connect-timeout=120
lowest-speed-limit=10K
max-connection-per-server=10
max-file-not-found=2
min-split-size=1M
split=5
check-certificate=false
http-no-cache=true
# FTP Specific Options
# BT/PT Setting
bt-enable-lpd=true
#bt-max-peers=55
follow-torrent=true
enable-dht6=false
bt-seed-unverified
rpc-save-upload-metadata=true
bt-hash-check-seed
bt-remove-unselected-file
bt-request-peer-speed-limit=100K
seed-ratio=0.0
# Metalink Specific Options
# RPC Options
enable-rpc=true
pause=false
rpc-allow-origin-all=true
rpc-listen-all=true
rpc-save-upload-metadata=true
rpc-secure=false
# Advanced Options
daemon=true
disable-ipv6=true
enable-mmap=true
file-allocation=falloc
max-download-result=120
#no-file-allocation-limit=32M
force-sequential=true
parameterized-uri=true
必須修改的內容
dir=d:\bin\aria2\ 運行文件目錄
log=d:\bin\aria2\aria2.log 日志文件位置
input-file=d:\bin\aria2\aria2.session 下載歷史文件
save-session=d:\bin\aria2\aria2.session 下載歷史文件
打開HideRun.vbs,編寫以下內容
CreateObject("WScript.Shell").Run "d:\bin\aria2\aria2c.exe --conf-path=aria2.conf --async-dns=false",0
四、Aria2圖形界面
安裝chrome的插件,插件名稱是camtd,是一款多線程下載管理器擴展,從 Chrome Webstore 獲取:
https://chrome.google.com/webstore/detail/camtd-aria2-download-mana/lcfobgbcebdnnppciffalfndpdfeence?utm_source=chrome-ntp-icon
從 Github releases 獲取 crx 文件:
https://github.com/jae-jae/Camtd/releases
下載后直接安裝
youtube-dl是專門用來下載youtube視頻的開源軟件,功能非常強大,沒有圖形界面,全是命令行。
說明幫助文件有幾頁,正常下載是單線程工作,一般網速是4-50k左右,速度非常慢,一個1080視頻,1g多文件,需要下載幾個小時。使用aria2加速下載,大縮短下載時間。
1、查詢視頻音頻各種編碼格式
youtueb -F https://www.youtube.com/watch?v=-jebZmrOvqA
會返回一個
上面是音頻,下面是視頻,數據是分開存儲的,如果下載視頻,還需要再安裝一個ffmpeg編碼器。
2、下載視頻、音頻
youtueb -f 299+140 https://www.youtube.com/watch?v=-jebZmrOvqA
下載299的1080視頻,和m4a的音頻,再把兩個文件合并成一個文件。
3、加速下載
youtube-dl --external-downloader aria2c --external-downloader-args "-x 16" -f 299+140 https://www.youtube.com/watch?v=SE7kje3z9c8
--external-downloader aria2c 這個命令是指定下載器
--external-downloader-args "-x 16" aria2的參數文件,代表16線程同時下載
經過加速后,速度可以達到400k左右,速度提高8-10倍。
分享完畢,希望對各位有幫助。