-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path2_disable_securitysettings.ps1
28 lines (21 loc) · 1.59 KB
/
2_disable_securitysettings.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# ============================================= 단계2 윈도우 보안설정=============================================
# ===========================================================================================================
# ===========================================================================================================
# 방화벽 끄기
# 참고자료: https://www.windows-commandline.com/enable-disable-firewall-command-line/
netsh advfirewall set currentprofile state off
# 윈도우 디펜더 비활성화
# 참고자료: https://www.itechtics.com/enable-disable-windows-defender/
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d "0x1" /f
# 윈도우 업데이트 비활성화
# 참고자료: https://docs.microsoft.com/ko-kr/windows/deployment/update/waas-wu-settings
# https://gist.github.com/JimmyAppelt/1b85b518c7fd44b6742fe2aafa17b646
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /t REG_DWORD /d "0x1" /f
# 알림센터 비활성화
# 참고자료: https://gist.github.com/OALabs/afb619ce8778302c324373378abbaef5
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v HideSCAHealth /t REG_DWORD /d "0x1" /f
# 한국시간 설정
Set-TimeZone -Id "Korea Standard Time"
# 숨겨진 파일/디렉터리 보기설정(재부팅 필요)
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Hidden /t REG_DWORD /d 1 /f
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v ShowSuperHidden /t REG_DWORD /d 1 /f