Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rem ========================= Windows Network =========================
- rem To get adapter's index number use command:
- wmic nicconfig get caption,index,TcpipNetbiosOptions
- rem Setup IP and Gateway (To Enable DHCP: wmic nicconfig where index=0 call enabledhcp)
- wmic nicconfig where index=0 call enablestatic("10.10.10.20"), ("255.255.255.0")
- wmic nicconfig where index=0 call setgateways("10.10.10.10")
- rem ========================= Windows Desktop =========================
- rem Hide Network
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" /t REG_DWORD /d "1" /f
- rem ========================= Windows Services =========================
- rem DNS Client (Required by the internet connection, unless you set up DNS servers manually in IPv4/6's properties)
- sc config Dnscache start= demand
- rem Network Store Interface Service (Required by the internet connection, unless you set up IP/DNS manually in IPv4/6's properties)
- sc config nsi start= disabled
- rem TCP/IP NetBIOS Helper (Required by some internet connections like aDSL)
- sc config lmhosts start= disabled
- rem ========================= Windows Privacy =========================
- rem 0 - Disable WiFi Sense (shares your WiFi network login with other people)
- reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots" /v "value" /t REG_DWORD /d "0" /f
- reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting" /v "value" /t REG_DWORD /d "0" /f
Advertisement
Add Comment
Please, Sign In to add comment