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]


1 Answer 1


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

  • 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, 2013 at 16:05

Not the answer you're looking for? Browse other questions tagged .