1

If so, what is it? And if it does not, how can I set it when configuring my WIM?

4
  • Quick answer is no, unless you connect from within an existing OS. Are you using boot.wim to boot into PE?
    – Joe
    Feb 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?
    – Tino
    Feb 8, 2016 at 21:17
  • Why do you need to set the PE admin password. What are you trying to do?
    – Jim B
    Feb 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.
    – Tino
    Feb 9, 2016 at 13:21

1 Answer 1

2

Try below command on WinPE console which will activate the administrator user with password mentioned.

net user administrator admin123\ACTIVE:YES
2
  • However I think this is temporary, only during that session
    – Jim B
    Feb 1, 2017 at 14:24
  • 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.
    – Omensan
    Dec 9, 2020 at 0:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .