How to create a user profile without logging in?

Elvin Mammadov 11 Reputation points


We are preparing a new Windows image. After sysprep, some user profiles should be created automatically and certain files should be copied to their profiles. I have found this command to create a user profile "runas /env /profile /user:<domain><username> cmd.exe", but it requires a user password. Unfortunately, in the batch file it is not possible to pass an encrypted password in CMD. Do you know a way how to achive it? Thanks.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,990 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JCovert 0 Reputation points

    Facing the same issue. Did you ever find a way around this?

    0 comments No comments