自由學習的風

幽夢影 張潮 少年讀書,如隙中窺月;中年讀書,如庭中望月;老年讀書,如臺上玩月。皆以閱歷之淺深,為所得之淺深耳。

[網管] 用指令設定 IP、啟用檔案共用

2020年7月13日 星期一

  1. 防火牆 啟用 遠端桌面
    netsh advfirewall firewall set rule group="remote desktop" new enable=Yes
  2. 修改註冊機碼啟用 遠端桌面
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
  3. 防火牆 啟用 檔案及印表機共用
    netsh advfirewall firewall set rule group="File and Printer Sharing" new profile=private
    netsh advfirewall firewall set rule name="檔案及印表機共用 (SMB-In)" dir=in profile=private new enable=Yes
  4. To see a list of interfaces
    netsh interface show interface
  5. To set/change an address:
    netsh interface ip set address "Ethernet" static 10.0.0.100 255.255.0.0 10.0.0.1 1
  6. To see a list of NICs with their configured network settings
    netsh interface ip show config
  7. To set a static IP
    netsh interface ip set address "Local Area Connection 3" static 10.0.0.100 255.255.0.0 10.0.0.1 1
  8. If you are setting a static IP for the first time, you will also need to configure a DNS server:
    netsh interface ipv4 add dnsserver "Local Area Connection 3" address=8.8.8.8 index=1
  9. To change the connection back to DHCP 
    netsh interface ip set address "Local Area Connection 3" dhcp

1 意見:

匿名 提到...

[網管] 用指令設定 Ip、啟用檔案共用 >>>>> Download Now

>>>>> Download Full

[網管] 用指令設定 Ip、啟用檔案共用 >>>>> Download LINK

>>>>> Download Now

[網管] 用指令設定 Ip、啟用檔案共用 >>>>> Download Full

>>>>> Download LINK Sw

張貼留言