Notes to Self

Alex Sokolsky's Notes on Computers and Programming

Windows Stuff

Here:

Disable IPv6

Create a reg key from an elevated prompt:

reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 255

Reboot, IPv6 is disabled. Your teredo, isatap, 6to4 interfaces are all gone.

To put it back how it was - just delete the key:

reg delete hklm\system\currentcontrolset\services\tcpip6\parameters\ /v DisabledComponents /f

Reboot.

This doesn’t remove the IPv6 loopback - but it does keep from sending out any IPv6 on the interfaces.

(re)Mount NAS Network Share

net use /delete *
net use \\nass.lan\downloads /user:nass\alex
net use \\nass.lan\home /user:nass\alex
net use \\nass.lan\movies /user:nass\alex password /persistent:yes
net use \\nass.lan\music /user:nass\alex

SwapCapsCtrl.reg

Windows Registry Editor Version 5.00

; The hex data is in five groups of four bytes:
;   00,00,00,00,\    header version (always 00000000)
;   00,00,00,00,\    header flags (always 00000000)
;   03,00,00,00,\    # of entries (2 in this case) plus a NULL terminator line.
;                    Entries are in 2-byte pairs: Key code to send & keyboard key to send it.
;                    Each entry is in LSB, MSB order.
;   1d,00,3a,00,\    Send LEFT CTRL (0x001D) code when user presses the CAPS LOCK key (0x003A)
;   3a,00,1d,00,\    Send CAPS LOCK (0x3A) code when user presses the LEFT CTRL key (0x001D)
;   00,00,00,00      NULL terminator

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,\
                   00,00,00,00,\
                   03,00,00,00,\
                   1d,00,3a,00,\
                   3a,00,1d,00,\
                   00,00,00,00

More stuff