locked
Creating a user profile for a local account RRS feed

  • Question

  • Hi,

    If I create a local account then is it possible to create its profile in the same script?

    Thanks,

    Thursday, July 5, 2018 10:48 PM

All replies

  • No.  The system does many things when creating a profile.  You can create a profile that is a template and copy it to the users profiles after it is created by the system.


    \_(ツ)_/

    Thursday, July 5, 2018 10:51 PM
  • I've done it with psexec and it suited my purposes.

    psexec -h -accepteula -u myuser -p mypassword cmd /c echo

    • Edited by JS2010 Thursday, July 5, 2018 11:08 PM
    Thursday, July 5, 2018 11:08 PM
  • Hi,

    Sound interesting. So the profile get created but all runonce and active-setup will be done on the first interactive login?

    Thanks,

    Friday, July 6, 2018 10:46 AM
  • I don't know.  I'll take your word for it.  The current user registry is there (ntuser.dat), and the user's start menu.  I don't expect appx things to be setup (if anybody cares).



    • Edited by JS2010 Friday, July 6, 2018 1:23 PM
    Friday, July 6, 2018 1:21 PM