Delete Protected system fonts (Win 7, Win10)

After installed required fonts for our newly installed Win10 computer.
I found the command prompt will show some weird chars for back slash.
After done some google search and poke around, I found a solution. One of the windows fonts cause the problem
usually I could just simply delete it from font fonder..however when I was trying to delete that one.
It shows an error msg saying that font is “system protected….etc”
to delete system protected font we could simply delete the key value from Registry.

HKEY_LOCAL_MACHINE → Software → Microsoft → Windows NT → CurrentVersion → Fonts –> “(Font Name)”

in my case font name will be : msgothic.ttc, MS Gothic & MS UI Gothic & MS PGothic (TrueType)

After deleting the reg key and then restart the computer the cmd prompt is back to normal now 🙂

How to get remote computer’s mac address from windows tool – “psexec”

How to get remote computer’s mac address from psexec

PS D:\Admin\User> psexec \\win10-test -u admin -p Pa$$w0rd ipconfig /all

PsExec v2.2 - Execute processes remotely
Copyright (C) 2001-2016 Mark Russinovich
Sysinternals - www.sysinternals.com



Windows IP Configuration

   Host Name . . . . . . . . . . . . : win10-test
   Primary Dns Suffix  . . . . . . . : contoso.com
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : contoso.com

Wireless LAN adapter Wi-Fi:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 7265
   Physical Address. . . . . . . . . : F9-A4-C5-FA-0D-AA
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Local Area Connection* 9:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
   Physical Address. . . . . . . . . : FA-A5-2C-A0-E0-AB
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . : contoso.com
   Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
   Physical Address. . . . . . . . . : AD-A2-03-6C-CC-AC
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe21::3007:f746:5e9b:f2bf%12(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.10.4.10(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.254.0
   Lease Obtained. . . . . . . . . . : February 14, 2018 11:16:09 AM
   Lease Expires . . . . . . . . . . : February 21, 2018 11:16:08 AM
   Default Gateway . . . . . . . . . : 10.10.4.254
   DHCP Server . . . . . . . . . . . : 10.10.4.17
   DHCPv6 IAID . . . . . . . . . . . : 61661907
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-0F-C5-56-AC-E2-D3-63-C3-30
   DNS Servers . . . . . . . . . . . : 10.10.4.99
                                       10.10.4.100
   Primary WINS Server . . . . . . . : 10.10.4.101
   Secondary WINS Server . . . . . . : 10.10.4.102
   NetBIOS over Tcpip. . . . . . . . : Enabled

ipconfig exited on it100092 with error code 0.

Turn off Windows 7 Admin share

my windows 7 system by default will share C$, D$. I would like to turn it off and just share the folder i would like to share
you can modify reg key to turn off default admin share

Add the following reg key will disable default admin share

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters]
"AutoShareWks"=dword:00000000

result

PS D:\> net share

Share name   Resource                        Remark

-------------------------------------------------------------------------------
IPC$                                         Remote IPC
share_public D:\share_public
The command completed successfully.