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?
SCCM Changing Windows 10 WallPaper
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:
What am i missing and how can i force wallpaper refresh with SCCM?
Thank you
9 answers
Sort by: Most helpful
-
Garth Jones 2,076 Reputation points
2021-06-28T17:14:46.563+00:00 -
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.
-
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/ -
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? -
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?