title: Changing other user's registry who hasn't logged in
body: <p>I'm working on an easy way to provision in windows 10 and I'd like to be able to login as an admin then modify a non-admin's <code>HKCU</code> keys so that when they first login the settings will be set. I think I can edit through the HKEY_USERS node in the registry, but this non-admin's node doesn't exist there until they login. Is there some way to force the creation of this node? Or someway to edit the <code>HKCU</code> keys I want to modify? I found I can run <code>Get-WmiObject win32_useraccount</code> and get the non-admin users SID if that helps. Thanks!</p>
  
  <p>There's a related post <a href="https://stackoverflow.com/questions/20661593/changing-other-users-registry-through-batch-files">on stack overflow</a> where (from the comments)it looks like they got it working using PSExec and LogonUI.exe, but I can't find any documentation on using LogonUI force creation of a user's <code>HKCU</code> hive.</p>