question

MichaelFarber-4024 avatar image
0 Votes"
MichaelFarber-4024 asked saldana-msft edited

Windows 10 SCCM reseting wallpaper

Happy Friday everyone.
Need help and i think i have reached the end of google. I have a request to do a post IPU OS customization. At this point i am having an issue with a wallpaper. I am overwriting an image file "C:\Windows\Web\Wallpaper\Windows\img0.jpg" which is set to Microsoft during an upgrade, but that does not change the wallpaper. I can see an older image cached in %AppData%\Roaming\Microsoft\Windows\Themes\CachedFiles\CachedImage_2560_1440_POS4.jpg" Deleting that file does nothing. However if i run shell:::{ED834ED6-4B5A-4BFE-8F11-A626DCB6A921}\pageWallpaper it opens UI and sets the wallpaper to the correct image. I am stuck and for some reason not able to run that command from a cmd or PS or any other way from a task sequence. Can someone please help me to figure out how to run this command from TS? Or maybe there is something else i can do? Thank you for the help.

windows-10-generalmem-cm-generalwindows-10-setupmem-cm-osdmem-cm-application
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.

AllenLiu-MSFT avatar image
0 Votes"
AllenLiu-MSFT answered AllenLiu-MSFT commented

Hi, @MichaelFarber-4024
Thank you for posting in Microsoft Q&A forum.
You may try to mount the install.wim from the install media and remove the image files from \Windows\Web\4K\Wallpaper\Windows and also replace img0.jpg in \Windows\Web\Wallpaper\Windows with your own custom one. Then dismount and save the wim and deploy the OS upgrade using that instead.

Here is the reference:
https://social.technet.microsoft.com/Forums/en-US/8f4e760f-c31c-4441-8dbf-712b29c9fd62/wallpaper-reverting-to-default-after-upgrade?forum=win10itprosetup


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 2
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.

Allen,
There is no WIM file. I am running a feature upgrade from the patch. OS is upgraded from 1709 to 1909.
I am running a task after the upgrade as a separate process.

Thank you.

0 Votes 0 ·

Hi, @MichaelFarber-4024
Thanks for the feedback, if we have upgraded the client OS version, we may consider to use group policy to configure wallpaper:
https://www.grouppolicy.biz/2011/03/best-practice-using-group-policy-to-configure-desktop-wallpaper-background/
(Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.)

0 Votes 0 ·
MichaelFarber-4024 avatar image
0 Votes"
MichaelFarber-4024 answered

AllenLiu,
Thank you for offering an alternative solution. However alternative is not an option at the time.
I am trying to understand why a command working from a cmd as a system manually does not work from a task sequence?

Thank you.

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.

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

Hi, @MichaelFarber-4024
Do you add "cmd.exe /c" before your command in the task sequence like below?
cmd.exe /c shell:::{ED834ED6-4B5A-4BFE-8F11-A626DCB6A921}\pageWallpaper

And if it fails, what's the error message in smsts.log?

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.

MichaelFarber-4024 avatar image
0 Votes"
MichaelFarber-4024 answered

It does not fail. Just does no refresh the windows background.
Thank you

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.

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

Hi, @MichaelFarber-4024
I see you have asked in another thread, you mentioned you are running the script as a package or as a package from the task sequence, so have you checked the execmgr.log for more details?


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.