본문 바로가기
컴퓨터 Computer/레지스트리

384. 윈도우10 바탕 화면 배경 및 색 변경 레지스트리 | Windows 10 Settings - Personalization - Background

by #XTRM 2024. 8. 1.
반응형

Windows 10 Change desktop background and colors Registry

Start > Settings > Personalization > Background

윈도우10 바탕 화면 배경 및 색 변경 레지스트리

시작 > Windows 설정 > 개인 설정 > 배경

 

REG.EXE 명령어로 Windows 레지스트리를 수정하여 바탕화면 배경 설정을 변경하는 방법입니다. 
각각의 명령어는 특정 레지스트리 키와 값을 설정합니다.

 

1. 바탕화면 배경 이미지 제거

reg.exe ADD "HKCU\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d "" /f

HKEY_CURRENT_USER\Control Panel\Desktop 키에 있는 Wallpaper 값을 빈 문자열로 설정합니다. 이는 현재 설정된 바탕화면 배경 이미지를 제거하는 역할을 합니다.

 

2. 현재 배경 이미지 경로 제거

reg.exe ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers" /v CurrentWallpaperPath /t REG_SZ /d "" /f

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers 키에 있는 CurrentWallpaperPath 값을 빈 문자열로 설정합니다. 이는 Windows 탐색기에 현재 설정된 바탕화면 배경 이미지의 경로 정보를 제거합니다.

 

3. 배경화면 스타일 설정

reg.exe ADD "HKCU\Control Panel\Desktop" /v WallpaperStyle /t REG_SZ /d "10" /f

HKEY_CURRENT_USER\Control Panel\Desktop 키에 있는 WallpaperStyle 값을 "10"으로 설정합니다. 이 값은 바탕화면 이미지의 스타일을 나타내며, 일반적으로 "10"은 "Fit" (맞춤) 스타일을 의미합니다.

 

4. 배경화면 타입 설정

reg.exe ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers" /v BackgroundType /t REG_DWORD /d "1" /f

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers 키에 있는 BackgroundType 값을 "1"로 설정합니다. 이는 바탕화면 배경의 유형을 나타내며, "1"은 일반적으로 단색 배경을 의미합니다.

BackgroundType 값을 "0"로 설정하면 바탕화면 이미지 배경의 유형으로 변경됩니다.

 

5. 배경색 설정

reg.exe ADD "HKCU\Control Panel\Colors" /v Background /t REG_SZ /d "000 099 177" /f

HKEY_CURRENT_USER\Control Panel\Colors 키에 있는 Background 값을 "000 099 177"로 설정합니다. 이 값은 배경색을 RGB 형식으로 지정하며, 여기서는 빨강 0, 초록 99, 파랑 177인 색상으로 설정됩니다. 이는 파란색 계열의 색상입니다. 

 

6. 바탕화면 배경 이미지 설정

reg.exe ADD "HKCU\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d "%Windir%\Web\Wallpaper\Theme1\img1.jpg" /f

 

이 명령어는 현재 사용자의 바탕화면 배경 이미지를 C:\Windows\Web\Wallpaper\Theme1\img1.jpg에 위치한 이미지 파일로 설정합니다.

  • reg.exe: Windows 레지스트리 명령어를 실행하기 위한 프로그램.
  • ADD: 레지스트리 키와 값을 추가하거나 업데이트하는 동작.
  • "HKCU\Control Panel\Desktop": 레지스트리 경로. HKCU는 HKEY_CURRENT_USER로, 현재 사용자의 설정을 나타냄.
  • /v Wallpaper: 수정할 값의 이름을 지정. 여기서는 Wallpaper.
  • /t REG_SZ: 값의 데이터 유형. REG_SZ는 문자열 값을 나타냄.
  • /d "%Windir%\Web\Wallpaper\Theme1\img1.jpg": 값 데이터. %Windir%는 Windows 디렉터리(C:\Windows)를 나타내는 환경 변수로, 경로는 C:\Windows\Web\Wallpaper\Theme1\img1.jpg가 됨.
  • /f: 강제로 기존 값을 덮어씀.
반응형

배치 파일 스크립트 - 1 (Windows Batch Script Example #1)

시작 > Windows 설정 > 개인 설정 > 배경

바탕화면 배경을 제거하고, 배경 스타일과 색상(짙은 남색)을 설정하는 배치 스크립트

@echo off

REM Remove desktop background image
reg.exe ADD "HKCU\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d "" /f

REM Remove current wallpaper path
reg.exe ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers" /v CurrentWallpaperPath /t REG_SZ /d "" /f

REM Set wallpaper style
reg.exe ADD "HKCU\Control Panel\Desktop" /v WallpaperStyle /t REG_SZ /d "10" /f

REM Set wallpaper type
reg.exe ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers" /v BackgroundType /t REG_DWORD /d "1" /f

REM Set background color
reg.exe ADD "HKCU\Control Panel\Colors" /v Background /t REG_SZ /d "000 099 177" /f

echo Operation completed.
pause

 

배치 파일 스크립트 - 2 (Windows Batch Script Example #2)

시작 > Windows 설정 > 개인 설정 > 배경

바탕화면 배경 이미지(img1.jpg)를 설정하고, 배경 스타일(Fit)과 배경 타입을 이미지로 설정하는 배치 스크립트

@echo off

REM Set the desktop wallpaper image
reg.exe ADD "HKCU\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d "%Windir%\Web\Wallpaper\Theme1\img1.jpg" /f

REM Set wallpaper style
reg.exe ADD "HKCU\Control Panel\Desktop" /v WallpaperStyle /t REG_SZ /d "10" /f

REM Set wallpaper type
reg.exe ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers" /v BackgroundType /t REG_DWORD /d "0" /f

echo Operation completed.
pause

 

<배치 파일 테스트 영상>

영상보기 : https://youtu.be/EY_37Q0_HtY

 

 

마이크로소프트 지원 URL (Link to Microsoft Support Web Page)

Windows 10 바탕 화면 배경 및 색 변경

https://support.microsoft.com/ko-kr/windows/바탕-화면-배경-및-색-변경-176702ca-8e24-393b-15f2-b15b38f69de6

 

바탕 화면 배경 및 색 변경 - Microsoft 지원

시작 > 설정 > 개인 설정을 선택합니다. 미리 보기 창에 변경에 따른 미리 보기가 표시됩니다. 배경 개인 설정에서 만든 그림, 단색 또는 슬라이드 쇼를 선택할 수 있습니다. 또는 Windows 추천 을

support.microsoft.com

 

Windows 10 Change desktop background and colors

https://support.microsoft.com/en-us/windows/change-desktop-background-and-colors-176702ca-8e24-393b-15f2-b15b38f69de6

 

Change desktop background and colors - Microsoft Support

Select Start  > Settings  > Personalization. The preview window gives you a sneak peek of your changes as you make them. In Personalize your background, you can select a picture, a solid color, or a slideshow of pictures you create. Or you can choose Wi

support.microsoft.com

 

- E N D -

 

www.youtube.com/@XTRM

 

소프트엑스 XTRM

SOFTware unknown X of XTRM 컴퓨터 유지보수 기술 공유 채널입니다.

www.youtube.com

 

 

<소프트엑스 XTRM 추천영상>

^^*

반응형

댓글