Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I'm writing an installer and need to change the All Users' wallpaper. I can do this from the group policy editor GUI, but need to do so from my installer. I can't just edit the registry as it gets reset by a GPO on login.

How do I apply the relevant administrative template via programatically (preferably cmd.exe or via the registry)? (for interest, it's User Configuration > Administrative Templates > Desktop > Desktop > Desktop Wallpaper [sic]

share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007, Karan, Sathya Jul 1 '13 at 12:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Regardless of how you set the wallpaper, the GP refresh will change it (back) if there's a policy set to do so. That's kind of the point. :) – Ƭᴇcʜιᴇ007 Jun 28 '13 at 16:13
Also take a look at this MS document: Group Policy Settings Reference for Windows and Windows Server – Ƭᴇcʜιᴇ007 Jun 28 '13 at 16:15

are you in a domain environment? In that case, you will have to change your domain GPO.

share|improve this answer
Not an answer. I'm asking HOW (if possible) to change group policy. I don't happen to be in a domain environment. (But thank you.) – user234461 Jul 7 '13 at 16:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.