如果您尝试使用Windows 11/10上的本地组策略编辑器(Local Group Policy Editor)应用桌面墙纸或背景,但它不起作用,这里有一些解决问题的修复程序。Windows 11/10中的黑屏壁纸问题。
有许多方法可以在Windows上设置桌面背景。可以 使用组策略和注册表编辑器设置桌面墙纸(set desktop wallpaper using Group Policy and Registry Editor)。但是,如果您已正确完成所有操作,但仍无法正常工作,请遵循这些建议。在开始使用这些解决方案之前,请确保退出您的帐户并重新登录。在使用本地组策略编辑器(Local Group Policy Editor)或注册表编辑器(Registry Editor)更改壁纸后,必须这样做。如果您不这样做,您的壁纸将不会更新。
桌面背景组策略(Desktop Background Group Policy)未应用
要修复桌面背景组策略未在(Desktop Background Group Policy)Windows 11/10中应用错误,请按照以下步骤操作 -
- 验证注册表编辑器设置
- 检查壁纸路径和名称
- 重命名转码壁纸
- 删除 slideshow.ini 的内容
- 检查防止(Check Prevent)更改桌面背景设置
让我们详细检查这些步骤。
1]验证注册表编辑器设置
由于可以使用注册表编辑器(Registry Editor)更改桌面背景,因此必须验证注册表编辑器(Registry Editor)设置。如果您在注册表(Registry)文件中设置了某些内容,并在本地组策略编辑器(Local Group Policy Editor)中输入了其他内容,则由于某些内部冲突,它可能无法正常工作。
要开始, 请在您的计算机上打开注册表编辑器并导航到此路径 -
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies
如果你找到一个名为System(System)的子键 ,打开它并检查是否有两个名为 Wallpaper和 WallpaperStyle(WallpaperStyle)的 字符串值。如果是这样,请右键单击“ 系统(System)”并选择 “删除” (Delete )选项。
之后,确认删除。然后,按照相同的步骤使用组策略(Group Policy)设置壁纸。
2]检查壁纸路径和名称
当您 在本地组策略编辑器中使用(Local Group Policy Editor)桌面壁纸 (Desktop Wallpaper )设置时,必须输入定义壁纸的路径。以后无论如何也改不了了。如果将墙纸文件从一个地方移动到另一个地方,则必须更改相应的组策略(Group Policy)设置路径。同样,如果您更改墙纸文件的名称,您也必须这样做。否则,您下次重新登录用户帐户时将看到黑色或空白桌面背景。
要验证这一点,请打开您保存文件的路径。然后,打开本地组策略编辑器(Local Group Policy Editor)并导航到此路径-
User Configuration > Administrative Templates > Desktop > Desktop
双击 桌面壁纸(Desktop Wallpaper)设置并输入新路径,然后单击 确定 (OK )按钮。
3]重命名转码壁纸
简单来说,您已重置 Windows 10 计算机上的壁纸缓存。为此,有两个文件负责,其中一个是TranscodedWallpaper。因此(Therefore),按下 Win+R打开运行(Run)提示并输入以下路径 -
%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Themes
在这里您可以看到一个名为TranscodedWallpaper的文件。右键单击(Right-click)它并选择 重命名 (Rename )选项。
然后,输入一个名称,例如TranscodedWallpaperOld或其他任何名称。
4]删除slideshow.ini的内容
负责壁纸缓存的第二个文件是 slideshow.ini。您将在与 TranscodedWallpaper 相同的位置看到此文件。因此,打开文件资源管理器(File Explorer)并导航到此路径 -
C:\Users\username\AppData\Roaming\Microsoft\Windows\Themes
在此之前,不要忘记显示隐藏的文件和文件夹。打开 Themes文件夹后,您将看到名为 slideshow.ini 的文件。右键单击它并选择 “编辑” (Edit )按钮。如果您在文件中看到任何内容,请全选并删除它们,然后按 Ctrl+S进行保存。
5]检查(Check)防止更改(Prevent)桌面背景设置
假设 您无法(cannot change wallpaper in Windows 10)以任何方式更改 Windows 10 中的壁纸。在这种情况下,必须验证组策略中的(Group Policy)防止更改桌面背景(Prevent changing desktop background)设置以及注册表编辑器(Registry Editor)中的类似值。
要开始,请打开本地组策略编辑器(Local Group Policy Editor)并导航到此路径 -
User Configuration > Administrative Templates > Control Panel > Personalization
双击 右侧的防止更改桌面背景 设置。(Prevent changing desktop background )如果设置为 Enabled,请选择 Not Configured 选项并单击 OK 按钮。
同样,您必须验证是否存在相应的注册表(Registry)值。如果是,它可能会导致同样的问题。为此,请按Win+R,键入regedit
, 然后按Enter 按钮。然后,按下 UAC提示符中的(UAC)Yes (是)按钮以在您的计算机上打开注册表编辑器。(Registry Editor)之后,导航到此路径-
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\
在 Policies键中,您将看到一个名为(Policies)ActiveDesktop的子键 。如果您能看到它,您还会发现两个DWORD(32 位)值,分别 称为 NoAddingComponents(NoAddingComponents)和(NoComponents)NoComponents 。
双击(Double-click)它们中的每一个,将 Value data 设置为 0,然后单击 OK 按钮。
或者,您可以右键单击ActiveDesktop,选择 Delete 按钮,然后确认更改。
这就是全部!希望(Hope)这些建议对你有用。
Desktop Background Group Policy is not applying in Windows 11/10
Іf you are trying to apply desktop wallpaper or background usіng the Local Groυр Pоlicy Editor on Windows 11/10, but it is not working, here are some fixes to troubleshoot the issue. Τhese solutions will let you get rid of the black screen wallpaper problem in Windows 11/10 as well.
There are numerous methods to set a desktop background on Windows. It is possible to set desktop wallpaper using Group Policy and Registry Editor. However, if you have done everything correctly, but it is not working, follow these suggestions. Before getting started with these solutions, make sure you sign out of your account and re-sign in. It is essential to do so after changing the wallpaper using the Local Group Policy Editor or Registry Editor. If you don’t do it, your wallpaper won’t get updated.
Desktop Background Group Policy not applying
To fix Desktop Background Group Policy not applying error in Windows 11/10, follow these steps-
- Verify Registry Editor settings
- Check wallpaper path and name
- Rename TranscodedWallpaper
- Delete content of slideshow.ini
- Check Prevent changing desktop background setting
Let’s check out these steps in detail.
1] Verify Registry Editor settings
As it is possible to change the desktop background using Registry Editor, it is essential to verify the Registry Editor settings. If you have set something in the Registry files and are entering something else in the Local Group Policy Editor, it might not work because of some internal conflicts.
To get started, open Registry Editor on your computer and navigate to this path-
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies
If you find a sub-key named System, open it and check whether there are two String Values named Wallpaper and WallpaperStyle. If so, right-click on System and select the Delete option.
Following that, confirm the removal. Then, follow the same steps to set wallpaper using Group Policy.
2] Check wallpaper path and name
When you use the Desktop Wallpaper setting in the Local Group Policy Editor, it is mandatory to enter a path defining the wallpaper. Later on, it cannot be changed anyhow. If you move the wallpaper file from one place to another, it is imperative to change the corresponding Group Policy setting path. Similarly, if you change the name of the wallpaper file, you have to do the same. Otherwise, you will see a black or blank desktop background next time you re-sign into your user account.
To verify that, open the path where you have kept your file. Then, open the Local Group Policy Editor and navigate to this path-
User Configuration > Administrative Templates > Desktop > Desktop
Double-click on Desktop Wallpaper setting and enter the new path before clicking the OK button.
3] Rename TranscodedWallpaper
In simple terms, you have reset the wallpaper cache on your Windows 10 computer. For that, two files are responsible, and one of them is TranscodedWallpaper. Therefore, press Win+R to open the Run prompt and enter the following path-
%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Themes
Here you can see a file named TranscodedWallpaper. Right-click on it and select the Rename option.
Then, enter a name like TranscodedWallpaperOld or anything else.
4] Delete content of slideshow.ini
The second file responsible for the wallpaper cache is slideshow.ini. You will see this file in the same location as TranscodedWallpaper’s. Therefore, open the File Explorer and navigate to this path-
C:\Users\username\AppData\Roaming\Microsoft\Windows\Themes
Before doing this, don’t forget to show hidden files and folders. After opening the Themes folder, you will see the file called slideshow.ini. Right-click on it and select the Edit button. If you see anything in the file, select them all and delete them before pressing Ctrl+S to save.
5] Check the Prevent changing desktop background setting
Suppose you cannot change wallpaper in Windows 10 in any way. In that case, it is essential to verify the Prevent changing desktop background setting in the Group Policy and the similar value in the Registry Editor.
To get started, open the Local Group Policy Editor and navigate to this path-
User Configuration > Administrative Templates > Control Panel > Personalization
Double-click on the Prevent changing desktop background setting on your right-hand side. If it is set to Enabled, choose the Not Configured option and click the OK button.
Similarly, you have to verify if there is a corresponding Registry value or not. If yes, it can cause the same issue. For that, press Win+R, type regedit
, and hit the Enter button. Then, press the Yes button in the UAC prompt to open the Registry Editor on your computer. After that, navigate to this path-
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\
In the Policies key, you will see a sub-key named ActiveDesktop. If you can see it, you will also find two DWORD (32-bit) Values called NoAddingComponents and NoComponents.
Double-click on each of them set the Value data as 0, and click the OK button.
Alternatively, you can right-click on ActiveDesktop, select the Delete button, and confirm the change.
That’s all! Hope these suggestions work for you.