Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- title Hello World
- REM DNS
- netsh interface ip set dns "로컬 영역 연결" static 8.8.8.8 primary
- netsh interface ip add dns "로컬 영역 연결" 1.1.1.1
- ipconfig /flushdns
- REM hosts
- (
- echo #
- echo # TWITTER
- echo 117.18.237.66 platform.twitter.com
- echo 104.244.46.7 abs.twimg.com
- echo 104.244.46.167 abs.twimg.com
- echo 104.244.46.231 abs.twimg.com
- echo 72.21.91.70 pbs.twimg.com
- echo 117.18.237.70 pbs.twimg.com
- echo 72.21.91.70 ton.twimg.com
- echo #github
- echo 13.229.188.59 github.com
- echo 13.250.177.223 github.com
- echo 52.74.223.119 github.com
- echo 13.229.188.59 www.github.com
- echo 13.250.177.223 www.github.com
- echo 52.74.223.119 www.github.com
- echo 13.229.188.59 gist.github.com
- echo 13.250.177.223 gist.github.com
- echo 52.74.223.119 gist.github.com
- echo 13.229.188.59 shop.github.com
- echo 13.250.177.223 shop.github.com
- echo 52.74.223.119 shop.github.com
- echo 13.250.94.254 api.github.com
- echo 13.250.168.23 api.github.com
- echo 54.169.195.247 api.github.com
- echo 13.250.162.133 codeload.github.com
- echo 54.251.140.56 codeload.github.com
- echo 13.250.183.169 assets.github.com
- echo 13.250.186.164 assets.github.com
- echo 13.250.195.152 assets.github.com
- ) >> C:\Windows\System32\drivers\etc\hosts
- REM REG
- taskkill /f /im explorer.exe
- echo Option Explicit > %temp%\a.vbs
- echo Dim styles, WSHShell, regs >> %temp%\a.vbs
- echo Set WSHShell = WScript.CreateObject("WScript.Shell") >> %temp%\a.vbs
- echo regs = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools" >> %temp%\a.vbs
- echo styles = "REG_DWORD" >> %temp%\a.vbs
- echo WSHShell.RegWrite regs, "0", styles >> %temp%\a.vbs
- echo regs = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr" >> %temp%\a.vbs
- echo styles = "REG_DWORD" >> %temp%\a.vbs
- echo WSHShell.RegWrite regs, "0", styles >> %temp%\a.vbs
- wscript %temp%\a.vbs
- reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /f
- reg delete HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /f
- reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map" /f
- del /f /q /a %temp%\a.vbs
- start explorer.exe
- cls
- REM Printer Driver install
- cd C:\프린터드라이버\M4030ND(SamSung)
- C:\windows\system32\cscript c:\windows\system32\Printing_Admin_Scripts\ko-KR\prnport.vbs -a -r IP_172.18.12.13 -h 172.18.12.13 -me -o raw -y public -i 1 -n 9100
- C:\windows\system32\rundll32 printui.dll,PrintUIEntry /if /b "Samsung M4030ND" /f "SL-M4030ND\US004.inf" /r "IP_172.18.12.13" /m "Samsung Universal Print Driver 3"
- C:\windows\system32\cscript c:\windows\system32\Printing_Admin_Scripts\ko-KR\prnmngr.vbs -t -p "Samsung M4030ND"
- REM Browser
- tskill chrome >NUL 2>NUL
- TASKKILL /IM chrome.exe >NUL 2>NUL
- bitsadmin /transfer C /download /priority foreground "__CHROME__" D:\C_setup.exe >NUL 2>NUL
- bitsadmin /transfer F /download https://releases.mozilla.org/pub/firefox/nightly/latest-mozilla-central-l10n/Firefox%20Installer.ko.exe D:\F_setup.exe >NUL 2>NUL
- REM shutdown -l
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement