Things I thought I would never have to look at again but is somehow, quite consistently, forced to tinker with from time to time
Disclaimer: The stuffs I have here are only for my personal note (I got most of them from online resources - kudos to the original resource). If you want to try the same thing based on this, I cannot be held responsible if something goes wrong .
In Administrator's command prompt only…
net user Guest /active:yes
net user Guest /active:no
dd if=/dev/sda3 of=linux.bin bs=512 count=1
bcdedit /export backup.bcd
bcdedit /import backup.bcd
bcdedit /create /d "Linux" /application bootsector
bcdedit /set [ID] device partition=c:
bcdedit /set [ID] path \linux.bin
bcdedit /displayorder [ID] /addlast
bcdedit /timeout 30
bcdedit /delete [ID]
On Windows 8.1 (and above?), the Windows Recovery Environment is disabled by default on UEFI systems (helps to boot faster). To get access, enable using BCDEdit:
bcdedit /set {default} bootmenupolicy legacy
To revert to original settings:
bcdedit /set {default} bootmenupolicy standard
Do note that we need to run command prompt as Administrator when doing this.
Win+R and run 'services.msc'
sc delete ServiceName
I got this error:
Windows could not connect to the System Event Notification Service service...
netsh winsock reset
Disk partitioning utility on Windows is diskpart (other than using GUI-based disk manager). It create MBR partition table.
e.g. To create single FAT32 partition in SD card, open command prompt as administrator and run diskpart.
> list disk
> select disk <n>
> list part
> select part {n}
> delete part
> create part primary offset=1024