I would like to initialize new user account on Windows 10 without login out from admin and login in again to user. Now I create new account with following command:
net user "username" "password" /add
Next I run some program with command that should load user profile:
C:> runas /profile /user:user program.exe
However it is not equivalent to the logging as this user. Environment and some folders structures are not prepared without actual logging in. Is there any way to do this?