등록되지 않은 Windows 10 Pro ( Insider Preview ) 에디션 에서 기본 바탕 화면 배경 이미지를 더 어두운 단색으로 바꾸고 싶습니다 . 다양한 터미널 색상 체계를 테스트하고 있는데 기본 이미지가 너무 밝고 단단하지 않습니다. 모든 종류의 레지스트리 설정을 시도하고 이미지의 이름을 바꾸고 바꾸었지만 항상 동일합니다.
내가 시도한 몇 가지 :
# Take (user) owbership of file:
takeown /F C:\Windows\Web\Wallpaper\Windows\img0.jpg
# C:\Windows\Web\Wallpaper\Windows\img0.jpg
$key = 'HKCU:\Control Panel\Colors' #
$key = 'HKCU:\Control Panel\Desktop' #
$key = 'HKCU:\Control Panel\Desktop\Colors' #
# Doesn't seem to effect the Desktop...only console
Set-ItemProperty -Path $key -Name 'Window' -Value '1 36 86'
# reset to default
Set-ItemProperty -Path $key -Name 'Window' -Value '255 255 255'
PowerShell을 사용하여 올바른 레지스트리 항목을 설정하여 배경 이미지를 제거하고 단색을 얻으려면 어떻게해야합니까?
실제로 두 가지 방법을 찾았습니다. 하나는 CMD-R
Windows 마법을 실행 하는 데 사용 하고 다른 하나는 ( ''
) 를 사용하여 PATH 값을 null로 설정합니다 .
그러나 분명히 에, 진수 인코딩 된 형태로 경로를 포함하는 다른 레지스트리 항목이 HKCU:\Control Panel\Desktop\TranscodedImageCache
당신이 초보 진수 변환에 의해 볼 수있는.
# Set the wallpaper PATH to ''
$key = 'HKCU:\Control Panel\Desktop'
Set-ItemProperty -Path $key -Name 'WallPaper' -Value ''
# Re-start windows Explorer:
Stop-Process -ProcessName explorer
# Using `CMD+R` and run :
shell:::{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921} -Microsoft.Personalization\pageWallpaper
# Getting the "Transcoded" PATH:
$TIC=(Get-ItemProperty 'HKCU:\Control Panel\Desktop' TranscodedImageCache -ErrorAction Stop).TranscodedImageCache
[System.Text.Encoding]::Unicode.GetString($TIC) -replace '(.+)([A-Z]:[0-9a-zA-Z\\])+','$2'
#C:\Windows\Web\Wallpaper\Windows\_img0.jpg
explorer.exe
( Sysinternal의 Process Explorer 또는 PS 사용 :)Stop-Process -ProcessName explorer
.업데이트 : 2020-01-09
add-type -typedefinition "using System;`n using System.Runtime.InteropServices;`n public class PInvoke { [DllImport(`"user32.dll`")] public static extern bool SetSysColors(int cElements, int[] lpaElements, int[] lpaRgbValues); }"
# Now to get your desktop to instantly turn purple, run it with:
[PInvoke]::SetSysColors(1, @(1), @(0xAA40C0))
# Or tack it on the end of above for a true one-line experience.
작성자의 메모 : "이는 레지스트리에 영향을 미치지 않으므로 변경 사항을 유지하려면 새 데이터를 레지스트리에 직접 작성해야합니다."
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다