Opening/Installing powershell via cmd on win11 installation

Adrian 40 Reputation points
2025-10-13T13:39:37.34+00:00

IMG_0150

Hey everybody,
for the autopilot script to connect to the tenet i need to run the script via powershell. I cannot open sadly powershell after i installed windows and i am at the language screen or any screen at that matter. How can i do that? I want to do that, so that i can register it and then start the pre-provisioning of windows autopilot.
Much help aprreciated. Screenshot attached.
Best, adrian

Windows for business | Windows 365 Enterprise
{count} votes

Answer accepted by question author
  1. VPHAN 11,040 Reputation points Independent Advisor
    2025-10-13T14:46:26.0466667+00:00

    Hello Adrian,

    This is a standard procedure for Autopilot scripting, and there is a well-known key combination to access a command prompt at this stage, which you can then use to launch PowerShell. Here are the precise steps:

    1. On the initial language selection screen (the very first screen you see), press the Shift + F10 keys simultaneously.
    2. This will open a traditional Command Prompt window.
    3. In the Command Prompt window, simply type powershell and press Enter.
    4. This will launch a Windows PowerShell session, exactly as shown in your screenshot, but from the OOBE environment.

    You can now navigate to the location of your script (for example, using the cd command) and execute it with a command like: .\YourAutopilotScript.ps1

    This will allow the script to configure the device and connect it to your Autopilot service for pre-provisioning. Once the script completes successfully, you can close the windows and continue with the standard OOBE, which should now be guided by your Autopilot profile.

    I hope this gets you moving forward with your deployment! If this solution works for you, please feel free to hit "useful" 😊.

    Best regards,

    VP

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.