Windows 7: Edit group policy from command line

Posted by user234461 on Super User See other posts from Super User or by user234461
Published on 2013-06-28T15:59:02Z Indexed on 2013/06/28 16:25 UTC
Read the original article Hit count: 214

I'm writing an installer and need to change 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]

Any help would be appreciated.

Thanks!

© Super User or respective owner

Related posts about windows-7

Related posts about command-line