View difference between Paste ID: 5i2VP4u6 and m26z309a
SHOW: | | - or go back to the newest paste.
1
rem USE AT OWN RISK AS IS WITHOUT WARRANTY OF ANY KIND !!!!!
2
3
4-
rem 19042 ISO DE/EN - https://www.deskmodder.de/blog/2020/06/17/windows-10-20h2-19042-iso-esd-inkl-updates-deutsch-english/
4+
rem Sections
5
6
rem Remove various startup entries and policies
7-
rem The latest cumulative update - https://support.microsoft.com/en-us/help/4555932
7+
8-
rem 19042.608 - http://download.windowsupdate.com/c/msdownload/update/software/updt/2020/10/windows10.0-kb4580364-x64_a9b49d199e6632ebacfe5c908e3a4a76968de619.msu
8+
9-
rem DISM /Online /Add-Package /PackagePath:Z:\Desktop\Windows10.0-KB4580364-x64_PSFX.cab
9+
10
rem Windows Defender
11-
rem Before making any changes, it is preferable to create a registry backup!
11+
rem Windows Desktop
12-
rem https://support.microsoft.com/en-us/help/322756/how-to-back-up-and-restore-the-registry-in-windows
12+
rem Windows Drivers
13-
rem https://www.tweaking.com/content/page/registry_backup.html
13+
14
rem Windows Explorer
15-
rem Or even better, create a system image!
15+
16-
rem https://www.aomeitech.com/ab/standard.html
16+
rem Windows Notifications
17-
rem https://www.easeus.com/backup-software/tb-free.html
17+
18
rem Windows Policies
19-
rem "ValidateAdminCodeSignatures" will prevent exe without a digital signature to run as admin: "A referral was returned from the server."
19+
rem Windows Privacy
20-
rem reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "ValidateAdminCodeSignatures" /t REG_DWORD /d "0" /f
20+
21-
rem Windows Defender Firewall is set to block all inbound/outbound except allowed apps, which have to be added first!
21+
22
rem Windows Shell
23
rem Windows Updates
24-
rem ________________________________________________________________________________________
24+
25
26
27-
rem Basic informations
27+
rem Fixing Windows Problems
28-
rem Software recommendations
28+
29
rem Windows Cleanup - pastebin.com/5Q4t1Us9
30-
rem Remove various folders, startup entries and policies
30+
rem Windows Complete Fix - pastebin.com/bwCnbKYN
31
rem Windows Network Fix - pastebin.com/sypxG1ew
32
rem Windows Repair Free - www.tweaking.com/content/page/windows_repair_all_in_one.html
33-
rem Software Setup
33+
rem Windows TenForums - www.tenforums.com
34-
rem Windows Setup plus Manual Config
34+
35
36-
rem Windows Defender Security Center
36+
rem Recommended free cleanup software for Windows 10
37
38
rem CCleaner - www.piriform.com/ccleaner/builds
39
rem CleanMem - www.pcwintech.com/cleanmem
40
rem Wise Care - www.wisecleaner.com/wise-care-365.html
41
rem Wise Program Uninstaller - www.wisecleaner.com/wise-program-uninstaller.html
42
43
44-
rem Windows Settings
44+
rem Recommended free security cleanup software
45
46-
rem Windows Store
46+
rem Dr.Web CureIt! - free.drweb.com/download+cureit+free
47-
rem Windows Support
47+
rem Emsisoft Emergency Kit - www.emsisoft.com/en/software/eek
48
49
rem Guide - malwaretips.com/blogs/malware-removal-guide-for-windows
50
rem Help - www.bleepingcomputer.com/forums/t/182397/am-i-infected-what-do-i-do-how-do-i-get-help-who-is-helping-me
51-
rem ================================= Basic informations ===================================
51+
52
53
rem Recommended free security software
54-
rem SeDebugPrivilege/SeTcbPrivilege - https://youtu.be/hZKLEw-Our4 - Self-elevation to System (even on SUA) used by ransomware (NotPetya/WannaCry)
54+
55-
rem https://docs.microsoft.com/en-us/windows/device-security/security-policy-settings/act-as-part-of-the-operating-system
55+
rem 360 Total Security Essential - www.360totalsecurity.com/en/features/360-total-security-essential
56
rem Panda Free Antivirus - www.pandasecurity.com/usa/homeusers/solutions/free-antivirus
57-
rem https://docs.microsoft.com/en-us/windows/deployment/update/waas-overview
57+
58-
rem https://docs.microsoft.com/en-us/windows/client-management/mdm/policy-configuration-service-provider
58+
59-
rem https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-security-baselines
59+
rem Recommended free software replacement for Windows 10 apps
60
61-
rem Adblock Detection - https://www.detectadblock.com / https://blockads.fivefilters.org
61+
rem Browser - Yandex.Browser - browser.yandex.com
62-
rem Browser Leaks - https://browserleaks.com / https://whoer.net / CanvasFingerprint / WebRTC
62+
rem Computer Management - www.nirsoft.net/utils/index.html
63-
rem Browser Tracking Test - https://panopticlick.eff.org
63+
rem File Archiver - 7-zip - www.7-zip.org
64-
rem Privacy Etags - https://lucb1e.com/rp/cookielesscookies
64+
rem File Encryption - AxCrypt - www.axantum.com/AxCrypt/Downloads.html
65-
rem Privacy Info - https://github.com/CHEF-KOCH/Online-Privacy-Test-Resource-List/tree/f4f9176ae8ea44c0f77ece204ee4435e892c0a29
65+
rem File Explorer - XYplorerFree - www.xyplorer.com/free
66-
rem Privacy Tools - https://www.ghacks.net/2015/08/14/comparison-of-windows-10-privacy-tools
66+
rem Disc Space Manager - TreeSize Free - www.jam-software.com/treesize_free
67-
rem Privacy Tools - https://www.privacytools.io
67+
rem Hardware Information - HWiNFO - www.hwinfo.com/download.php
68-
rem Privacy Webpage Scan - https://webbkoll.dataskydd.net
68+
rem Image Viewer - XnView Min - www.xnview.com/en/xnview/#downloads
69-
rem SSL/TLS Test - https://www.ssllabs.com/ssltest
69+
rem Media Player - MPC-HC - mpc-hc.org/downloads
70
rem Network Settings - NetSetMan - www.netsetman.com/en/freeware
71-
rem AV Comparison
71+
rem Office Suite - LibreOffice - www.libreoffice.org/download/libreoffice-fresh
72-
rem https://www.programmifree.com/confronti
72+
rem Password Manager (Offline) - KeePass - keepass.info/download.html
73-
rem https://checklab.pl/en/publications
73+
rem PDF Viewer - PDF xChange Viewer - www.tracker-software.com/product/downloads
74-
rem https://www.av-comparatives.org/latest-tests
74+
rem Software Update Manager - KC SUMo - www.kcsoftwares.com/?sumo
75-
rem https://www.av-test.org/en/antivirus/home-windows/windows-10
75+
rem Startup Manager - Autoruns - technet.microsoft.com/en-us/sysinternals/bb963902.aspx
76-
rem https://www.mrg-effitas.com/test-library
76+
rem Task Manager - Process Hacker - processhacker.sourceforge.net
77-
rem https://www.pcmag.com/roundup/267984/the-best-free-antivirus-protection
77+
rem Windows Updates - Windows Update MiniTool - www.softpedia.com/get/System/System-Miscellaneous/Windows-Update-MiniTool.shtml
78
79-
rem AVs/SSL Filtering - https://adguard.com/en/blog/everything-about-https-filtering.html - https://badssl.com
79+
80-
rem AV is as vulnerable as any other software, but since it uses SYSTEM rights, it is more dangerous - https://cybellum.com/doubleagent-taking-full-control-antivirus
80+
rem ========================= Remove various startup entries and policies =========================
81-
rem Disable webfiltering, AV replacing legitimate certificates - https://www.eff.org/deeplinks/2015/02/dear-software-vendors-please-stop-trying-intercept-your-customers-encrypted
81+
82-
rem WD being vulnerable all the time - http://news.softpedia.com/news/microsoft-releases-silent-fix-for-windows-defender-remote-code-execution-flaw-516095.shtml
82+
83-
rem https://www.bleepingcomputer.com/news/security/smartservice-and-s5mark-acts-like-an-adware-bodyguard-by-blocking-antivirus-software/
83+
del ""%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\*"" /s /f /q
84-
rem http://blog.emsisoft.com/2015/01/17/has-the-antivirus-industry-gone-mad
84+
del ""%LocalAppData%\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\*"" /s /f /q
85-
rem http://www.makeuseof.com/tag/antivirus-tracking-youd-surprised-sends
85+
86-
rem https://www.av-test.org/en/news/news-single-view/data-protection-or-virus-protection
86+
87
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Startup" /f
88-
rem DNS Benchmark / Namebench - https://code.google.com/archive/p/namebench/downloads
88+
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "Startup" /f
89-
rem DNS Hijack / https://sockpuppet.org/blog/2015/01/15/against-dnssec / https://recdnsfp.github.io
89+
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop" /f
90-
rem DNS Encryption (setup DNS server as 127.0.0.1) - https://simplednscrypt.org
90+
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /f
91-
rem DNS ESNI Test - https://www.cloudflare.com/ssl/encrypted-sni/
91+
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /f
92-
rem DNS Fix / DNS-Lock - https://www.sordum.org/9432/dns-lock-v1-4/
92+
93-
rem DNS List - https://wiki.ipfire.org/dns/public-servers
93+
94
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\RunServices" /f
95-
rem Family Filtering (adult/proxy/search)
95+
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce" /f
96-
rem Cloudflare - https://developers.cloudflare.com/1.1.1.1/1.1.1.1-for-families/setup-instructions/windows/
96+
reg delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server" /f
97-
rem CleanBrowsing - https://cleanbrowsing.org/ip-address - https://categorify.org/recategorize
97+
reg delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows" /f
98-
rem DNS Family - https://dnsforfamily.com/#DNS_Servers
98+
reg delete "HKCU\Software\Policies\Microsoft\Windows\System" /f
99-
rem Enforce Safe Search (=Adult Filter) - https://chrome.google.com/webstore/detail/enforce-safe-search-adult/fiopkogmohpinncfhneadmpkcikmgkgc
99+
100-
rem NextDNS - https://www.nextdns.io
100+
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Common Startup" /f
101-
rem OpenDNS - https://www.opendns.com/setupguide/#familyshield
101+
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "Common Startup" /f
102-
rem UltraDNS - https://www.publicdns.neustar
102+
103
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop" /f
104-
rem VPN Comparison / Anonymity
104+
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /f
105-
rem https://arstechnica.com/tech-policy/2017/03/senate-votes-to-let-isps-sell-your-web-browsing-history-to-advertisers
105+
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /f
106-
rem https://sec.hpi.de/ilc/search
106+
107-
rem https://thatoneprivacysite.net/simple-vpn-comparison-chart
107+
108-
rem https://www.msgsafe.io
108+
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\RunServices" /f
109-
rem https://www.av-comparatives.org/tests/vpn-report-2020-35-services/
109+
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce" /f
110
reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server" /f
111-
rem Windows 10 ISO
111+
112-
rem https://genuineisoverifier.weebly.com
112+
113-
rem https://msdn.rg-adguard.net
113+
114-
rem https://tb.rg-adguard.net
114+
115-
rem https://uup.rg-adguard.net
115+
116-
rem https://uupdump.ml/known.php?q=19042.450
116+
117-
rem https://www.heidoc.net/joomla/technology-science/microsoft/67-microsoft-windows-and-office-iso-download-tool
117+
118
reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit" /f
119-
rem Check ISO Windows versions and build version
119+
reg delete "HKLM\Software\Policies\Microsoft\Windows\System" /f
120-
rem dism /Get-WimInfo /WimFile:E:\sources\install.wim
120+
121-
rem dism /Get-WimInfo /WimFile:E:\sources\install.wim /index:1
121+
122-
rem dism /Get-WimInfo /WimFile:E:\sources\install.esd /index:1
122+
123
reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Windows" /v "AppInit_DLLs" /f
124-
rem https://www.tenforums.com/tutorials/3109-shell-commands-list-windows-10-a.html
124+
125-
rem https://www.tenforums.com/tutorials/3123-clsid-key-guid-shortcuts-list-windows-10-a.html
125+
126-
rem https://www.tenforums.com/tutorials/3234-environment-variables-windows-10-a.html
126+
127-
rem https://www.tenforums.com/tutorials/77458-rundll32-commands-list-windows-10-a.html
127+
128-
rem https://www.tenforums.com/tutorials/78108-app-commands-list-windows-10-a.html
128+
129-
rem https://www.tenforums.com/tutorials/78214-settings-pages-list-uri-shortcuts-windows-10-a.html
129+
130
reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit" /f
131
reg delete "HKLM\System\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map" /f
132-
rem =============================== Software recommendations ===============================
132+
133
reg delete "HKLM\System\CurrentControlSet\Control\Session Manager" /v "BootExecute" /f
134
reg delete "HKLM\System\CurrentControlSet\Control\Session Manager" /v "Execute" /f
135-
rem AntiVirus software
135+
136-
rem 360 Total Security - https://www.360totalsecurity.com (Avira's signatures)
136+
137-
rem Adaware (MT) - https://www.adaware.com/antivirus (Bitdefender's signatures)
137+
138-
rem Adaware Silent - App Managment - Enable Gaming Mode / Disable ThreatWork Alliance
138+
139-
rem Kaspersky Security Cloud (RU) - https://www.kaspersky.com/downloads/thank-you/try-free-cloud-antivirus
139+
rem ========================= Restore essential startup entries =========================
140-
rem Kaspersky Security Cloud Setup - Accept Kaspersky Security Network and Decline Data Processing / Recommended - uncheck All
140+
141-
rem Kaspersky Security Cloud Setup - Uninstall Kaspersky Secure Connection (trial VPN)
141+
142-
rem Kaspersky Security Cloud Setup -  Settings - Additional - Notifications - uncheck News Notifications and Promotional Materials
142+
bcdedit /set {default} bootstatuspolicy DisplayAllFailures 
143-
rem Kaspersky Security Cloud Performance - Settings - Protection - Turn Off All, but File Anti-Virus
143+
144-
rem Kaspersky Security Cloud Performance - Settings - Additional - uncheck Inject script into web traffic / Do not scan encrypted connections
144+
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v "EvtMgr6" /t REG_SZ /d "C:\Program Files\Logitech\SetPointP\SetPoint.exe /launchGaming" /f
145
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Shell" /t REG_SZ /d "explorer.exe" /f
146-
rem AntiVirus software (Cloud only)
146+
147-
rem Immunet (US) - http://www.immunet.com/index
147+
148-
rem Panda (ES) (it has to be updated manually to the latest version) - https://www.pandasecurity.com/en-us/homeusers/free-antivirus
148+
149-
rem Panda Performance - Settings - General - Disable Panda news / Antivirus - Block files for 10 seconds/Disable show warning/Process Monitor - Disable both
149+
150
151-
rem AntiVirus software - additional protection (can be run alongisde of realtime AV)
151+
152-
rem Immunet - http://www.immunet.com/index
152+
rem ========================= Windows Basics =========================
153-
rem OSArmor - https://www.novirusthanks.org/products/osarmor
153+
154-
rem SecureAPlus Freemium (SG) - https://www.secureaplus.com/download - https://www.secureaplus.com/download/free-extension
154+
155-
rem VoodooShield (US) - https://voodooshield.com
155+
rem Disable Windows Firewall / AllProfiles / CurrentProfile / DomainProfile / PrivateProfile / PublicProfile
156
netsh advfirewall set allprofiles state off
157-
rem Browser Extensions useful against (99% malware comes via an email or a browser)
157+
158-
rem Adult Content (Chrome/Firefox) - http://www.cloudacl.com/antiporn
158+
159-
rem CDN (Chrome/Firefox/Opera) - https://decentraleyes.org
159+
160-
rem Coinhive, Malware and Popups (Chrome/Firefox/Opera) - https://add0n.com/popup-blocker.html
160+
161-
rem Cookie Warnings (Chrome/Firefox/Opera) - https://www.i-dont-care-about-cookies.eu
161+
162-
rem Filter Lists - https://filterlists.com - https://github.com/EnergizedProtection/block#packs
162+
163-
rem Malware (Chrome/Firefox/Opera) - https://www.bitdefender.com/solutions/trafficlight.html
163+
164-
rem Malware (Chrome/Firefox) - https://www.malwarebytes.com/browserguard
164+
165-
rem Phishing (Chrome/Firefox/Opera) - https://toolbar.netcraft.com
165+
166-
rem Punycode Domains (Chrome/Firefox/Opera) - https://github.com/AykutCevik/IDN-Safe
166+
rem Delete Windows Sounds (Permanently)
167-
rem Tracking (Chrome/Firefox/Opera) - https://www.eff.org/privacybadger
167+
168-
rem (Install Chrome Extensions in Opera) - https://addons.opera.com/en/extensions/details/install-chrome-extensions
168+
169
170-
rem Cleanup software
170+
rem 506 - Disable Sticky Keys when SHIFT is pressed 5 times / 510 - Enable
171-
rem Driver Store Explorer - https://github.com/lostindark/DriverStoreExplorer/releases
171+
reg add "HKCU\Control Panel\Accessibility\StickyKeys" /v "Flags" /t REG_SZ /d "506" /f
172-
rem HiBit Uninstaller - http://hibitsoft.ir
172+
173-
rem Wise Disk Cleaner - http://www.wisecleaner.com/wise-disk-cleaner.html
173+
rem 122 - Disable Filter Keys when SHIFT is pressed for 8 seconds / 126 - Enable
174-
rem Wise Registry Cleaner - http://www.wisecleaner.com/wise-registry-cleaner.html
174+
reg add "HKCU\Control Panel\Accessibility\Keyboard Response" /v "Flags" /t REG_SZ /d "122" /f
175
176-
rem Firewall software
176+
177-
rem FortKnox Firewall (SK) - http://fortknox-firewall.com
177+
178-
rem Zone Alarm Firewall (IL) - https://www.zonealarm.com/software/free-firewall
178+
179
reg add "HKCU\Control Panel\International" /v "iLZero" /t REG_SZ /d "1" /f
180-
rem Firewall software using Windows Firewall
180+
181-
rem Glasswire (US) - https://www.glasswire.com
181+
182-
rem Windows 10 Firewall Control (US) - https://www.sphinx-soft.com/Vista/order.html
182+
183
reg add "HKCU\Control Panel\International" /v "iTLZero" /t REG_SZ /d "1" /f
184-
rem Sandbox software
184+
185-
rem 360 Total Security Essential (CN) - https://www.360totalsecurity.com/en/features/360-total-security-essential
185+
186-
rem Shade Sandbox (US) - https://www.shadesandbox.com
186+
187
reg add "HKCU\Control Panel\International" /v "sPositiveSign" /t REG_SZ /d "" /f
188-
rem Security cleanup software (portable on-demand scanners, some still leave traces/drivers)
188+
189-
rem Antivirus Rescue Disks - https://www.techradar.com/in/best/best-antivirus-rescue-disk
189+
190-
rem AdwCleaner (US) - https://www.malwarebytes.com/adwcleaner/
190+
rem Set Location to United States (for the best Windows and Store experience)
191-
rem Dr.Web CureIt (RU) - https://free.drweb.com/download+cureit+free
191+
reg add "HKCU\Control Panel\International\Geo" /v "Nation" /t REG_SZ /d "244" /f
192-
rem Emsisoft Emergency Kit (NZ) - https://www.emsisoft.com/en/home/emergencykit
192+
193-
rem Kaspersky TDSSKiller (RU) - https://usa.kaspersky.com/downloads/tdsskiller
193+
194-
rem Kaspersky Virus Removal Tool (RU) - https://www.kaspersky.com/downloads/thank-you/free-virus-removal-tool
194+
195-
rem MWAV (IN) - https://escanav.com/en/mwav-tools/download-free-antivirus-toolkit.asp
195+
196-
rem RKill (BleepingComputer) - https://www.bleepingcomputer.com/download/rkill/
196+
197
reg add "HKCU\Control Panel\International" /v "iFirstWeekOfYear" /t REG_SZ /d "0" /f
198-
rem Security cleanup software (online/updatable on-demand scanners)
198+
199-
rem ESET Online Scanner (SK) - https://www.eset.com/us/home/online-scanner
199+
200-
rem F-Secure Online Scanner (US) - https://www.f-secure.com/en/home/free-tools/online-scanner
200+
201-
rem HitmanPro (UK) - https://www.softpedia.com/get/Internet/Popup-Ad-Spyware-Blockers/Hitman-Pro.shtml
201+
202-
rem Norton Power Eraser (US) - https://us.norton.com/support/tools/npe.html
202+
203-
rem Panda Cloud Cleaner (ES) - https://www.pandasecurity.com/en-us/homeusers/solutions/cloud-cleaner
203+
204-
rem Trend Micro HouseCall (US) - https://www.trendmicro.com/en_us/forHome/products/housecall.html
204+
205
reg add "HKCU\Control Panel\International" /v "sMonThousandSep" /t REG_SZ /d "," /f
206-
rem Software
206+
207-
rem Application Updates / Patch My PC - https://patchmypc.net
207+
208-
rem Bandwidth Meter / NetTraffic - https://www.venea.net/web/nettraffic
208+
209-
rem Bootable USB / Universal USB Installer - https://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3
209+
210-
rem Bootloader / EasyBCD - https://www.softpedia.com/get/System/OS-Enhancements/EasyBCD.shtml
210+
211-
rem Bootloader / EasyUEFI - https://www.softpedia.com/get/System/Boot-Manager-Disk/EasyUEFI.shtml
211+
212-
rem Browser / TOR - https://www.torproject.org - Set Settings to Safest to disable all javascripts for max privacy!
212+
213-
rem Browser / Yandex.Browser - https://browser.yandex.com/security
213+
rem When windows detects communicarions activity / 0 - Mute all other sounds / 1 - Reduce all other by 80% / 2 - Reduce all other by 50% / 3 - Do nothing
214-
rem Calc / Old Calculator - https://winaero.com/download.php?view.1795
214+
215-
rem Cloud Backup / IceDrive - https://icedrive.net/plans
215+
216-
rem Cloud Backup / PolarBackup - https://www.polarbackup.com/#pricing
216+
rem 1 - Enable Automatic Restart on System Failure
217-
rem Compact/Compress Files / Compact GUI - https://github.com/ImminentFate/CompactGUI
217+
reg add "HKLM\System\CurrentControlSet\Control\CrashControl" /v "AutoReboot" /t REG_DWORD /d "1" /f
218-
rem Computer Management / NirLauncher - http://launcher.nirsoft.net
218+
219-
rem CPU Info / CPU-Z - https://www.cpuid.com/softwares/cpu-z.html
219+
rem System Info
220-
rem CPU Test / Prime95 - https://www.mersenne.org/download
220+
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\OEMInformation" /v "Logo" /t REG_SZ /d "D:\Software\Temp\Pics\Mikai.bmp" /f
221-
rem Data Recovery / DMDE Free Edition - https://dmde.com/download.html - https://www.techradar.com/how-to/computing/how-to-recover-lost-or-deleted-files-1307921/2
221+
222-
rem Data Recovery / EaseUS Data Recovery Wizard - https://www.easeus.com/datarecoverywizard/free-data-recovery-software.htm
222+
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\OEMInformation" /v "SupportHours" /t REG_SZ /d "None" /f
223-
rem Directx 9.0 Runtimes / DirectX Redistributable June 2010 - http://www.softpedia.com/get/System/OS-Enhancements/DirectX-9.0c-Redistributable.shtml
223+
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\OEMInformation" /v "SupportPhone" /t REG_SZ /d "None" /f
224-
rem Disc to MKV / MakeMKV Beta - http://www.makemkv.com/download / Key - https://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053
224+
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\OEMInformation" /v "SupportURL" /t REG_SZ /d "https://www.facebook.com/tairikuokami" /f
225-
rem Disk Info / CrystalDiskInfo - https://crystalmark.info/en/software/crystaldiskinfo
225+
226-
rem Disk Scan / HDDScan - http://hddscan.com
226+
227-
rem Disk Space Usage / WizTree - https://antibody-software.com/web/software/software/wiztree-finds-the-files-and-folders-using-the-most-disk-space-on-your-hard-drive
227+
rem Enable System restore and Set the size
228-
rem Disk Speed Test / CCSIO Benchmark - https://ccsiobench.com
228+
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\SPP\Clients" /v " {09F7EDC5-294E-4180-AF6A-FB0E6A0E9513}" /t REG_MULTI_SZ /d "1" /f
229-
rem Disk Surface Test / Macrorit Disk Scanner - https://macrorit.com/disk-surface-test/disk-surface-test.html
229+
vssadmin Resize ShadowStorage /For=C: /On=C: /Maxsize=4GB
230-
rem Driver Updates / Driver Easy - https://www.drivereasy.com
230+
231-
rem eMail Client / POP Peeper - https://www.esumsoft.com/products/pop-peeper
231+
232-
rem File Archiver / 7-zip - https://www.7-zip.org
232+
rem Replace default Task Manager with Process Hacker (must be installed prior to use)
233-
rem GPU Info / GPU-Z - https://www.techpowerup.com/gpuz
233+
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe" /v "Debugger" /t REG_SZ /d "\"C:\Program Files\Process Hacker 2\ProcessHacker.exe\"" /f
234-
rem GPU Test / Furmark - https://geeks3d.com/furmark
234+
reg add "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe" /v "Debugger" /t REG_SZ /d "\"C:\Program Files\Process Hacker 2\ProcessHacker.exe\"" /f
235-
rem Hardware Information / HWiNFO - https://www.hwinfo.com/download.php
235+
236-
rem Hardware Monitor / HWMonitor - https://www.cpuid.com/softwares/hwmonitor.html
236+
237-
rem Image Viewer / XnView - https://www.xnview.com/en/xnview/#downloads
237+
rem Computer Name - E525 (Computer name should not be longer than 16 characters)
238-
rem Media Player / PotPlayer - https://daumpotplayer.com
238+
reg add "HKLM\System\CurrentControlSet\Control\ComputerName\ActiveComputerName" /v "ComputerName" /t REG_SZ /d "E525" /f
239-
rem NET 3.5 Feature Installer for Windows 10 x86/x64 - https://github.com/abbodi1406/dotNetFx35W10/releases
239+
reg add "HKLM\System\CurrentControlSet\Control\ComputerName\ComputerName" /v "ComputerName" /t REG_SZ /d "E525" /f
240-
rem Network Optimization / TCP Optimizer - https://www.speedguide.net/downloads.php
240+
reg add "HKLM\System\CurrentControlSet\Services\Tcpip\Parameters" /v "Hostname" /t REG_SZ /d "E525" /f
241-
rem Network Settings Manager / NetSetMan - https://www.netsetman.com/en/freeware
241+
reg add "HKLM\System\CurrentControlSet\Services\Tcpip\Parameters" /v "NV Hostname" /t REG_SZ /d "E525" /f
242-
rem Office Suite / FreeOffice - https://www.freeoffice.com/en/freeoffice
242+
243-
rem Paint / Classic Paint - https://winaero.com/blog/download-classic-paint-windows-10
243+
244-
rem Partition Manager / Macrorit Partition Expert - https://macrorit.com/partition-magic-manager/free-edition.html
244+
rem Time to display recovery options when needed in seconds
245-
rem Password Manager (Offline) / KeePass Professional Edition - https://keepass.info/download.html
245+
246-
rem Password Manager (Online) / Bitwarden - https://bitwarden.com
246+
247-
rem PDF Editor / FreePDF - https://www.getfreepdf.com
247+
248-
rem PDF Viewer / Sumatra PDF - https://www.sumatrapdfreader.org/free-pdf-reader.html
248+
rem ========================= Windows Defender =========================
249-
rem Performance / DPC Latency Checker - https://www.thesycon.de/eng/latency_check.shtml
249+
250-
rem Performance / LatencyMon - http://www.resplendence.com/latencymon
250+
251-
rem Performance / Process Lasso - https://bitsum.com
251+
rem To completely disable WD - pastebin.com/kYCVzZPz
252-
rem Performance / Windows System Timer Tool - https://vvvv.org/contribution/windows-system-timer-tool
252+
rem An alternative option - winaero.com/blog/nodefender-disable-windows-defender-in-windows-10-with-few-clicks
253-
rem Permissions / Reset permissions/Take Ownership - http://lallouslab.net/2013/08/26/resetting-ntfs-files-permission-in-windows-graphical-utility/
253+
254-
rem Process Monitor / Process Monitor - https://technet.microsoft.com/en-us/sysinternals/processmonitor.aspx
254+
rem 1 - Disable Real-time protection
255-
rem Radio / Odio - https://audials.com/en/radio
255+
reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d "1" /f
256-
rem RAM Fix / Intelligent standby list cleaner (+Timer Resolution) - https://www.wagnardsoft.com/content/intelligent-standby-list-cleaner-v1000-released
256+
257-
rem RAM Free / Mem Reduct - https://www.henrypp.org/product/memreduct
257+
258-
rem RAM Disk / AMD Radeon RAMDisk (4GB) - http://www.radeonramdisk.com/software_downloads.php
258+
rem ========================= Windows Desktop =========================
259-
rem RAM Disk / ImDisk Toolkit (Unlimited/Unsigned) - https://sourceforge.net/projects/imdisk-toolkit
259+
260-
rem RAM Info / RAMExpert - http://www.kcsoftwares.com/?ramexpert
260+
261-
rem RAM Test / Memtest (run one process per each 2GB) - https://hcidesign.com/memtest
261+
262-
rem Remote Support / TeamViewer - https://www.teamviewer.com/en/download/windows
262+
reg add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_DWORD /d 1 /f
263-
rem Remove Locked File/Folder / ThisIsMyFile - http://www.softwareok.com/?seite=Freeware/ThisIsMyFile
263+
264-
rem Screen Recorder / FlashBack Express - https://www.flashbackrecorder.com/express
264+
265-
rem Search / UltraSearch - https://www.jam-software.com/ultrasearch
265+
reg add "HKCU\Control Panel\Desktop" /v "ScreenSaverIsSecure" /t REG_DWORD /d 0 /f
266-
rem Settings / ControlUWP - https://github.com/builtbybel/control-uwp/releases
266+
267-
rem Startup Manager / Autoruns - https://technet.microsoft.com/en-us/sysinternals/bb963902.aspx
267+
268-
rem Streaming / Streamlabs OBS - https://streamlabs.com
268+
reg add "HKCU\Control Panel\Desktop" /v "ScreenSaveTimeOut" /t REG_DWORD /d 250 /f
269-
rem System Imaging / EaseUS Todo Backup - https://www.easeus.com/backup-software/tb-free.html
269+
270-
rem System Restore / RollBack Rx Home Edition - https://horizondatasys.com/rollback-rx-time-machine/rollback-rx-home
270+
271-
rem Task Manager / Process Hacker - https://wj32.org/processhacker/nightly.php
271+
reg add "HKCU\Control Panel\Desktop" /v "SCRNSAVE.EXE" /t REG_SZ /d "C:\Windows\System32\Mystify.scr" /f
272-
rem Undervolting / ThrottleStop - https://www.techpowerup.com/download/techpowerup-throttlestop
272+
273-
rem Uninstaller / HiBit Uninstaller - http://hibitsoft.ir - https://www.techsupportalert.com/best-free-program-un-installer.htm
273+
rem Wallpaper Location
274-
rem Visual C++ / AIO Repack - https://github.com/abbodi1406/vcredist/releases
274+
reg add "HKCU\Control Panel\Desktop" /v "Wallpaper" /t REG_SZ /d "D:\Software\Temp\Pics\Wallpaper.jpg" /f
275-
rem Visual C++ / Latest Visual C++ Downloads - https://support.microsoft.com/en-au/help/2977003/the-latest-supported-visual-c-downloads
275+
276-
rem VM Android / BlueStacks - https://www.bluestacks.com
276+
rem 0 - Center the bitmap on the desktop / 2 - Stretch the bitmap vertically and horizontally to fit the desktop
277-
rem Wallpaper - Live / Wallpaper Engine - https://store.steampowered.com/app/431960
277+
reg add "HKCU\Control Panel\Desktop" /v "WallpaperStyle" /t REG_DWORD /d 2 /f
278-
rem Windows Explorer Tabs / Clover - http://en.ejie.me
278+
279-
rem Windows Tweaks / Ultimate Windows Tweaker - https://www.thewindowsclub.com/ultimate-windows-tweaker-4-windows-10
279+
280-
rem Windows Tweaks / Winaero Tweaker - https://winaero.com/comment.php?comment.news.1836
280+
rem 0 - Always show all icons and notifications on the taskbar / 1 - Hide Inactive Icons
281-
rem Windows Updates / Windows Update Manager - https://github.com/DavidXanatos/wumgr/releases
281+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "EnableAutoTray" /t REG_DWORD /d 0 /f
282-
rem Windows Updates Email Alerts / Microsoft Technical Security Notifications - https://www.microsoft.com/en-us/msrc/technical-security-notifications
282+
283
284
rem Hide Control Panel
285-
rem ============= Remove various files, folders, startup entries and policies ==============
285+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}" /t REG_DWORD /d 1 /f
286
287
rem Hide Network
288-
rem Take ownership of Desktop
288+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" /t REG_DWORD /d 1 /f
289-
takeown /s %computername% /u %username% /f "%SystemDrive%\Users\Public\Desktop" /r /d y
289+
290-
icacls "%SystemDrive%\Users\Public\Desktop" /inheritance:r
290+
291-
icacls "%SystemDrive%\Users\Public\Desktop" /inheritance:e /grant:r %username%:(OI)(CI)F /t /l /q /c
291+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{645FF040-5081-101B-9F08-00AA002F954E}" /t REG_DWORD /d 1 /f
292-
takeown /s %computername% /u %username% /f "%USERPROFILE%\Desktop" /r /d y
292+
293-
icacls "%USERPROFILE%\Desktop" /inheritance:r
293+
294-
icacls "%USERPROFILE%\Desktop" /inheritance:e /grant:r %username%:(OI)(CI)F /t /l /q /c
294+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /t REG_DWORD /d 1 /f
295-
takeown /s %computername% /u %username% /f "Z:\Desktop" /r /d y
295+
296-
icacls "Z:\Desktop" /inheritance:r
296+
297-
icacls "Z:\Desktop" /inheritance:e /grant:r %username%:(OI)(CI)F /t /l /q /c
297+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{59031a47-3f72-44a7-89c5-5595fe6b30ee}" /t REG_DWORD /d 1 /f
298
299-
rem Remove user account
299+
300-
net user defaultuser0 /delete
300+
rem 0 - Disable Cortana
301-
net user defaultuser100000 /delete
301+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "AllowCortana" /t REG_DWORD /d 0 /f
302
303-
rem Remove random files/folders - https://github.com/MoscaDotTo/Winapp2/blob/master/Winapp3/Winapp3.ini
303+
rem 0 - Disable Bing Search
304-
del "%AppData%\Microsoft\Windows\Recent\*" /s /f /q
304+
305-
del "%SystemDrive%\AMFTrace.log" /s /f /q
305+
306-
del "%WINDIR%\System32\sru\*" /s /f /q
306+
307-
rd "%SystemDrive%\AMD" /s /q
307+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "CortanaEnabled" /t REG_DWORD /d 0 /f
308-
rd "%SystemDrive%\OneDriveTemp" /s /q
308+
309-
rd "%SystemDrive%\PerfLogs" /s /q
309+
310-
rd "%SystemDrive%\Recovery" /s /q
310+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f
311-
rd "%ProgramData%\Microsoft\Diagnosis" /s /q
311+
312-
rd "%ProgramData%\Microsoft\DiagnosticLogCSP" /s /q
312+
313-
rd "%ProgramData%\Microsoft\Network" /s /q
313+
REM 0 - Disable Cortana, Bing Search and Searchbar
314-
rd "%ProgramData%\Microsoft\Search" /s /q
314+
reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d 0 /f
315-
rd "%ProgramData%\Microsoft\SmsRouter" /s /q
315+
316-
rd "%AppData%\AMD" /s /q
316+
rem 1 - Disable web search in search bar
317-
rd "%AppData%\ArtifexMundi\SparkPromo" /s /q
317+
reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v "DisableWebSearch" /t REG_DWORD /d 1 /f
318-
rd "%LocalAppData%\Microsoft\Internet Explorer" /s /q
318+
319-
rd "%LocalAppData%\Microsoft\Windows\AppCache" /s /q
319+
rem 0 - Disable search web when searching pc
320-
rd "%LocalAppData%\Microsoft\Windows\History" /s /q
320+
reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchUseWeb" /t REG_DWORD /d 0 /f
321-
rd "%LocalAppData%\Microsoft\Windows\IECompatCache" /s /q
321+
reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchUseWebOverMeteredConnections" /t REG_DWORD /d 0 /f
322-
rd "%LocalAppData%\Microsoft\Windows\IECompatUaCache" /s /q
322+
323-
rd "%LocalAppData%\Microsoft\Windows\INetCache" /s /q
323+
324-
rd "%LocalAppData%\Microsoft\Windows\INetCookies" /s /q
324+
rem ========================= Windows Drivers =========================
325-
rd "%LocalAppData%\Microsoft\Windows\WebCache" /s /q
325+
326-
rd "%LocalAppData%\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy\AppData\Indexed DB" /s /q
326+
327-
rd "%LocalAppData%\slobs-client-updater" /s /q
327+
328-
rd "%LocalAppData%\Steam\htmlcache" /s /q
328+
329-
rd "%LocalAppData%\Temp" /s /q
329+
330-
rd "C:\Users\Mikai\3D Objects" /s /q
330+
331-
rd "C:\Users\Mikai\Favorites" /s /q
331+
rem 1 - Prevent device metadata retrieval from the Internet/ Do not automatically download manufacturers’ apps and custom icons available for your devices
332-
rd "C:\Users\Mikai\Links" /s /q
332+
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Device Metadata" /v "PreventDeviceMetadataFromNetwork" /t REG_DWORD /d 1 /f 
333-
rd "C:\Users\Mikai\Music" /s /q
333+
334-
rd "C:\Users\Mikai\Searches" /s /q
334+
335
rem Do you want Windows to download driver Software / 0 - Never / 1 - Allways / 2 - Install driver Software, if it is not found on my computer
336-
rem Remove/Rebuild Font Cache
336+
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\DriverSearching" /v "SearchOrderConfig" /t REG_DWORD /d 0 /f
337-
del "%WinDir%\ServiceProfiles\LocalService\AppData\Local\FontCache\*FontCache*"/s /f /q
337+
338-
del "%WinDir%\System32\FNTCACHE.DAT" /s /f /q
338+
339
rem ========================= Windows Error Reporting =========================
340-
rem Remove Windows Powershell (to restore run "sfc /scannow")
340+
341-
rem https://threatpost.com/fileless-malware-critical-ioc-threats-2020/159422
341+
342-
rem http://www.malwaretech.com/2017/02/lets-unpack-dridex-loader.html
342+
343-
rem https://blog.netspi.com/15-ways-to-bypass-the-powershell-execution-policy
343+
reg add "HKCU\Software\Microsoft\Windows\Windows Error Reporting" /v "Disabled" /t REG_DWORD /d 1 /f
344-
rem https://www.mrg-effitas.com/current-state-of-malicious-powershell-script-blocking
344+
reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting" /v "Disabled" /t REG_DWORD /d 1 /f
345-
rem https://enigma0x3.net/2016/08/15/fileless-uac-bypass-using-eventvwr-exe-and-registry-hijacking
345+
346-
taskkill /im PowerShell.exe /f
346+
347-
taskkill /im PowerShell_ISE.exe /f
347+
reg add "HKCU\Software\Microsoft\Windows\Windows Error Reporting" /v "DontSendAdditionalData" /t REG_DWORD /d 1 /f
348-
takeown /s %computername% /u %username% /f "%ProgramFiles%\WindowsPowerShell" /r /d y
348+
reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting" /v "DontSendAdditionalData" /t REG_DWORD /d 1 /f
349-
icacls "%ProgramFiles%\WindowsPowerShell" /inheritance:r /grant:r %username%:(OI)(CI)F /t /l /q /c
349+
350-
rd "%ProgramFiles%\WindowsPowerShell" /s /q
350+
351-
takeown /s %computername% /u %username% /f "%ProgramFiles(x86)%\WindowsPowerShell" /r /d y
351+
reg add "HKCU\Software\Microsoft\Windows\Windows Error Reporting" /v "DontShowUI" /t REG_DWORD /d 1 /f
352-
icacls "%ProgramFiles(x86)%\WindowsPowerShell" /grant:r %username%:(OI)(CI)F /t /l /q /c
352+
reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting" /v "DontShowUI" /t REG_DWORD /d 1 /f
353-
rd "%ProgramFiles(x86)%\WindowsPowerShell" /s /q
353+
354-
takeown /s %computername% /u %username% /f "%WinDir%\System32\WindowsPowerShell" /r /d y
354+
355-
icacls "%WinDir%\System32\WindowsPowerShell" /grant:r %username%:(OI)(CI)F /t /l /q /c
355+
reg add "HKCU\Software\Microsoft\Windows\Windows Error Reporting" /v "LoggingDisabled" /t REG_DWORD /d 1 /f
356-
rd "%WinDir%\System32\WindowsPowerShell" /s /q
356+
reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting" /v "LoggingDisabled" /t REG_DWORD /d 1 /f
357-
takeown /s %computername% /u %username% /f "%WinDir%\SysWOW64\WindowsPowerShell" /r /d y
357+
358-
icacls "%WinDir%\SysWOW64\WindowsPowerShell" /grant:r %username%:(OI)(CI)F /t /l /q /c
358+
359-
rd "%WinDir%\SysWOW64\WindowsPowerShell" /s /q
359+
rem ========================= Windows Explorer =========================
360
361-
rem Remove Startup Folders
361+
362-
takeown /s %computername% /u %username% /f "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup"
362+
rem All of the components of Windows Explorer run a single process / 1 - All instances of Windows Explorer run in one process and the Desktop and Taskbar run in a separate process
363-
icacls "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup" /grant:r %username%:(OI)(CI)F /t /l /q /c
363+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "DesktopProcess" /t REG_DWORD /d 1 /f
364-
del "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup\*" /s /f /q
364+
365-
del "%AppData%\Microsoft\Windows\Start Menu\Programs\Startup\*" /s /f /q
365+
366
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "IconUnderline" /t REG_DWORD /d 2 /f
367-
rem Remove random reg keys (Startup/Privacy/Policies/Malware related)
367+
368-
reg delete "HKCU\Software\Classes\ms-settings\shell\open" /f
368+
rem Single-click to open an item
369
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "ShellState" /t REG_BINARY /d "2400000017a8000000000000000000000000000001000000130000000000000073000000" /f
370-
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /f
370+
371-
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU" /f
371+
rem Do not show Frequent folders in Quick Access
372-
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved" /f
372+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "ShowFrequent" /t REG_DWORD /d 0 /f
373-
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\TypedPaths" /f
373+
374-
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\WordWheelQuery" /f
374+
rem Do not show Recent folders in Quick Access
375-
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\PackagedAppXDebug" /f
375+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "ShowRecent" /t REG_DWORD /d 0 /f
376-
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies" /f
376+
377
378
rem 0 - Do not hide extensions for known file types
379-
reg delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows" /v "Load" /f
379+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
380-
reg delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Shell" /f
380+
381-
reg delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell" /f
381+
rem 1 - Show Hidden Folders and Files
382-
reg delete "HKCU\Software\Policies" /f
382+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d 1 /f
383
384-
reg delete "HKLM\Software\Microsoft\Policies" /f
384+
rem 0 - Open File Explorer to Quick access / 1 - Open File Explorer to This PC
385-
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\AppModelUnlock" /f
385+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "LaunchTo" /t REG_DWORD /d 1 /f
386
387-
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\SharedTaskScheduler" /f
387+
rem 0 - Do not use Sharing Wizard
388-
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellExecuteHooks" /f
388+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "SharingWizardOn" /t REG_DWORD /d 0 /f
389-
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved" /f
389+
390-
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies" /f
390+
391
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "SeparateProcess" /t REG_DWORD /d 1 /f
392
393-
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx" /f
393+
rem 1 - Show protected operating System files 
394-
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\ShellServiceObjectDelayLoad" /f
394+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d 1 /f
395-
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate" /f
395+
396-
reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Font Drivers" /f
396+
397
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f
398
399
400
rem Remove Desktop folder from This PC
401
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}" /f
402
reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}" /f
403
404
rem Remove Documents folder from This PC
405
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}" /f
406-
reg delete "HKLM\Software\Policies" /f
406+
reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}" /f
407-
reg delete "HKLM\Software\WOW6432Node\Microsoft\Policies" /f
407+
408
rem Remove Downloads folder from This PC
409
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}" /f
410
reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}" /f
411-
reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnceEx" /f
411+
412-
reg delete "HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Policies" /f
412+
413-
reg delete "HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate" /f
413+
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}" /f
414
reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}" /f
415
416
rem Remove Pictures folder from This PC
417
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}" /f
418
reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}" /f
419
420
rem Remove Videos folder from This PC
421
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}" /f
422-
reg delete "HKLM\Software\WOW6432Node\Policies" /f
422+
reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}" /f
423
424
 
425-
reg delete "HKLM\System\CurrentControlSet\Control\SecurePipeServers\winreg" /f
425+
rem ========================= Windows Logging =========================
426
427
428
rem DiagLog required by Diagnostic Policy Service
429
rem EventLog-Application required by Windows
430
rem EventLog-System required by Windows
431
rem WdiContextLog required by Diagnostic Service Host, Diagnostic System Host and ShellExperienceHost (Start, Time, Volume and such)
432-
rem =========================== Restore essential startup entries ==========================
432+
433
434
reg add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\AITEventLog" /v "Start" /t REG_DWORD /d 0 /f
435-
rem Run bcdedit command to check for the current status / Yes = True / No = False
435+
reg add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\AppModel" /v "Start" /t REG_DWORD /d 0 /f
436-
rem https://msdn.microsoft.com/en-us/library/windows/hardware/ff542202(v=vs.85).aspx
436+
reg add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\AppPlat" /v "Start" /t REG_DWORD /d 0 /f
437-
bcdedit /deletevalue {current} safeboot
437+
reg add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\Audio" /v "Start" /t REG_DWORD /d 0 /f
438-
bcdedit /deletevalue {current} safebootalternateshell
438+
reg add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\AutoLogger-Diagtrack-Listener" /v "Start" /t REG_DWORD /d 0 /f
439-
bcdedit /deletevalue {current} removememory
439+
reg add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\Circular Kernel Context Logger" /v "Start" /t REG_DWORD /d 0 /f
440-
bcdedit /deletevalue {current} truncatememory
440+
reg add "HKLM\System\CurrentControlSet\Control\WMI\AutoLogger\DefenderApiLogger" /v "Start" /t REG_DWORD /d 0 /f
441-
bcdedit /deletevalue {current} useplatformclock
441+
reg add "HKLM\System\CurrentControlSet\Control\WMI\AutoLogger\DefenderAuditLogger" /v "Start" /t REG_DWORD /d 0 /f
442-
bcdedit /deletevalue {default} safeboot
442+
reg add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\LwtNetLog" /v "Start" /t REG_DWORD /d 0 /f
443-
bcdedit /deletevalue {default} safebootalternateshell
443+
reg add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\NtfsLog" /v "Start" /t REG_DWORD /d 0 /f
444-
bcdedit /deletevalue {default} removememory
444+
reg add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\ReadyBoot" /v "Start" /t REG_DWORD /d 0 /f
445-
bcdedit /deletevalue {default} truncatememory
445+
reg add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\SQMLogger" /v "Start" /t REG_DWORD /d 0 /f
446-
bcdedit /deletevalue {default} useplatformclock
446+
reg add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\WiFiSession" /v "Start" /t REG_DWORD /d 0 /f
447-
bcdedit /set {bootmgr} displaybootmenu no
447+
448-
bcdedit /set {current} advancedoptions false
448+
449-
bcdedit /set {current} bootems no
449+
rem ========================= Windows Notifications =========================
450-
bcdedit /set {current} bootmenupolicy legacy
450+
451-
bcdedit /set {current} bootstatuspolicy IgnoreAllFailures
451+
rem 1 - Show me tips about Windows
452-
bcdedit /set {current} disabledynamictick yes
452+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\SoftLanding" /v "Enabled" /t REG_DWORD /d 0 /f
453-
bcdedit /set {current} recoveryenabled no
453+
454-
bcdedit /set {default} advancedoptions false
454+
rem 1 - Do not show app Notifications / Disable the message: Turn on Windows Security Center service
455-
bcdedit /set {default} bootems no
455+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "NOC_GLOBAL_SETTING_TOASTS_ENABLED" /t REG_DWORD /d 0 /f
456-
bcdedit /set {default} bootmenupolicy legacy
456+
457-
bcdedit /set {default} bootstatuspolicy IgnoreAllFailures
457+
rem 1 - Do not show alarms, reminders and incoming VOIP calls on the lock
458-
bcdedit /set {default} disabledynamictick yes
458+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "NOC_GLOBAL_SETTING_ALLOW_CRITICAL_TOASTS_ABOVE_LOCK" /t REG_DWORD /d 0 /f
459-
bcdedit /set {default} recoveryenabled no
459+
460
rem 1 - Do not show notifications on the lock screen
461-
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "Discord" /t REG_SZ /d "%LocalAppData%\Discord\app-0.0.308\Discord.exe --start-minimized" /f
461+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "NOC_GLOBAL_SETTING_ALLOW_TOASTS_ABOVE_LOCK" /t REG_DWORD /d 0 /f
462-
rem reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "OneDrive" /t REG_SZ /d "\"%ProgramFiles% (x86)\Microsoft OneDrive\OneDrive.exe" /background" /f
462+
463-
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "POP Peeper" /t REG_SZ /d "\"%ProgramFiles% (x86)\POP Peeper\poppeeper.exe\" -min" /f
463+
rem 1 - Hide notifications while presenting
464-
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v "EvtMgr6" /t REG_SZ /d "%ProgramFiles%\Logitech\SetPointP\SetPoint.exe" /f
464+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "NOC_GLOBAL_SETTING_SUPRESS_TOASTS_WHILE_DUPLICATING" /t REG_DWORD /d 0 /f
465
466
rem 0/1 - Do not show app Notifications 
467
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\PushNotifications" /v "ToastEnabled" /t REG_DWORD /d 0 /f
468
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\PushNotifications" /v "NoToastApplicationNotification" /t REG_DWORD /d 1 /f
469
470
rem 1 - Disable Action Center
471
reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "DisableNotificationCenter" /t REG_DWORD /d 1 /f
472-
rem =================================== Software Setup =====================================
472+
473
474
rem 1808 - Disable the warning The Publisher could not be verified
475-
rem 7-zip
475+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Associations" /v "DefaultFileTypeRisk" /t REG_DWORD /d 1808 /f
476-
reg add "HKCU\Software\7-Zip\Compression" /v "Archiver" /t "REG_SZ" /d "7z" /f
476+
477-
reg add "HKCU\Software\7-Zip\Compression" /v "Level" /t "REG_DWORD" /d "9" /f
477+
478-
reg add "HKCU\Software\7-Zip\Compression\Options\7z" /v "Level" /t "REG_DWORD" /d "9" /f
478+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v "SaveZoneInformation" /t REG_DWORD /d 1 /f
479-
reg add "HKCU\Software\7-Zip\Options" /v "CascadedMenu" /t "REG_DWORD" /d "1" /f
479+
480-
reg add "HKCU\Software\7-Zip\Options" /v "ContextMenu" /t "REG_DWORD" /d "263" /f
480+
481
rem 1 - Display confirmation dialog when deleting files
482-
rem Audials Radio
482+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "ConfirmFileDelete" /t REG_DWORD /d 1 /f
483-
taskkill /im AudialsNotifier.exe /f
483+
484-
del "%ProgramFiles(x86)%\Audials\Audials 2020\AudialsNotifier.exe" /s /f /q
484+
485
rem ========================= Windows Optimizations =========================
486-
rem Remove EaseUS Todo Backup from Context Menu
486+
487-
reg delete "HKLM\Software\Classes\*\shellex\ContextMenuHandlers\SimpleShlExt" /f
487+
488-
reg delete "HKLM\Software\Classes\Drive\shellex\ContextMenuHandlers\SimpleShlExt" /f
488+
489-
reg delete "HKLM\Software\Classes\Directory\shellex\ContextMenuHandlers\SimpleShlExt" /f
489+
reg add "HKCU\Control Panel\Desktop" /v "AutoEndTasks" /t REG_DWORD /d 1 /f
490
491-
rem Logitech Setpoint
491+
rem When the time is set too low, apps like Settings will crash, system icons like Volume and Power will disappear
492-
taskkill /im LogiAppBroker.exe /f
492+
493-
taskkill /im LogitechUpdate.exe /f
493+
reg add "HKCU\Control Panel\Desktop" /v "HungAppTimeout" /t REG_SZ /d "5000" /f
494-
taskkill /im LULnchr.exe /f
494+
495-
taskkill /im KHALMNPR.exe /f
495+
496-
taskkill /im Setpoint.exe /f
496+
reg add "HKCU\Control Panel\Desktop" /v "WaitToKillAppTimeout" /t REG_SZ /d "10000" /f
497-
del "%ProgramFiles%\Logitech\SetPointP\LogiAppBroker.exe" /s /f /q
497+
498-
del "%ProgramFiles%\Logitech\SetPointP\msvcp110.dll" /s /f /q
498+
499-
del "%ProgramFiles%\Logitech\SetPointP\msvcr110.dll" /s /f /q
499+
reg add "HKLM\System\CurrentControlSet\Control" /v "WaitToKillServiceTimeout" /t REG_SZ /d "10000" /f
500-
rd "%ProgramFiles%\Common Files\LogiShrd\sp6\LU1" /s /q
500+
501-
rd "%ProgramFiles%\Common Files\LogiShrd\Unifying\LU" /s /q
501+
502
rem Determines in milliseconds the interval from the time the cursor is pointed at a menu until the menu items are displayed
503-
rem Microsoft Edge
503+
reg add "HKCU\Control Panel\Desktop" /v "MenuShowDelay" /t REG_DWORD /d 0 /f
504-
rem https://docs.microsoft.com/en-us/DeployEdge/microsoft-edge-policies
504+
505-
rem taskkill /im msedge.exe /f
505+
506-
rem rd "%ProgramFiles(x86)%\Microsoft" /s /q
506+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize" /v "StartupDelayInMSec" /t REG_DWORD /d 0 /f
507-
rem rd "%LocalAppData%\Microsoft\Edge" /s /q
507+
508-
taskkill /im MicrosoftEdgeUpdate.exe /f
508+
509-
rd "%ProgramFiles(x86)%\Microsoft\EdgeUpdate" /s /q
509+
rem n - Disable Background disk defragmentation / y - EnableHow long in milliseconds you want to have for a startup delay time for desktop apps that run at startup to load
510
reg add "HKLM\Software\Microsoft\Dfrg\BootOptimizeFunction" /v "Enable" /t REG_SZ /d "n" /f
511-
rem Notepad
511+
512-
reg add "HKCU\Software\Microsoft\Notepad" /v "iWindowPosDX" /t REG_DWORD /d "1934" /f
512+
513-
reg add "HKCU\Software\Microsoft\Notepad" /v "iWindowPosDY" /t REG_DWORD /d "651" /f
513+
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\OptimalLayout" /v "EnableAutoLayout" /t REG_DWORD /d 0 /f
514-
reg add "HKCU\Software\Microsoft\Notepad" /v "iWindowPosX" /t REG_DWORD /d "4294967289" /f
514+
515-
reg add "HKCU\Software\Microsoft\Notepad" /v "iWindowPosY" /t REG_DWORD /d "436" /f
515+
rem 1 - Disable Automatic Maintenance
516
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Schedule\Maintenance" /v "MaintenanceDisabled" /t REG_DWORD /d "1" /f
517-
rem Regedit
517+
518-
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit" /v "View" /t REG_BINARY /d "2c0000000000000001000000fffffffffffffffffffffffffffffffff8ffffff0000000086070000ee0100002f01000027010000780000002502000003000000" /f
518+
519
rem 1 - NTFS does not create short file names
520-
rem TruckersMP
520+
reg add "HKLM\System\CurrentControlSet\Control\FileSystem" /v "NtfsDisable8dot3NameCreation" /t REG_DWORD /d 1 /f
521-
rem takeown /s %computername% /u %username% /f "%ProgramData%\TruckersMP" /r /d y
521+
522-
takeown /f "%ProgramData%\TruckersMP" /a
522+
523-
reg add "HKLM\Software\TruckersMP" /v "InstallDir" /t REG_SZ /d "D:\TruckersMP Launcher" /f
523+
reg add "HKLM\System\CurrentControlSet\Control\FileSystem" /v "NtfsDisableEncryption" /t REG_DWORD /d 1 /f
524-
reg add "HKLM\Software\TruckersMP" /v "InstallLocationETS2" /t REG_SZ /d "D:\Steam\steamapps\common\Euro Truck Simulator 2" /f
524+
525
rem 1 - When listing directories, NTFS does not update the last-access timestamp, and it does not record time stamp updates in the NTFS log
526-
rem XnView
526+
reg add "HKLM\System\CurrentControlSet\Control\FileSystem" /v "NtfsDisableLastAccessUpdate" /t REG_DWORD /d 1 /f
527-
reg add "HKCU\Software\XnView" /v "UseRegistry" /t "REG_DWORD" /d "1" /f
527+
528-
reg add "HKCU\Software\XnView\Browser" /v "ShowToolTips" /t "REG_DWORD" /d "0" /f
528+
529-
reg add "HKCU\Software\XnView\Browser" /v "StartupDirectory" /t "REG_SZ" /d "Z:\Desktop" /f
529+
530-
reg add "HKCU\Software\XnView\Browser" /v "StartupIn" /t "REG_DWORD" /d "2" /f
530+
reg add "HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "DisablePagingExecutive" /t REG_DWORD /d 1 /f
531-
reg add "HKCU\Software\XnView\Capture" /v "Delay" /t "REG_DWORD" /d "2" /f
531+
532-
reg add "HKCU\Software\XnView\Capture" /v "Directory" /t "REG_SZ" /d "Z:\Desktop" /f
532+
533-
reg add "HKCU\Software\XnView\Capture" /v "HotKey" /t "REG_DWORD" /d "9" /f
533+
reg add "HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "EnablePrefetcher" /t REG_DWORD /d 0 /f
534-
reg add "HKCU\Software\XnView\Capture" /v "IncludeCursor" /t "REG_DWORD" /d "0" /f
534+
535-
reg add "HKCU\Software\XnView\Capture" /v "Method" /t "REG_DWORD" /d "0" /f
535+
536-
reg add "HKCU\Software\XnView\Capture" /v "Multiple" /t "REG_DWORD" /d "1" /f
536+
reg add "HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "EnableSuperfetch" /t REG_DWORD /d 0 /f
537-
reg add "HKCU\Software\XnView\Capture" /v "SaveIntoFile" /t "REG_DWORD" /d "1" /f
537+
538-
reg add "HKCU\Software\XnView\Start" /v "MaximizeXnviewAtStartup" /t "REG_DWORD" /d "1" /f
538+
539-
reg add "HKCU\Software\XnView\Start" /v "OnlyOneInstance" /t "REG_DWORD" /d "1" /f
539+
540-
reg add "HKCU\Software\XnView\Start" /v "PathSave" /t "REG_SZ" /d "Z:\Desktop" /f
540+
reg add "HKLM\System\CurrentControlSet\Control\Session Manager\Power" /v "HiberbootEnabled" /t REG_DWORD /d 0 /f
541-
reg add "HKCU\Software\XnView\Start" /v "SavePosition" /t "REG_DWORD" /d "0" /f
541+
542-
reg add "HKCU\Software\XnView\Start" /v "ShowSaveDlg" /t "REG_DWORD" /d "0" /f
542+
543
powercfg -h off
544
545-
rem =========================== Windows Defender Security Centre ===========================
545+
546-
rem -------------------------------- App & browser control ---------------------------------
546+
rem ========================= Windows Policies =========================
547
548
549
rem Disable Active Desktop
550
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "ForceActiveDesktopOn" /t REG_DWORD /d "0" /f
551-
rem 0 - Disable SmartScreen Filter in Microsoft Edge / 1 - Enable
551+
552-
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "SmartScreenEnabled" /t REG_DWORD /d "0" /f
552+
553
554-
rem 0 - Disable Windows SmartScreen for Windows Store Apps / 1 - Enable
554+
555-
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\AppHost" /v "EnableWebContentEvaluation" /t "REG_DWORD" /d "0" /f
555+
556
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "SmartScreenEnabled" /t REG_SZ /d "Off" /f
557-
rem ________________________________________________________________________________________
557+
558-
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /t "REG_DWORD" /d "0" /f
558+
559-
reg add "HKLM\Software\Policies\Microsoft\Windows Defender\SmartScreen" /v "ConfigureAppInstallControl" /t REG_SZ /d "Anywhere" /f
559+
rem 0xFF - Disable AutoRun on all kinds of drives for the current and for all users / 0x95 - Enable on all drivers
560-
reg add "HKLM\Software\Policies\Microsoft\Windows Defender\SmartScreen" /v "ConfigureAppInstallControlEnabled" /t "REG_DWORD" /d "0" /f
560+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutorun" /t REG_DWORD /d "0xFF" /f
561
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDriveTypeAutorun" /t REG_DWORD /d "0xFF" /f
562-
rem Remove Smartscreen (to restore run "sfc /scannow")
562+
563-
rem takeown /s %computername% /u %username% /f "%WinDir%\System32\smartscreen.exe"
563+
564-
rem icacls "%WinDir%\System32\smartscreen.exe" /grant:r %username%:F
564+
565-
rem taskkill /im smartscreen.exe /f
565+
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "ConsentPromptBehaviorAdmin" /t REG_DWORD /d 1 /f
566-
rem del "%WinDir%\System32\smartscreen.exe" /s /f /q
566+
567
rem 0 - Automatically deny elevation requests / 1 - Prompt for credentials on the secure desktop / 3 (Default) - Prompt for credentials
568
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "ConsentPromptBehaviorUser" /t REG_DWORD /d 1 /f
569-
rem =========================== Windows Defender Security Center ===========================
569+
570-
rem ----------------------------- Device performance & health ------------------------------
570+
571
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableInstallerDetection" /t REG_DWORD /d 1 /f
572-
rem ________________________________________________________________________________________
572+
573
rem Run all administrators in Admin Approval Mode / 0 - Disabled (UAC) / 1 - Enabled (UAC)
574
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA" /t REG_DWORD /d 1 /f
575
576-
rem Prevent device metadata retrieval from the Internet / Do not automatically download manufacturers’ apps and custom icons available for your devices
576+
577-
rem reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Device Metadata" /v "PreventDeviceMetadataFromNetwork" /t REG_DWORD /d "0" /f 
577+
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableSecureUIAPaths" /t REG_DWORD /d 1 /f
578-
rem sc config DsmSvc start= disabled
578+
579
rem Allow UIAccess applications to prompt for elevation without using the secure desktop / 0 (Default) = Disabled / 1 - Enabled
580
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableUIADesktopToggle" /t REG_DWORD /d 1 /f
581-
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\DriverSearching" /v "SearchOrderConfig" /t REG_DWORD /d "0" /f
581+
582
rem Admin Approval Mode for the built-in Administrator account / 0 (Default) - Disabled / 1 - Enabled
583-
rem Specify search order for device driver source locations 
583+
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "FilterAdministratorToken" /t REG_DWORD /d 1 /f
584-
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\DriverSearching" /v "DontSearchWindowsUpdate" /t REG_DWORD /d "1" /f
584+
585-
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\DriverSearching" /v "DriverUpdateWizardWuSearchEnabled" /t REG_DWORD /d "0" /f
585+
586
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "PromptOnSecureDesktop" /t REG_DWORD /d 1 /f
587-
rem 1 - Disable driver updates in Windows Update
587+
588-
reg add "HKLM\Software\Microsoft\PolicyManager\current\device\Update" /v "ExcludeWUDriversInQualityUpdate" /t REG_DWORD /d "1" /f
588+
589-
reg add "HKLM\Software\Microsoft\PolicyManager\default\device\Update" /v "ExcludeWUDriversInQualityUpdate" /t REG_DWORD /d "1" /f
589+
rem 0 - Disable Windows Script Host for the current user
590-
reg add "HKLM\Software\Microsoft\WindowsUpdate\UX\Settings" /v "ExcludeWUDriversInQualityUpdate" /t REG_DWORD /d "1" /f
590+
reg add "HKCU\Software\Microsoft\Windows Script Host\Settings" /v "Enabled" /t REG_DWORD /d 0 /f
591-
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "ExcludeWUDriversInQualityUpdate" /t REG_DWORD /d "1" /f
591+
592
rem 0 - Disable Windows Script Host for all users
593-
rem Avoid the driver signing enforcement for EV cert / SHA256 Microsoft Windows signed drivers which is further enforced via Secure Boot
593+
reg add "HKLM\Software\Microsoft\Windows Script Host\Settings" /v "Enabled" /t REG_DWORD /d 0 /f
594-
rem reg add "HKLM\System\ControlSet001\Control\CI\Policy" /v "UpgradedSystem" /t REG_DWORD /d "1" /f
594+
595
596
rem 1 - Do not display the lock screen
597-
rem =========================== Windows Defender Security Center ===========================
597+
reg add "HKLM\Software\Policies\Microsoft\Windows\Personalization" /v "NoLockScreen" /t REG_DWORD /d 1 /f
598-
rem ---------------------------- Firewall & network protection -----------------------------
598+
599
600-
rem Enable Windows Firewall / AllProfiles / CurrentProfile / DomainProfile / PrivateProfile / PublicProfile
600+
601-
rem https://technet.microsoft.com/en-us/library/cc771920(v=ws.10).aspx
601+
reg add "HKLM\System\CurrentControlSet\Control\Terminal Server" /v "TSUserEnabled" /t REG_DWORD /d 0 /f
602-
netsh advfirewall set allprofiles state on
602+
603
604-
rem Block all inbound network traffic and all outbound except allowed apps
604+
rem ========================= Windows Privacy =========================
605-
netsh advfirewall set DomainProfile firewallpolicy blockinboundalways,blockoutbound
605+
606-
netsh advfirewall set PrivateProfile firewallpolicy blockinboundalways,blockoutbound
606+
607-
netsh advfirewall set PublicProfile firewallpolicy blockinboundalways,blockoutbound
607+
rem Additional disabled privacy features are disabled in sections: Windows Logging / Windows Scheduled Tasks / Windows Services
608
rem https://technet.microsoft.com/en-us/library/mt577208(v=vs.85).aspx
609-
rem Remove All Windows Firewall Rules
609+
610-
netsh advfirewall firewall delete rule name=all
610+
611-
rem reg delete "HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Defaults\FirewallPolicy\FirewallRules" /f
611+
reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots" /v "value" /t REG_DWORD /d 0 /f
612-
rem reg delete "HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules" /f
612+
reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting" /v "value" /t REG_DWORD /d 0 /f
613-
rem reg delete "HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\RestrictedInterfaces" /f
613+
614-
rem reg delete "HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\RestrictedServices" /f
614+
rem Diagnostic and usage data / 0 - Never / 1 - Basic / 2 - Enhanced / 3 - Full
615
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
616-
rem Windows Firewall Rules
616+
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Application-Experience/Program-Telemetry" /v "Enabled" /t REG_DWORD /d 0 /f
617-
netsh advfirewall firewall add rule name="Audials DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="%ProgramFiles(x86)%\Audials\Audials 2020\Audials.exe"
617+
reg add "HKLM\Software\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
618-
netsh advfirewall firewall add rule name="Audials TCP" dir=out action=allow protocol=TCP remoteport=80,443,1025-65535 program="%ProgramFiles(x86)%\Audials\Audials 2020\Audials.exe"
618+
619-
netsh advfirewall firewall add rule name="Audials UDP" dir=out action=allow protocol=UDP remoteport=5355 remoteip=224.0.0.252 program="%ProgramFiles(x86)%\Audials\Audials 2020\Audials.exe"
619+
rem 0 - Disable Customer Experience Improvement (CEIP/SQM - Software Quality Management)
620-
netsh advfirewall firewall add rule name="COD MW2 DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="D:\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4sp.exe"
620+
reg add "HKLM\Software\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f
621-
netsh advfirewall firewall add rule name="COD MW2 TCP" dir=out action=allow protocol=TCP remoteport=27015 program="D:\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4sp.exe"
621+
622-
netsh advfirewall firewall add rule name="COD MW2 UDP" dir=out action=allow protocol=UDP remoteport=1025-65535 program="D:\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4sp.exe"
622+
623-
netsh advfirewall firewall add rule name="COD MW3 DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="D:\Steam\steamapps\common\Call of Duty Modern Warfare 3\iw5sp.exe"
623+
reg add "HKLM\Software\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f
624-
netsh advfirewall firewall add rule name="COD MW3 TCP" dir=out action=allow protocol=TCP remoteport=3074 program="D:\Steam\steamapps\common\Call of Duty Modern Warfare 3\iw5sp.exe"
624+
625-
netsh advfirewall firewall add rule name="COD MW3 UDP" dir=out action=allow protocol=UDP remoteport=1025-65535 program="D:\Steam\steamapps\common\Call of Duty Modern Warfare 3\iw5sp.exe"
625+
rem 1 - Disable AD customization
626-
netsh advfirewall firewall add rule name="Discord DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="%LOCALAPPDATA%\Discord\app-0.0.308\Discord.exe"
626+
reg add "HKLM\Software\Policies\Microsoft\Windows\AdvertisingInfo" /v "DisabledByGroupPolicy" /t REG_DWORD /d 1 /f
627-
netsh advfirewall firewall add rule name="Discord TCP" dir=out action=allow protocol=TCP remoteport=443 program="%LOCALAPPDATA%\Discord\app-0.0.308\Discord.exe"
627+
......
628-
netsh advfirewall firewall add rule name="Discord UDP" dir=out action=allow protocol=UDP remoteport=1025-65535 program="%LOCALAPPDATA%\Discord\app-0.0.308\Discord.exe"
628+
629-
netsh advfirewall firewall add rule name="Discord Update DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="%LOCALAPPDATA%\Discord\Update.exe"
629+
reg add "HKLM\Software\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f
630-
netsh advfirewall firewall add rule name="Discord Update TCP" dir=out action=allow protocol=TCP remoteport=443 program="%LOCALAPPDATA%\Discord\Update.exe"
630+
631-
netsh advfirewall firewall add rule name="DriverEasy DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="%ProgramFiles%\Easeware\DriverEasy\DriverEasy.exe"
631+
rem 0 - Disable sending files to encrypted drives
632-
netsh advfirewall firewall add rule name="DriverEasy TCP" dir=out action=allow protocol=TCP remoteport=80,443 program="%ProgramFiles%\Easeware\DriverEasy\DriverEasy.exe"
632+
reg add "HKLM\Software\Policies\Microsoft\Windows\EnhancedStorageDevices" /v "TCGSecurityActivationDisabled" /t REG_DWORD /d 0 /f
633-
netsh advfirewall firewall add rule name="ETS2 DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="D:\Steam\steamapps\common\Euro Truck Simulator 2\bin\win_x64\eurotrucks2.exe"
633+
634-
netsh advfirewall firewall add rule name="ETS2 TCP" dir=out action=allow protocol=TCP remoteport=80,443,4455 program="D:\Steam\steamapps\common\Euro Truck Simulator 2\bin\win_x64\eurotrucks2.exe"
634+
rem 1 - Disable sync files to one drive
635-
netsh advfirewall firewall add rule name="ETS2 UDP" dir=out action=allow protocol=UDP remoteport=1025-65535 program="D:\Steam\steamapps\common\Euro Truck Simulator 2\bin\win_x64\eurotrucks2.exe"
635+
reg add "HKLM\Software\Policies\Microsoft\Windows\OneDrive" /v "DisableFileSyncNGSC" /t REG_DWORD /d 1 /f
636-
netsh advfirewall firewall add rule name="ETS2 MP DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="D:\Euro Truck Simulator 2\TruckersMP Launcher\Launcher.exe"
636+
637-
netsh advfirewall firewall add rule name="ETS2 MP TCP" dir=out action=allow protocol=TCP remoteip=104.16.0.0-104.31.255.255 remoteport=80 program="D:\Euro Truck Simulator 2\TruckersMP Launcher\Launcher.exe"
637+
rem 2 - Disable sending settings to cloud
638-
netsh advfirewall firewall add rule name="ETS2 MP UDP" dir=out action=allow protocol=UDP remoteip=0.0.0.0 remoteport=1025-65535 program="D:\Euro Truck Simulator 2\TruckersMP Launcher\Launcher.exe"
638+
reg add "HKLM\Software\Policies\Microsoft\Windows\SettingSync" /v "DisableSettingSync" /t REG_DWORD /d 2 /f
639-
netsh advfirewall firewall add rule name="Forticlient Update TCP" dir=out action=allow protocol=TCP remoteip=96.45.32.0-96.45.47.255,162.158.0.0-162.159.255.255,173.243.128.0-173.243.143.255 remoteport=80 program="%ProgramFiles%\Fortinet\FortiClient\update_task.exe"
639+
640-
netsh advfirewall firewall add rule name="Forticlient Update UDP" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="%ProgramFiles%\Fortinet\FortiClient\update_task.exe"
640+
rem 1 - Disable synchronizing files to cloud
641-
rem netsh advfirewall firewall add rule name="FortiESNAC TCP Router" dir=out action=allow protocol=TCP remoteip=127.0.0.1 remoteport=8013 program="%ProgramFiles%\Fortinet\FortiClient\FortiESNAC.exe"
641+
reg add "HKLM\Software\Policies\Microsoft\Windows\SettingSync" /v "DisableSettingSyncUserOverride" /t REG_DWORD /d 1 /f
642-
rem netsh advfirewall firewall add rule name="FortiProxy UDP Loop" dir=out action=allow protocol=UDP remoteip=127.0.0.1 remoteport=1025-65535 program="%ProgramFiles%\Fortinet\FortiClient\FortiProxy.exe"
642+
643-
netsh advfirewall firewall add rule name="FortiWF DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="%ProgramFiles%\Fortinet\FortiClient\FortiWF.exe"
643+
rem 0 - Disable Steps Recorder
644-
netsh advfirewall firewall add rule name="FortiWF UDP" dir=out action=allow protocol=UDP remoteip=96.45.32.0-96.45.47.255,173.243.128.0-173.243.143.255 remoteport=8888 program="%ProgramFiles%\Fortinet\FortiClient\FortiWF.exe"
644+
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Application-Experience/Steps-Recorder" /v "Enabled" /t REG_DWORD /d 0 /f
645-
rem netsh advfirewall firewall add rule name="FortiWF UDP Loop" dir=out action=allow protocol=UDP remoteip=127.0.0.1 remoteport=1025-65535 program="%ProgramFiles%\Fortinet\FortiClient\FortiWF.exe"
645+
646-
rem netsh advfirewall firewall add rule name="Hitman DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="D:\Steam\steamapps\common\HITMAN2\Retail\HITMAN2.exe"
646+
647-
rem netsh advfirewall firewall add rule name="Hitman TCP" dir=out action=allow protocol=TCP remoteport=443 program="D:\Steam\steamapps\common\HITMAN2\Retail\HITMAN2.exe"
647+
rem ========================= Windows Scheduled Tasks =========================
648-
netsh advfirewall firewall add rule name="IceDrive DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="Z:\TEMP\IcedrivePortable\Icedrive.exe"
648+
649-
netsh advfirewall firewall add rule name="IceDrive TCP" dir=out action=allow protocol=TCP remoteport=443 program="Z:\TEMP\IcedrivePortable\Icedrive.exe"
649+
650-
netsh advfirewall firewall add rule name="IP Info DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="D:\Software\Temp\Soft\Windows Repair Toolbox\Downloads\NirLauncher\NirSoft\ipnetinfo.exe"
650+
651-
netsh advfirewall firewall add rule name="IP Info TCP" dir=out action=allow protocol=TCP remoteport=43 program="D:\Software\Temp\Soft\Windows Repair Toolbox\Downloads\NirLauncher\NirSoft\ipnetinfo.exe"
651+
schtasks /DELETE /TN "Microsoft\Windows\SettingSync\BackgroundUploadTask" /F
652-
netsh advfirewall firewall add rule name="Microsoft Store DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="%ProgramFiles%\WindowsApps\Microsoft.WindowsStore_12009.1001.1.0_x64__8wekyb3d8bbwe\WinStore.App.exe"
652+
653-
netsh advfirewall firewall add rule name="Microsoft Store TCP" dir=out action=allow protocol=TCP remoteport=80,443 program="%ProgramFiles%\WindowsApps\Microsoft.WindowsStore_12009.1001.1.0_x64__8wekyb3d8bbwe\WinStore.App.exe"
653+
654-
netsh advfirewall firewall add rule name="OBS DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="%ProgramFiles%\Streamlabs OBS\resources\app.asar.unpacked\node_modules\obs-studio-node\obs64.exe"
654+
655-
netsh advfirewall firewall add rule name="OBS TCP" dir=out action=allow protocol=TCP remoteport=443,1935 program="%ProgramFiles%\Streamlabs OBS\resources\app.asar.unpacked\node_modules\obs-studio-node\obs64.exe"
655+
656-
netsh advfirewall firewall add rule name="OBS Browser DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="%ProgramFiles%\Streamlabs OBS\Streamlabs OBS.exe"
656+
657-
netsh advfirewall firewall add rule name="OBS Browser TCP" dir=out action=allow protocol=TCP remoteport=443 program="%ProgramFiles%\Streamlabs OBS\Streamlabs OBS.exe"
657+
schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable
658-
netsh advfirewall firewall add rule name="OBS Browser UDP" dir=out action=allow protocol=UDP remoteport=5355 program="%ProgramFiles%\Streamlabs OBS\Streamlabs OBS.exe"
658+
659-
netsh advfirewall firewall add rule name="OneDrive DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="%ProgramFiles(x86)%\Microsoft OneDrive\OneDrive.exe"
659+
660-
netsh advfirewall firewall add rule name="OneDrive TCP" dir=out action=allow protocol=TCP remoteport=443 program="%ProgramFiles(x86)%\Microsoft OneDrive\OneDrive.exe"
660+
661-
netsh advfirewall firewall add rule name="PatchMyPC DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="D:\Software\Temp\Soft\Windows Repair Toolbox\Downloads\PatchMyPc\PatchMyPC.exe"
661+
662-
netsh advfirewall firewall add rule name="PatchMyPC TCP" dir=out action=allow protocol=TCP remoteport=80,443 program="D:\Software\Temp\Soft\Windows Repair Toolbox\Downloads\PatchMyPc\PatchMyPC.exe"
662+
schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable
663-
netsh advfirewall firewall add rule name="POP Peeper DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="%ProgramFiles(x86)%\POP Peeper\POPPeeper.exe"
663+
664-
netsh advfirewall firewall add rule name="POP Peeper IMAP Azet.sk" dir=out action=allow protocol=TCP remoteip=91.235.52.0-91.235.55.255 remoteport=465,993 program="%ProgramFiles(x86)%\POP Peeper\POPPeeper.exe"
664+
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable
665-
netsh advfirewall firewall add rule name="POP Peeper IMAP Mail.ru" dir=out action=allow protocol=TCP remoteip=94.100.176.0-94.100.183.255,217.69.136.0-217.69.141.255 remoteport=465,993 program="%ProgramFiles(x86)%\POP Peeper\POPPeeper.exe"
665+
666-
netsh advfirewall firewall add rule name="Process Hacker DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="%ProgramFiles%\Process Hacker\ProcessHacker.exe"
666+
667-
netsh advfirewall firewall add rule name="Process Hacker VT TCP" dir=out action=allow protocol=TCP remoteip=74.125.34.46 remoteport=443 program="%ProgramFiles%\Process Hacker\ProcessHacker.exe"
667+
schtasks /Change /TN "Microsoft\Windows\Device Setup\Metadata Refresh" /Disable
668-
rem netsh advfirewall firewall add rule name="Square Enix DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="D:\Steam\steamapps\common\Life is Strange - Before the Storm\Life is Strange - Before the Storm.exe"
668+
669-
rem netsh advfirewall firewall add rule name="Square Enix TCP" dir=out action=allow protocol=TCP remoteport=80,443,4455 program="D:\Steam\steamapps\common\Life is Strange - Before the Storm\Life is Strange - Before the Storm.exe"
669+
670-
netsh advfirewall firewall add rule name="Svchost DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="%WINDIR%\System32\svchost.exe"
670+
671-
netsh advfirewall firewall add rule name="Svchost TCP" dir=out action=allow protocol=TCP remoteport=80,443 program="%WINDIR%\System32\svchost.exe"
671+
672-
netsh advfirewall firewall add rule name="Steam DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="D:\Steam\Steam.exe"
672+
673-
netsh advfirewall firewall add rule name="Steam TCP" dir=out action=allow protocol=TCP remoteport=80,443,27015-27030,27050 program="D:\Steam\Steam.exe"
673+
674-
netsh advfirewall firewall add rule name="Steam UDP" dir=out action=allow protocol=UDP remoteport=1025-65535 program="D:\Steam\Steam.exe"
674+
schtasks /Change /TN "Microsoft\Windows\File Classification Infrastructure\Property Definition Sync" /Disable
675-
netsh advfirewall firewall add rule name="Steam Web DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="D:\Steam\bin\cef\cef.win7x64\steamwebhelper.exe"
675+
676-
netsh advfirewall firewall add rule name="Steam Web TCP" dir=out action=allow protocol=TCP remoteport=80,443 program="D:\Steam\bin\cef\cef.win7x64\steamwebhelper.exe"
676+
677-
netsh advfirewall firewall add rule name="TOR Firefox TCP" dir=out action=allow protocol=TCP remoteip=127.0.0.1 remoteport=1025-65535 program="Z:\Desktop\Tor Browser\Browser\firefox.exe"
677+
678-
netsh advfirewall firewall add rule name="TOR TCP" dir=out action=allow protocol=TCP remoteport=443,1025-65535 program="Z:\Desktop\Tor Browser\Browser\TorBrowser\Tor\tor.exe"
678+
679-
netsh advfirewall firewall add rule name="UAC DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="%WINDIR%\System32\consent.exe"
679+
680-
netsh advfirewall firewall add rule name="UAC TCP" dir=out action=allow protocol=TCP remoteport=80,443 program="%WINDIR%\System32\consent.exe"
680+
681-
netsh advfirewall firewall add rule name="Update Time DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="D:\Software\Temp\Soft\Windows Repair Toolbox\Downloads\Custom Tools\Added Custom Tools\UpdateTime.exe"
681+
schtasks /Change /TN "Microsoft\Windows\NetCfg\BindingWorkItemQueueHandler" /Disable
682-
netsh advfirewall firewall add rule name="Update Time UDP" dir=out action=allow protocol=UDP remoteport=123 program="D:\Software\Temp\Soft\Windows Repair Toolbox\Downloads\Custom Tools\Added Custom Tools\UpdateTime.exe"
682+
683-
netsh advfirewall firewall add rule name="Weather DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="%ProgramFiles%\WindowsApps\Microsoft.BingWeather_4.46.22742.0_x64__8wekyb3d8bbwe\Microsoft.Msn.Weather.exe"
683+
schtasks /Change /TN "Microsoft\Windows\Offline Files\Background Synchronization" /Disable
684-
netsh advfirewall firewall add rule name="Weather TCP" dir=out action=allow protocol=TCP remoteport=443 program="%ProgramFiles%\WindowsApps\Microsoft.BingWeather_4.46.22742.0_x64__8wekyb3d8bbwe\Microsoft.Msn.Weather.exe"
684+
schtasks /Change /TN "Microsoft\Windows\Offline Files\Logon Synchronization" /Disable
685-
netsh advfirewall firewall add rule name="WRT DNS" dir=out action=allow protocol=UDP remoteip=9.9.9.9,149.112.112.112 remoteport=53 program="D:\Software\Temp\Soft\Windows Repair Toolbox\Windows_Repair_Toolbox.exe"
685+
686-
netsh advfirewall firewall add rule name="WRT TCP" dir=out action=allow protocol=TCP remoteport=80,443 program="D:\Software\Temp\Soft\Windows Repair Toolbox\Windows_Repair_Toolbox.exe"
686+
687-
netsh advfirewall firewall add rule name="Yandex DNS TCP" dir=out action=allow protocol=TCP remoteip=185.228.168.10,185.228.169.11 remoteport=8443 program="Z:\Yandex\YandexBrowser\Application\browser.exe"
687+
688-
netsh advfirewall firewall add rule name="Yandex DNS UDP" dir=out action=allow protocol=UDP remoteip=77.88.8.78,185.228.168.10,185.228.169.11 remoteport=8443,15353 program="Z:\Yandex\YandexBrowser\Application\browser.exe"
688+
689-
netsh advfirewall firewall add rule name="Yandex HTTP" dir=out action=allow protocol=TCP remoteport=80 remoteip=195.28.64.101,213.46.200.16 program="Z:\Yandex\YandexBrowser\Application\browser.exe"
689+
690-
netsh advfirewall firewall add rule name="Yandex HTTPS" dir=out action=allow protocol=TCP remoteport=443 program="Z:\Yandex\YandexBrowser\Application\browser.exe"
690+
schtasks /Change /TN "Microsoft\Windows\RemovalTools\MRT_HB" /Disable
691-
netsh advfirewall firewall add rule name="Yandex Sync" dir=out action=allow protocol=TCP remoteip=213.180.193.0-213.180.193.255 remoteport=443,5222 program="Z:\Yandex\YandexBrowser\Application\browser.exe"
691+
692
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyMonitor" /Disable
693
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyRefresh" /Disable
694-
rem =================================== Windows Logging ====================================
694+
schtasks /Change /TN "Microsoft\Windows\Shell\IndexerAutomaticMaintenance" /Disable
695
schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceAgentTask" /Disable
696
schtasks /Change /TN "Microsoft\Windows\SystemRestore\SR" /Enable
697-
rem https://docs.microsoft.com/en-us/windows/win32/etw/configuring-and-starting-an-autologger-session
697+
698-
rem DiagLog is required by Diagnostic Policy Service (Troubleshooting)
698+
699-
rem EventLog-System/EventLog-Application are required by Windows Events Log Service
699+
700-
rem perfmon
700+
701
schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-Maintenance" /Disable
702-
reg add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\AutoLogger-Diagtrack-Listener" /v "Start" /t REG_DWORD /d "0" /f
702+
703-
reg add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\DiagLog" /v "Start" /t REG_DWORD /d "0" /f
703+
704-
reg add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\Diagtrack-Listener" /v "Start" /t REG_DWORD /d "0" /f
704+
schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Cache Maintenance" /Disable
705-
reg add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\WiFiSession" /v "Start" /t REG_DWORD /d "0" /f
705+
schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Cleanup" /Disable
706
schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Scheduled Scan" /Disable
707
schtasks /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Verification" /Disable
708-
rem ================================ Windows Error Reporting ===============================
708+
709
schtasks /Change /TN "Microsoft\Windows\Windows Filtering Platform\BfeOnServiceStartTypeChange" /Disable
710
schtasks /Change /TN "Microsoft\Windows\Windows Media Sharing\UpdateLibrary" /Disable
711-
rem https://docs.microsoft.com/en-us/windows/desktop/wer/wer-settings
711+
712
schtasks /Change /TN "Microsoft\Windows\Workplace Join\Automatic-Device-Join" /Disable
713-
rem Disable Microsoft Support Diagnostic Tool MSDT
713+
714-
reg add "HKLM\Software\Policies\Microsoft\Windows\ScriptedDiagnosticsProvider\Policy" /v "DisableQueryRemoteServer" /t REG_DWORD /d "0" /f
714+
715-
reg add "HKLM\Software\Policies\Microsoft\Windows\ScriptedDiagnosticsProvider\Policy" /v "EnableQueryRemoteServer" /t REG_DWORD /d "0" /f
715+
rem ========================= Windows Services =========================
716
717-
rem Disable System Debugger (Dr. Watson)
717+
718-
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\AeDebug" /v "Auto" /t REG_SZ /d "0" /f
718+
rem Application Information required by UAC
719
rem Credential Manager required to store credentials (check User Accounts - Credential Manager)
720
rem COM+ Event System required by Windows
721-
reg add "HKLM\Software\Microsoft\PCHealth\ErrorReporting" /v "DoReport" /t REG_DWORD /d "0" /f
721+
rem Distributed Link Tracking Client required to open shortcuts and System apps
722-
reg add "HKCU\Software\Microsoft\Windows\Windows Error Reporting" /v "Disabled" /t REG_DWORD /d "1" /f
722+
rem IP Helper (WinHTTP Web Proxy Auto-Discovery Service) required to login to Microsoft Account (Account, Cortana, Store)
723-
reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting" /v "Disabled" /t REG_DWORD /d "1" /f
723+
rem Network Location Awareness required by Windows Updates
724-
reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Error Reporting" /v "Disabled" /t REG_DWORD /d "1" /f
724+
rem One Drive required by Windows Mail
725
rem Windows Connection Manager required by WiFi and Data Usage
726-
rem DefaultConsent / 1 - Always ask (default) / 2 - Parameters only / 3 - Parameters and safe data / 4 - All data
726+
rem Windows Driver Foundation - User-mode Driver Framework required by some drivers like USB devices
727-
reg add "HKCU\Software\Microsoft\Windows\Windows Error Reporting\Consent" /v "DefaultConsent" /t REG_DWORD /d "0" /f
727+
rem Windows Firewall (Base Filtering Engine) required by Windows Store Apps (0x80073d0a) and Windows Update (0x80240022)
728-
reg add "HKCU\Software\Microsoft\Windows\Windows Error Reporting\Consent" /v "DefaultOverrideBehavior" /t REG_DWORD /d "1" /f
728+
729-
reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting\Consent" /v "DefaultConsent" /t REG_DWORD /d "0" /f
729+
730-
reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting\Consent" /v "DefaultOverrideBehavior" /t REG_DWORD /d "1" /f
730+
731
sc config "AMD External Events Utility" start= disabled
732
733-
reg add "HKCU\Software\Microsoft\Windows\Windows Error Reporting" /v "DontSendAdditionalData" /t REG_DWORD /d "1" /f
733+
rem AMD FUEL Service
734-
reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting" /v "DontSendAdditionalData" /t REG_DWORD /d "1" /f
734+
sc config "AMD FUEL Service" start= disabled
735
736
rem Application Layer Gateway Service
737-
reg add "HKLM\Software\Microsoft\PCHealth\ErrorReporting" /v "ShowUI" /t REG_DWORD /d "0" /f
737+
sc config ALG start= disabled
738-
reg add "HKCU\Software\Microsoft\Windows\Windows Error Reporting" /v "DontShowUI" /t REG_DWORD /d "1" /f
738+
739-
reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting" /v "DontShowUI" /t REG_DWORD /d "1" /f
739+
rem BitLocker Drive Encryption Service
740
sc config BDESVC start= disabled
741
742-
reg add "HKCU\Software\Microsoft\Windows\Windows Error Reporting" /v "LoggingDisabled" /t REG_DWORD /d "1" /f
742+
rem CNG Key Isolation
743-
reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting" /v "LoggingDisabled" /t REG_DWORD /d "1" /f
743+
sc config KeyIso start= disabled
744
745-
schtasks /Change /TN "Microsoft\Windows\ErrorDetails\EnableErrorDetailsUpdate" /Disable
745+
rem Diagnostics Tracking Service
746
sc config DiagTrack start= disabled
747
748
rem Distributed Transaction Coordinator
749
sc config MSDTC start= disabled
750
751-
rem Remove Windows Errror Reporting exe (to restore run "sfc /scannow")
751+
rem dmwappushsvc
752-
rem takeown /s %computername% /u %username% /f "%WinDir%\System32\WerFault.exe"
752+
sc config dmwappushservice start= disabled
753-
rem icacls "%WinDir%\System32\WerFault.exe" /grant:r %username%:F
753+
754-
rem taskkill /im WerFault.exe /f
754+
rem DNS Client (Required by the internet connection, unless you set up DNS servers manually in IPv4/6's properties)
755-
rem del "%WinDir%\System32\WerFault.exe" /s /f /q
755+
sc config Dnscache start= disabled
756
757-
rem takeown /s %computername% /u %username% /f "%WinDir%\SysWOW64\WerFault.exe"
757+
rem Encrypting File System (EFS)
758-
rem icacls "%WinDir%\SysWOW64\WerFault.exe" /grant:r %username%:F
758+
sc config EFS start= disabled
759-
rem taskkill /im WerFault.exe /f
759+
760-
rem del "%WinDir%\SysWOW64\WerFault.exe" /s /f /q
760+
761
sc config IKEEXT start= disabled
762-
rem takeown /s %computername% /u %username% /f "%WinDir%\System32\WerFaultSecure.exe"
762+
763-
rem icacls "%WinDir%\System32\WerFaultSecure.exe" /grant:r %username%:F
763+
rem IPsec Policy Agent
764-
rem taskkill /im WerFaultSecure.exe /f
764+
sc config PolicyAgent start= disabled
765-
rem del "%WinDir%\System32\WerFaultSecure.exe" /s /f /q
765+
766
rem Offline Files
767-
rem takeown /s %computername% /u %username% /f "%WinDir%\SysWOW64\WerFaultSecure.exe"
767+
sc config CscService start= disabled
768-
rem icacls "%WinDir%\SysWOW64\WerFaultSecure.exe" /grant:r %username%:F
768+
769-
rem taskkill /im WerFaultSecure.exe /f
769+
rem One Drive Service
770-
rem del "%WinDir%\SysWOW64\WerFaultSecure.exe" /s /f /q
770+
sc config OneSyncSvc start= disabled
771
772-
rem takeown /s %computername% /u %username% /f "%WinDir%\System32\wermgr.exe"
772+
rem One Drive Service
773-
rem icacls "%WinDir%\System32\wermgr.exe" /grant:r %username%:F
773+
reg add "HKLM\System\CurrentControlSet\Services\OneSyncSvc_Session1" /v "Start" /t REG_DWORD /d 4 /f
774-
rem taskkill /im wermgr.exe /f
774+
775-
rem del "%WinDir%\System32\wermgr.exe" /s /f /q
775+
rem Print Spooler (Required by the printer)
776
sc config Spooler start= disabled
777-
rem takeown /s %computername% /u %username% /f "%WinDir%\SysWOW64\wermgr.exe"
777+
778-
rem icacls "%WinDir%\SysWOW64\wermgr.exe" /grant:r %username%:F
778+
rem Program Compatibility Assistant Service
779-
rem taskkill /im wermgr.exe /f
779+
sc config PcaSvc start= disabled
780-
rem del "%WinDir%\SysWOW64\wermgr.exe" /s /f /q
780+
781
rem Remote Desktop Services
782
sc config TermService start= disabled
783-
rem =================================== Windows Explorer ===================================
783+
784-
rem --------------------------------------- Options ----------------------------------------
784+
785-
rem ....................................... General ........................................
785+
786
787-
rem 2 - Open File Explorer to Quick access / 1 - Open File Explorer to This PC / 3 - Open File Explorer to Downloads
787+
rem Secure Socket Tunneling Protocol Service
788-
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "LaunchTo" /t REG_DWORD /d "3" /f
788+
sc config SstpSvc start= disabled
789
790-
rem Single-click to open an item (point to select)
790+
rem Security Center
791
sc config wscsvc start= disabled
792
793
rem Server
794-
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "IconUnderline" /t REG_DWORD /d "2" /f
794+
795
796-
rem 1 - Show recently used folders in Quick Access
796+
797-
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "ShowRecent" /t REG_DWORD /d "0" /f
797+
798
799-
rem 1 - Show frequently folders in Quick Access
799+
rem Smart Card
800-
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "ShowFrequent" /t REG_DWORD /d "0" /f
800+
sc config SCardSvr start= disabled
801
802-
rem ________________________________________________________________________________________
802+
803-
rem To restart explorer
803+
804-
rem taskkill /im explorer.exe /f & explorer.exe
804+
805
rem Superfetch
806
sc config SysMain start= disabled
807-
rem =================================== Windows Explorer ===================================
807+
808-
rem --------------------------------------- Options ----------------------------------------
808+
rem TCP/IP NetBIOS Helper (Required by some internet connections like aDSL)
809-
rem ........................................ View .........................................
809+
810
811-
rem Open Explorer - Choose the desired View - View - Options - View - Apply to Folders - OK - Close Explorer ASAP
811+
812-
rem reg delete "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags" /f
812+
813-
rem reg delete "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU" /f
813+
814-
rem reg delete "HKCU\Software\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\Bags" /f
814+
rem Windows Connect Now - Config Registrar (Required by WPS WiFi connection)
815-
rem reg delete "HKCU\Software\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\BagMRU" /f
815+
sc config wcncsvc start= disabled
816-
rem reg delete "HKCU\Software\Microsoft\Windows\Shell\Bags" /f
816+
817-
rem reg delete "HKCU\Software\Microsoft\Windows\Shell\BagMRU" /f
817+
rem Windows Connection Manager (Required by WiFi Connection)
818-
rem reg delete "HKCU\Software\Microsoft\Windows\ShellNoRoam\Bags" /f
818+
sc config Wcmsvc start= disabled
819-
rem reg delete "HKCU\Software\Microsoft\Windows\ShellNoRoam\BagMRU" /f
819+
820-
reg add "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell" /v "FolderType" /t REG_SZ /d "NotSpecified" /f
820+
821-
rem taskkill /im explorer.exe /f & explorer.exe
821+
822
823
rem Windows Font Cache Service
824-
rem ________________________________________________________________________________________
824+
sc config FontCache start= disabled
825-
rem Remove Network from Navigation Panel
825+
826-
rem Take Ownership of the Registry key - https://www.youtube.com/watch?v=M1l5ifYKefg
826+
rem Windows Font Cache Service
827-
reg add "HKCR\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\ShellFolder" /v "Attributes" /t REG_DWORD /d "2962489444" /f
827+
sc config FontCache start= disabled
828
829-
rem 1 - Hide Quick access from This PC / 0 - Show
829+
830-
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "HubMode" /t REG_DWORD /d "1" /f
830+
831
832-
rem Show/Hide - 3D Objects from This PC
832+
833-
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag" /v "ThisPCPolicy" /t REG_SZ /d "Hide" /f
833+
sc config WinHttpAutoProxySvc start= disabled
834-
reg add "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag" /v "ThisPCPolicy" /t REG_SZ /d "Hide" /f
834+
835
rem Windows Search
836-
rem Show/Hide - Desktop from This PC
836+
837-
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag" /v "ThisPCPolicy" /t REG_SZ /d "Show" /f
837+
838-
reg add "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag" /v "ThisPCPolicy" /t REG_SZ /d "Show" /f
838+
rem Wise Boot Assistant
839
sc config WiseBootAssistant start= disabled
840-
rem Show/Hide - Documents from This PC
840+
841-
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag" /v "ThisPCPolicy" /t REG_SZ /d "Hide" /f
841+
rem WMPNetworkSVC helps windows media player to share its library with network
842-
reg add "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag" /v "ThisPCPolicy" /t REG_SZ /d "Hide" /f
842+
sc config WMPNetworkSvc start= disabled
843
844-
rem Show/Hide - Downloads from This PC
844+
845-
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag" /v "ThisPCPolicy" /t REG_SZ /d "Show" /f
845+
846-
reg add "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag" /v "ThisPCPolicy" /t REG_SZ /d "Show" /f
846+
847
848-
rem Show/Hide - Movies/Videos from This PC
848+
rem ========================= Windows Shell =========================
849-
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag" /v "ThisPCPolicy" /t REG_SZ /d "Hide" /f
849+
850-
reg add "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag" /v "ThisPCPolicy" /t REG_SZ /d "Hide" /f
850+
851
rem Add “Take Ownership” Option in Files and Folders Context Menu in Windows
852-
rem Show/Hide - Music from This PC
852+
853-
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag" /v "ThisPCPolicy" /t REG_SZ /d "Hide" /f
853+
854-
reg add "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag" /v "ThisPCPolicy" /t REG_SZ /d "Hide" /f
854+
855
reg add "HKCR\*\shell\runas\command" /ve /t REG_SZ /d "cmd.exe /c takeown /f \"%%1\" && icacls \"%%1\" /grant administrators:F" /f
856-
rem Show/Hide - Pictures from This PC
856+
857-
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag" /v "ThisPCPolicy" /t REG_SZ /d "Show" /f
857+
858-
reg add "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag" /v "ThisPCPolicy" /t REG_SZ /d "Show" /f
858+
859
reg add "HKCR\Directory\shell\runas" /v "NoWorkingDirectory" /t REG_SZ /d "" /f
860
reg add "HKCR\Directory\shell\runas\command" /ve /t REG_SZ /d "cmd.exe /c takeown /f \"%%1\" /r /d y && icacls \"%%1\" /grant administrators:F /t" /f
861-
rem reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}" /f
861+
862-
rem reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}" /f
862+
863
864
rem ========================= Windows Updates =========================
865-
rem reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}" /f
865+
866-
rem reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}" /f
866+
867
rem Choose how updates are delivered / 0 - Get Updates from MS / 1 - get updates from MS and from/to PCs on my local network / 2 - get updates from MS and from/to PCs on my local network and PCs on the internet
868
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /v "DODownloadMode" /t REG_DWORD /d 0 /f
869-
rem reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}" /f
869+
870-
rem reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}" /f
870+
rem 1 - Disable Malicious Software Removal Tool offered via Windows Updates (MRT)
871
reg add "HKLM\Software\Policies\Microsoft\MRT" /v DontOfferThroughWUAU /t REG_DWORD /d 1 /f
872-
rem Remove Movies folder from This PC
872+
873-
rem reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}" /f
873+
rem 2 - Disable Update Store apps automatically
874-
rem reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}" /f
874+
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate" /v "AutoDownload" /t REG_DWORD /d "2" /f
875
876
rem 2 - Notify before download / 3 - Automatically download and notify of installation / 4 - Automatic download and scheduled installation (Only valid if values exist for ScheduledInstallDay and ScheduledInstallTime) / 5 - Automatic Updates is required, but end users can configure it
877-
rem reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}" /f
877+
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "AUOptions" /t REG_DWORD /d 2 /f
878-
rem reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}" /f
878+
879
rem 0 - Enable Auto Checking for Windows Updates / 1 - Disable Auto Checking for Windows Updates (Ignores "AUOptions" and after checking downloads WU automatically)
880
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 0 /f
881-
rem reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}" /f
881+
882-
rem reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}" /f
882+
rem 0 - Every day / 1 - Sunday / 2 - Monday / 3 - Tuesday / 4 - Wednesday / 5 - Thursday / 6 - Friday / 7 - Saturday
883
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallDay" /t REG_DWORD /d 0 /f
884
885-
rem =================================== Windows Explorer ===================================
885+
rem 10 - 10th hour / 23 - 23th hour
886-
rem --------------------------------------- Options ----------------------------------------
886+
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "ScheduledInstallTime" /t REG_DWORD /d 10 /f
887-
rem .................................. Advanced Settings ...................................
887+
888
rem 0 - Default / 1 - Defer upgrades, new Windows features won’t be downloaded or installed for several months. Deferring upgrades doesn’t affect security updates.
889-
rem 1 - Show hidden files, folders and drives
889+
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\UX\Settings" /v "DeferUpgrade" /t REG_DWORD /d 0 /f
890-
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d "1" /f
890+
891
892-
rem 0 - Show extensions for known file types
892+
rem ========================= Windows Waypoint =========================
893-
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d "0" /f
893+
894
895-
rem 0 - Hide protected operating system files 
895+
896-
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d "1" /f
896+
897
rem Close Edge process
898
taskkill /f /im dllhost.exe
899-
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "SeparateProcess" /t REG_DWORD /d "1" /f
899+
900
start "" "C:\Program Files\CCleaner\CCleaner64.exe" /AUTO /SHUTDOWN
901-
rem 1 - Show Sync Provider Notifications in Windows Explorer (ADs)
901+
902-
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSyncProviderNotifications" /t REG_DWORD /d "0" /f
902+
903
pause