title: How to set wallpaper from Windows command prompt on Windows 10?
body: <p>I've been trying to set my wallpaper in Windows 10 by doing the following in a command prompt window:</p>
  
  <pre><code>reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d wallpaper_directory /f
  
  RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
  </code></pre>
  
  <p>This works once, but then if I try to change the wallpaper soon after it, it does not work.</p>
  
  <p>Am I doing something wrong or how do I fix this?</p>