SCCM Changing Windows 10 WallPaper

MF_EndPoint 1 Reputation point
2021-06-28T17:06:17.137+00:00

I need to change windows 10 wallpaper. Not during OSD.
I am placing a correct image into %WINDIR%\web\wallpaper\windows\
However %AppData%\Roaming\Microsoft\Windows\Themes\CachedFiles\ still has a default Microsoft image.
Rebooting the OS does not refresh that image.
I can run shell:::{ED834ED6-4B5A-4BFE-8F11-A626DCB6A921}\pageWallpaper manually to refresh the wallpaper and that works,
But if i run it from a script or try to run it from Active setup i am either not getting a wallpaper refresh or an error from the ActiveSetup:109889-error001.png

What am i missing and how can i force wallpaper refresh with SCCM?
Thank you

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,522 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,899 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.
892 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.
453 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

9 answers

Sort by: Most helpful
  1. Garth Jones 2,071 Reputation points
    2021-06-28T17:14:46.563+00:00

    How exactly are you updating the wallpaper? program, application, CI, etc.???
    How exactly have you deploy it, via user or local system account.
    With your Active setup what does the SMI log say?

    0 comments No comments

  2. MF_EndPoint 1 Reputation point
    2021-06-28T18:55:38.99+00:00

    I am running as a part of the task sequence "Not OSD" just an OS configuration.
    I have run cmd to copy the correct image to C:\Windows\Web\Wallpaper\Windows\
    and than tried to run as cmd 'cmd /c start /min "explorer shell:::{ED834ED6-4B5A-4BFE-8F11-A626DCB6A921}\pageWallpaper"'
    That did not work.
    Created a batch file and tried to run it as a package. Did not work.

    Created active setup to run that command when user logs in, and thats when i am getting that error.

    I can run that command from run or cmd "tested as a system" with no issues.109965-error001.png

    0 comments No comments

  3. Garth Jones 2,071 Reputation points
    2021-06-28T19:10:29.42+00:00

    So if you are running this as a TS, it will run as the local system account. Have you tested your script to run as the local system account?
    This is how to access the local system account https://www.enhansoft.com/how-to-access-the-local-system-account/

    0 comments No comments

  4. MF_EndPoint 1 Reputation point
    2021-06-28T19:53:15.277+00:00

    Yss, i have been testing only with cmd and/or powershell as a system.
    Works manually as a system but not when executed with the TS.
    I am not sure what could be the difference?

    0 comments No comments

  5. Garth Jones 2,071 Reputation points
    2021-06-28T21:36:12.133+00:00

    Did you test it as a X86 local system account? as I covered within the blog?

    0 comments No comments