How to create a user profile without logging in?

Elvin Mammadov 11 Reputation points
2023-03-08T14:07:46.7+00:00

Hello,

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,663 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JCovert 0 Reputation points
    2024-01-30T19:20:55.6033333+00:00

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

    0 comments No comments