Where you able to boot to the windows installer when you plugged in the usb drive? If not, plug in the windows installer USB, go into BIOS and change the boot order so that the USB drive is first. This same advice applies if you're trying to install Linux from a USB.
I was able to change the boot order and install windows 11, however it just asked me for my corporate email for login to windows 11 -__-
Linux is probably your best bet. Alternatively, if you really want Windows, you could try installing a windows home edition, which can't join domains so might not work with whatever software is trying to provision it.
There's also this reddit solution which potentially is the fix you need. https://www.reddit.com/r/WindowsHelp/comments/1cmi3xe/comment/l33c7ln/
That worked! Thank you very much!
You're welcome! I'm glad I could point you in the right direction!
Linux is your easiest bet. I forget how windows does its MDM, or if it’s easy to bypass. But it knows it’s a corporate computer so it’s going to ask for the corporate login and auto provision itself for it. If a reinstall didn’t work then you’d have to do Somme other trickery to bypass it.
Or just install Linux and have it not care. Ubuntu and Linux mint are pretty noob friendly.
Try it. Remove the original drive and see if the login prompt still appears.
Use a live Linux CD/USB but do not install it and wipe the drive with command "shred -uzv /dev/sda" or whichever the drive is. Use partition manager to check the label for the drive to securely wipe it.
You can download a system restore image from Lenovo for that specific pc. It reloads the OS from a thumb drive, including the proper drivers and licensing.
For licensing you can also run the scripts from Microsoft.
Buildapc