SCCM Changing Windows 10 WallPaper

MF_EndPoint 2 Reputation points
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

Microsoft Security | Intune | Configuration Manager | Deployment
Microsoft Security | Intune | Configuration Manager | Application
Microsoft Security | Intune | Configuration Manager | Other
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

9 answers

Sort by: Most helpful
  1. Garth Jones 2,076 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 2 Reputation points
    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,076 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 2 Reputation points
    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,076 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

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.