Windows 10 SCCM reseting wallpaper

Michael Farber 1 Reputation point
2021-06-18T14:12:30.047+00:00

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
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,701 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,909 questions
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.
907 questions
Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
459 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. AllenLiu-MSFT 40,881 Reputation points Microsoft Vendor
    2021-06-21T06:10:46.16+00:00

    Hi, @Michael Farber
    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. Michael Farber 1 Reputation point
    2021-06-22T15:37:57.277+00:00

    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.

    0 comments No comments

  3. AllenLiu-MSFT 40,881 Reputation points Microsoft Vendor
    2021-06-23T07:52:57.91+00:00

    Hi, @Michael Farber
    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?

    0 comments No comments

  4. Michael Farber 1 Reputation point
    2021-07-02T14:29:13.013+00:00

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

    0 comments No comments

  5. AllenLiu-MSFT 40,881 Reputation points Microsoft Vendor
    2021-07-05T09:55:46.173+00:00

    Hi, @Michael Farber
    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?

    0 comments No comments