Windows recovery environment and bootable USB creator in 200kb

_ol1s | 195 points

Wow, this is the largest batchfile I've ever seen! And I thought my 200-ish line one from high school was pushing it. Honestly huge respect for having the dedication to go this far with batch. I knew about the pseudo-function-calling features and a little bit of the weird syntax, but just skimming there's a lot of stuff in here I haven't seen before. Usually people saying "X in Y KiB" are doing some crazy linker shenanigans, so this was refreshing.

Also, "Windows To Go" and "Windows To Stay" are really funny feature names.

torphedo | a month ago

There's no license specified for what it's worth.

rosywoozlechan | a month ago

AFAIK the "Windows Recovery Environment" is actually a stripped-down minimal version of Windows missing most of the normal userland and parts of the kernel, which people have extended and customised in various ways.

userbinator | a month ago

One of the more impressive shell based tools that I've tried. Fitting into 200 kilobytes is an accomplishment in and of itself. Clever.

holysheet | a month ago

Really bad nitpick, but: I cringe at FOO'S-type plurals. Just break out of the uppercase and say VHDXs if you find VHDXS too confusing.

https://www.hamilton.edu/academics/centers/writing/seven-sin...

arthur2e5 | a month ago

Looks cool, but what does this do that the standard Windows Recovery Environment Partition doesnt do?

Maybe situations where the standard recovery env is borked? Was that the case in the recent CrowdStrike debacle?

firecall | a month ago

can I use this to install monitor drivers? make a bootable usb, add the installer onto the bootable usb and install the firmware? https://www.lg.com/au/support/product-support/cs-32GS95UE-B....

I thought about doing it through WINE, but that kinda scares me.

unfortunately my monitor received new firmware only installable through an exe, I only have my linux desktop

4jck | a month ago

Insane. 3k loc shell script. I admire people that can maintain things like this. For me it’s unapproachable hot mess.

proneb1rd | a month ago

What a name!

letaem77 | a month ago
[deleted]
| a month ago

Reminds me of stuff like hirens boot cd but this seems more complex to use

heraldgeezer | a month ago
[deleted]
| a month ago
[deleted]
| a month ago

Eli5?

kosolam | a month ago

Dude...

zx1000 | a month ago