title: Change lock screen imsge in Windows 10 using Powershell
body: <p>to be short and sweet I am trying to create a Powershell script that changes the background lock screen image in Windows 10.  Have done my research and here is what I found:</p>
  
  <pre><code>    $path = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization" 
  $img =  "Lock Screen File Path"
  
  Set-ItemProperty -Path $path -Name LockScreenImage -value $img
  </code></pre>
  
  <p>This is something simple that would accomplish my goal HOWEVER it points to the registry and my opinion is changing the registry is not the way to do it.  Upon more research, I found another file path:</p>
  
  <pre><code>        $path = "C:\ProgramData\Microsoft\Windows\SystemData\{SID}\ReadOnly\LockScreen_B" 
  </code></pre>
  
  <p>No access to this path.</p>
  
  <p>What is a simple way USING Powershell to change the lock screen on Windows 10 without messing with the registry?</p>