If so, what is it? And if it does not, how can I set it when configuring my WIM?
-
Quick answer is no, unless you connect from within an existing OS. Are you using boot.wim to boot into PE?– JoeFeb 8, 2016 at 21:10
-
@Joe Yeah, I'm using boot.wim. Is there any file (like winpesh.ini) that I could change and add the admin password there?– TinoFeb 8, 2016 at 21:17
-
Why do you need to set the PE admin password. What are you trying to do?– Jim BFeb 8, 2016 at 23:24
-
I'm trying to set up OpenSSH (the version released by Microsoft here) in WinPE. So far it runs and I can attempt a connection from another machine but it asks me for the password, and won't let me pass in a blank one. So that's why I'm interested in setting up the admin password on WinPE.– TinoFeb 9, 2016 at 13:21
Add a comment
|
1 Answer
Try below command on WinPE console which will activate the administrator user with password mentioned.
net user administrator admin123\ACTIVE:YES
-
-
Confirmed this works, thanks very much!!! Huge shout-out to colleague that pointed me to this thread. Using WinXPE WinBuilder and source WinPE from Windows 10 Bus. Ed. v2004 (Nov 2020) ISO, I had to disable the firewall and set user password: ``` net user Administrator myPassword /ACTIVE:yes wpeutil.exe DisableFirewall ``` ... and that's all there was to it.– OmensanDec 9, 2020 at 0:05