====== Windows Quick Reference ====== ===== Read Windows Key from eprom ===== Many manufacturers are shipping systems with no Microsoft key on the case. Instead, the key is stored in ROM. To read the key (from Linux) hexedit /sys/firmware/acpi/tables/MSDM use ^C to exit hexedit. ===== Windows Uptime ===== The //net stats srv// command returns, amongst other things, the time of the last reboot. We can use findstr to find the correct line (it has "Statistics since" in it) we can get the date/time of the last startup. net stats srv | findstr /c:"Statistics since"