raaghulr
9/15/2017 - 11:49 AM

Windows Shortcut for common Action

To Reduce the Repeated work use below bat files to make easier!!!

@echo off
netsh wlan stop hostednetwork
netsh int tcp show global
netsh int tcp set chimney=enabled
netsh int tcp set global autotuninglevel=normal
netsh int set global congestionprovider=ctcp
ipconfig/flushdns
ping -t 10.100.1.1 
@echo off
netsh int tcp show global
netsh int tcp set chimney=enabled
netsh int tcp set global autotuninglevel=normal
netsh int set global congestionprovider=ctcp
ipconfig/flushdns
@echo off
ipconfig /flushdns
ipconfig /release
netsh interface set interface "Wireless Network Connection" enable
netsh interface ip set address "Wireless Network Connection" static 10.100.9.180 255.255.224.0 10.100.1.1
inetcpl.cpl ,4 
echo "This Bat is used to disable Windows Services "
echo "sc config "Name of Service" start= disabled"
echo "sc stop "Name of Service""
sc config "IP Helper" start= disabled
sc stop "IP Helper"
sc config "Offline Files" start= disabled
sc stop "Offline Files"
sc config "Network Access Protection Agent" start= disabled
sc stop "Network Access Protection Agent"
sc config "Parental Controls" start= disabled
sc stop "Parental Controls"
sc config "Smart Card" start= disabled
sc stop "Smart Card"
sc config "Smart Card Removal Policy" start= disabled
sc stop "Smart Card Removal Policy"
sc config "Windows Defender" start= disabled
sc stop "Windows Defender"
sc config "Windows Media Center Receiver Service" start= disabled
sc stop "Windows Media Center Receiver Service"
sc config "Windows Media Center Scheduler Service" start= disabled
sc stop "Windows Media Center Scheduler Service"
sc config "Windows Media Player Network Sharing Service" start= disabled
sc stop "Windows Media Player Network Sharing Service"
sc config "Fax" start= disabled
sc stop "Fax"
sc config "HomeGroup Listener" start= disabled
sc stop "HomeGroup Listener"
sc config "HomeGroup Provider" start= disabled
sc stop "HomeGroup Provider"
sc config "Tablet PC Input Service" start= disabled
sc stop "Tablet PC Input Service"
echo "Modify This File to add other services"
@echo off
ipconfig /flushdns
ipconfig /release
netsh interface ip set dns "Wireless Network Connection" dhcp
netsh interface ip set address "Wireless Network Connection" dhcp
netsh interface ip set address name=14  source=dhcp
inetcpl.cpl ,4 
@echo off
netsh wlan set hostednetwork mode=allow ssid=Wifi_Connect key=12345678
netsh wlan start hostednetwork
ping -n  127.0.0.1 > NUL 2>&1 && shutdown /h /f