如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機

Windows Spotlight 是 Windows 10 上的一項新功能,允許用戶從 Bing Images 下載並使用當天的精選照片作為鎖屏,此外還可以對照片進行投票和評論。

在螢幕的右上角,您可以透過在目前顯示的圖像上向上(喜歡)或向下滑動來表示您的喜歡。如果您不喜歡,圖像就會消失。如果您喜歡它,下次就會出現類似的圖像。

這個功能非常酷,可以讓你定期自動更換鎖定螢幕壁紙,並顯示最佳圖片。

在使用 Spotlight 時,如果您喜歡某些圖像並想在其他電腦上使用它們,您可以透過執行以下操作來下載並儲存它們。

如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機

如何下載 Windows 10 鎖定畫面上顯示的影像

使用 PowerShell 腳本尋找並儲存 Windows Spotlight 背景圖片

1.下載 PowerShell 腳本 Find_Windows_Spotlight_images.ps1

代碼:

$WindowsSpotlightFolder = "$env:USERPROFILE\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets"
$WindowsSpotlightImages = "$env:USERPROFILE\Desktop\SpotlightImages\"

if (Test-Path $WindowsSpotlightImages) {
    $FolderTimestamp = Get-Date (Get-Item $WindowsSpotlightImages).LastWriteTime -Format "yyyyMMdd.HHmmss"
    Rename-Item -Path $WindowsSpotlightImages -NewName ('SpotlightImages-' + $FolderTimestamp) -Force
    Remove-Variable FolderTimestamp   # Cleanup
}

New-Item -Path $WindowsSpotlightImages -ItemType Directory | Out-Null

Add-Type -AssemblyName System.Drawing
$ImagesToCopy = @()
$(Get-ChildItem -Path $WindowsSpotlightFolder).FullName | ForEach-Object { 
    $Image = [System.Drawing.Image]::Fromfile($_)
    $Dimensions = "$($Image.Width)x$($Image.Height)"

    If ($Dimensions -eq "1920x1080") {
        $ImagesToCopy += $_
    }
    $Image.Dispose()
}

$ImagesToCopy | Copy-Item -Destination $WindowsSpotlightImages 
$FileNumber = 0

Get-ChildItem -Path $WindowsSpotlightImages | Sort-Object LastWriteTime | 
foreach {
    $FileNumber += 1
    Rename-Item -Path $_.FullName -NewName ("1920x1080_" + $FileNumber.ToString("000") + '.jpg')
}

# Report
$NewSpotlgihtImages = Get-ChildItem -Path $WindowsSpotlightImages
if ($NewSpotlgihtImages) {
    Write-Host
    ($NewSpotlgihtImages).Name
    Write-Host `n($NewSpotlgihtImages).Count "new images were copied into $WindowsSpotlightImages`n" -ForegroundColor Green 
}
else { 
    Write-Host "`nNo new images were copied.`n" -ForegroundColor Red
    Remove-Item $WindowsSpotlightImages -Force
}

# Cleanup
Remove-Variable WindowsSpotlightFolder, WindowsSpotlightImages, ImagesToCopy, Image, Dimensions, FileNumber, NewSpotlgihtImages

2.將.ps1檔案儲存到桌面。

3.解除封鎖.ps1 檔案。

4. 以滑鼠右鍵或按住 .ps1 文件,然後按一下「使用 PowerShell 執行」

5. 現在,您的桌面上將有一個SpotlightImages資料夾,其中保存了 1920 x 1080 的 Windows Spotlight 映像。

如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機
桌面上的 SpotlightImages 資料夾,其中保存了 1920 x 1080 的 Windows Spotlight 映像

尋找並手動儲存 Windows Spotlight 背景圖片

1. 將下面的資料夾位置複製並貼上到檔案總管網址列中,然後點選Enter開啟 Assets 資料夾

注意:下面的資料夾的位置顯示在下面的註冊表項的LandscapeAssetPath字串值中。

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lock Screen\Creative
%LocalAppData%\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets

2. 選擇Assets資料夾中的所有項目,然後將它們全部複製到您選擇的另一個資料夾(例如%UserProfile%\Pictures )。

如果您願意,您也可以右鍵單擊文件,按一下「開啟方式」,然後選擇「Windows 照片檢視器」來查看列出的 Windows Spotlight 影像。

如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機
選擇 Assets 資料夾中的所有項目,並將它們全部複製到另一個資料夾

3. 開啟儲存項目的資料夾(例如,%UserProfile%\Pictures ),按一下「檔案」標籤,按一下「開啟 Windows PowerShell 」,然後再次選擇「開啟 Windows PowerShell」

如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機
按一下「檔案」選項卡,按一下「開啟 Windows PowerShell」兩次

4. 在PowerShell輸入以下每個命令,輸入Enter每個命令後按 Enter 鍵,完成後關閉 PowerShell。這將重命名資料夾中的所有項目並新增.jpg 檔案副檔名。

cmd
ren * * .jpg
如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機
在 PowerShell 中輸入命令

5. 將「尺寸」欄位新增至儲存項目的資料夾(例如,%UserProfile%\Pictures )。將資料夾視圖變更為按尺寸詳細資料降序排序。

6. 您會注意到,Windows Spotlight 影像在 PC 和行動裝置上的大小會有所不同。您可以刪除不想儲存的。

如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機
Windows Spotlight 影像在 PC 和行動裝置上的尺寸會有所不同

7. 這是以超大圖示檢視顯示的 1920 x 1080 Windows Spotlight PC 影像。

如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機
這是一張 1920 x 1080 的 Windows Spotlight PC 映像,以超大圖示視圖顯示

如果您不想使用 PowerShell,您可以下載任何重新命名實用程式(如批次重命名實用程式)並安裝它。

安裝完成後,打開應用程序,導航到資料夾,選擇所有文件,然後添加擴展名“.jpg”。

如果您懶得手動下載,可以在此下載完整的 Windows Spotlight 套件

請參閱下面的更多文章:

祝你好運!

Sign up and earn $1000 a day ⋙

Leave a Comment

5 個 Windows 登錄技巧,自訂鎖定螢幕

5 個 Windows 登錄技巧,自訂鎖定螢幕

Windows 鎖定畫面設定可能非常有限,僅可讓您管理背景影像和狀態。如果您想要更好地控制 Windows 鎖定屏,則必須藉助 Windows 註冊表技巧。

更多 Windows 11 PC 即將獲得 AI Copilot+

更多 Windows 11 PC 即將獲得 AI Copilot+

微軟透過搭載 Snapdragon X 的 Copilot+ PC 首次展示了其大部分更先進的 AI 功能,而許多搭載英特爾和 AMD 的 Copilot+ PC 則被排除在外。

Windows 11 市佔率正迅速趕上 Windows 10

Windows 11 市佔率正迅速趕上 Windows 10

2024 年 10 月的報告概述了 Windows 11 與其他 Windows 版本相比的市場份額。

為什麼要每天關閉 Windows 筆記型電腦?

為什麼要每天關閉 Windows 筆記型電腦?

當離開筆記型電腦時,許多人只是合上蓋子然後走開。雖然這很方便,因為您的筆記型電腦隨時可以供您使用,但這種行為可能會在您沒有意識到的情況下損壞您的筆記型電腦。

如何修復 Windows 上處於錯誤狀態的印表機

如何修復 Windows 上處於錯誤狀態的印表機

Windows 上出現印表機處於錯誤狀態訊息的原因有很多,例如連線失敗、驅動程式問題或系統服務設定錯誤。

如何在 Windows 11 上關閉最近搜索

如何在 Windows 11 上關閉最近搜索

並非所有人都喜歡在 Windows 11 上查看最近的搜尋。以下是如何在 Windows 11 上關閉最近的搜索

如何在 Windows 11 上存取 Android 存儲

如何在 Windows 11 上存取 Android 存儲

您可以透過 Microsoft 的新跨裝置體驗主機直接在 Windows 11 檔案總管中存取 Android 手機的儲存。

如何在 Windows 10、Windows 11 上啟用或停用安全登入

如何在 Windows 10、Windows 11 上啟用或停用安全登入

Windows 是駭客最常攻擊的作業系統。因此,您應該加強 PC 的防禦系統,以確保線上和離線的安全。本文將指導您如何在 Windows 10 上啟用或停用安全登入。

23 款超棒的螢幕保護程序,保護您的 Windows 電腦螢幕

23 款超棒的螢幕保護程序,保護您的 Windows 電腦螢幕

螢幕保護程式-電腦螢幕保護程序,當電腦在一定時間內不使用時自動啟動。這裡有 23 個適用於 Windows 的精美螢幕保護程式。

Windows 11 將對「開始」功能表進行急需的更改

Windows 11 將對「開始」功能表進行急需的更改

正在測試的最新變更解決了 Windows 11 開始功能表最煩人的問題之一,希望它能夠真正發布。

徹底刪除 Windows 上最頑固的文件

徹底刪除 Windows 上最頑固的文件

當您無法在 Windows 檔案總管中開啟、編輯或刪除檔案時,該檔案仍在背景執行的程式中打開,或某些程式未正確關閉。

如何使用 FancyZones 在 Windows 上設定完美的雙顯示器

如何使用 FancyZones 在 Windows 上設定完美的雙顯示器

如果您經常使用多顯示器設置,FancyZones 可能會改變遊戲規則。此 Windows PowerToys 實用程式可讓您完全自訂桌面佈局。

如何修復 Windows 10 上未找到網路介面卡錯誤

如何修復 Windows 10 上未找到網路介面卡錯誤

許多人遇到網路介面卡從裝置管理員中消失或收到遺失網路介面卡訊息的問題。本文將指導您如何修復 Windows 10 上缺少網路介面卡驅動程式的問題。

如何在 Windows 11 上隱藏/取消隱藏工作列

如何在 Windows 11 上隱藏/取消隱藏工作列

在 Windows 11 中,工作列僅佔用螢幕底部一小部分顯示空間。

微軟向蘋果學習,也即將推出 Windows Intelligence

微軟向蘋果學習,也即將推出 Windows Intelligence

近日,微軟很可能在人工智慧領域「追隨」蘋果的腳步的蛛絲馬跡逐漸顯露出來。