Jump to content


  • 0
Judical

Trying to change the default wallpaper

Question

I am trying to do this though command lines in a task sequence during OSD.

 

This is what I have;

cmd.exe /c takeown.exe /F C:\Windows\Web\Wallpaper\Windows\img0.jpg THIS WORKS

cmd.exe /c icacls.exe C:\Windows\Web\Wallpaper\Windows\img0.jpg /reset THIS WORKS

cmd.exe /c rename.exe C:\Windows\Web\Wallpaper\Windows\img0.jpg img1.jpg THIS DOESN'T WORK

cmd.exe /c xcopy.exe \\SERVERNAME\Repository\Misc\Wallpaper\*.* C:\Windows\Web\Wallpaper\Windows\ /E /D THIS DOESN'T WORK

 

I can't think of any reason why this wouldn't work.

Any help is appreciated.

 

-Judical

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

My guess is that the img0.jpg has security rights that disallow you from renaming. Looking at C:\Windows\Web\Wallpaper\Windows\img0.jpg on my system it shows that Administrator only has Read & Execute, not Modify or Full Control.

 

Have you considered replacing the background in WinPE after the Apply OS Image task but before the Setup Windows and ConfigMgr task or using GPO or a registry hack?

 

Also see:

http://www.myitforum.com/forums/Need-help-setting-default-background-using-SCCM-OSD-for-Windows-7-m232355.aspx

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.