title: Standard user running PS script automatically as admin
body: <p>Some users are experiencing problems with their OneDrive therefore we need to change the D word in Regedit to 0.</p>
  <blockquote>
  <p>Set-ItemProperty -Path &quot;HKEY:\SOFTWARE\Policies\Microsoft\Windows\OneDrive&quot; -Type DWord -Name &quot;DisableFileSyncNGSC&quot; -value 0</p>
  </blockquote>
  <p>For HKEY_LOCAL_MACHINE you can only change it by running the regedit as admin.</p>
  <p>I would like to have this scripted so it runs from my admin account, my admin credentials should be stored somewhere and when the user open/run the file on my public folder the regkey has been changed.</p>
  <p>Is this possible?</p>