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

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

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

在螢幕的右上角,您可以透過選擇手指向上(表示愛)或手指向下來表達您的偏好目前顯示的影像。如果您不喜歡它,該圖像就會消失。如果您願意,下次將顯示類似的圖像。

這個功能相當不錯,可以讓您定期自動更換鎖壁紙,以及最令人驚嘆的照片。

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

如何下載 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 映像。

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

桌面上的 SpotlightImages 資料夾,其中保存有 1920 x 1080 Windows Spotlight 影像

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

1. 將下面的資料夾位置複製並貼上到檔案總管的網址列中,然後按一下開啟AssetsEnter資料夾。

注意:下面的資料夾位置顯示在下方註冊表項的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 影像。

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

選擇Assets資料夾中的所有項目並將它們全部複製到另一個資料夾

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

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

按一下“檔案”選項卡,按兩次“開啟 Windows PowerShell”

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

cmd
ren * * .jpg

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

在 PowerShell 中輸入命令

5. 將「維度」列新增至儲存項目的資料夾(例如%UserProfile%\Pictures )。變更資料夾視圖以按維度詳細資料降序排序。

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

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

Windows Spotlight 影像對於 PC 和行動裝置將具有不同的尺寸

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

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

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

如果您不想使用 PowerShell,可以將任何重新命名實用程式(例如批次重命名實用程式)下載到您的電腦上並安裝。

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

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

更多的文章可以參考下面的文章:

祝你好運!


什麼是惡意軟體 HackTool:Win32/Keygen?如何去除?

什麼是惡意軟體 HackTool:Win32/Keygen?如何去除?

您是否掃描過您的設備並發現它感染了 HackTool:Win32/Keygen?在您使用破解或金鑰產生器啟動進階軟體後,Windows Defender 可能會自動警告您有關此惡意軟體的存在。

在 Windows 10 上建立備份和還原點(Restore Point)的說明

在 Windows 10 上建立備份和還原點(Restore Point)的說明

探索如何在Windows 10上建立和管理還原點,這是一項有效的系統保護功能,可以讓您快速還原系統至先前狀態。

在 Windows 10 中開啟裝置管理員的 15 種方法

在 Windows 10 中開啟裝置管理員的 15 種方法

您可以使用以下 15 種方法輕鬆在 Windows 10 中開啟<strong>裝置管理員</strong>,包括使用命令、捷徑和搜尋。

Windows「顯示桌面」的 10 種超快速方法

Windows「顯示桌面」的 10 種超快速方法

很多人不知道如何快速顯示桌面,只好將各個視窗一一最小化。這種方法對於用戶來說非常耗時且令人沮喪。因此,本文將向您介紹Windows中快速顯示桌面的十種超快速方法。

如何使用 Windows Repair 修復 Windows 錯誤

如何使用 Windows Repair 修復 Windows 錯誤

Windows Repair 是一款有效的 Windows 錯誤修復工具,幫助使用者修復與 Internet Explorer、Windows Update 和其他重要程式相關的錯誤。

如何在 Windows 10 中開啟資料夾選項或檔案總管選項

如何在 Windows 10 中開啟資料夾選項或檔案總管選項

您可以使用檔案總管選項來變更檔案和資料夾的工作方式並控制顯示。掌握如何在 Windows 10 中開啟資料夾選項的多種方法。

有關在 Windows 10 上刪除使用者帳戶的 5 種方法的說明

有關在 Windows 10 上刪除使用者帳戶的 5 種方法的說明

刪除不使用的使用者帳戶可以顯著釋放記憶體空間,並讓您的電腦運行得更流暢。了解如何刪除 Windows 10 使用者帳戶的最佳方法。

如何使用Bootsect /nt60將VBC更新為BOOTMGR

如何使用Bootsect /nt60將VBC更新為BOOTMGR

使用 bootsect 命令能夠輕鬆修復磁碟區引導程式碼錯誤,確保系統正常啟動,避免 hal.dll 錯誤及其他啟動問題。

Windows 11 中的存檔應用程式功能是什麼?應該啟用還是停用它?

Windows 11 中的存檔應用程式功能是什麼?應該啟用還是停用它?

存檔應用程式是一項功能,可以自動卸載您很少使用的應用程序,同時保留其關聯的檔案和設定。了解如何有效利用 Windows 11 中的存檔應用程式功能。

如何在 Windows 10 上為 BlueStacks 5 啟用虛擬化 (VT)

如何在 Windows 10 上為 BlueStacks 5 啟用虛擬化 (VT)

要啟用虛擬化,您必須先進入 BIOS 並從 BIOS 設定中啟用虛擬化,這將顯著提升在 BlueStacks 5 上的效能和遊戲體驗。