Advertisement
Guest User

Untitled

a guest
Oct 1st, 2014
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. reg query "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCards"
  2.  
  3. HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCardsYourCardNumber
  4.  
  5. start ::{208D2C60-3AEA-1069-A2D7-08002B30309D}::{7007ACC7-3202-11D1-AAD2-00805FC1270E}::{Network Adapter GUID}
  6.  
  7. netsh interface ipv4 set address name="Local Area Connection"
  8. source=static address=192.168.0.5 mask=255.255.255.0 gateway=192.168.0.1
  9.  
  10. netsh interface ipv4 set address /?
  11.  
  12. netsh interface ipv4 show addresses "Local Area Connection"
  13.  
  14. Configuration for interface "Local Area Connection"
  15.  
  16. DHCP enabled: No
  17. IP Address: 192.168.0.5
  18. Subnet Prefix: 192.168.0.0/24 (mask 255.255.255.0)
  19. Default Gateway: 192.168.0.1
  20. Gateway Metric: 0
  21. InterfaceMetric: 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement