SCCM Reg Registry

Sokoban 996 Reputation points
2021-06-14T15:52:45.74+00:00

Hi I trying to get Registry working in Task Sequences to update Windows 10 WallpaperStyle to Stretch. It not working , What's wrong ? ![105455-image.png][1] [1]: /api/attachments/105455-image.png?platform=QnA Please help :-)

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
969 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jason Sandys 31,286 Reputation points Microsoft Employee
    2021-06-14T16:30:06.633+00:00

    First, there is no reason to use cmd here; reg.exe is an exe that, like all exes, runs all by itself.

    Next, you are updating a per-user value here -- that's the point of HKCU. During a task sequence, that equates to the local System account. Thus, what you have here works fine, it's just updating the wallpaper for an account that you can't log into or ever see it's desktop or wallpaper.

    You need to either perform this a different way, or you need to update the value for every user. The best way to do the latter is to update the Default user's registry so that every user profile created on the system inherits the value. Here's a nice article that covers this in-depth: https://stealthpuppy.com/customize-the-windows-default-profile/

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.