rt3x.de NoPaste

Restart to Windows

This is a nopaste service, powered by Flying Paste.

Author: Malte Bublitz
Language/File type: PowerShell

Description

Restart to Windows, skipping systemd-boot or GRUB

Code

1
2
3
4
5
# Set the BootNext UEFI variable
bcdedit /set "{fwbootmgr}" BOOTSEQUENCE "{bootmgr}"

# Restart the computer
Restart-Computer