question

Jonashrvall-2889 avatar image
0 Votes"
Jonashrvall-2889 asked Jason-MSFT answered

SCCM Reg Registry

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]: /answers/storage/attachments/105455-image.png Please help :-)

mem-cm-osd
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Jason-MSFT avatar image
0 Votes"
Jason-MSFT answered

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/

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.