Skip to content

Instantly share code, notes, and snippets.

@eplord
eplord / WinSetView-Custom.ini
Created February 25, 2025 15:31 — forked from stamminator/WinSetView-Custom.ini
Windows 11 clean install guide
[Options]
ThemeIndex=3
Language=en-US
Font1=Consolas
Font2=Consolas
Size1=11
Size2=10
Scroll=1
Interface=2
Reset=0
@eplord
eplord / Windows-Setup-2
Last active February 19, 2025 12:26
Windows Setup Scripts
rem Delete Windows Recovery Partition / Extend Windows Partition
rem start "" /wait "D:\OneDrive\Soft\Windows Repair Toolbox\Downloads\Macrorit\mde-free-portable\x64\dm.exe"
rem pause
"C:\Program Files (x86)\Creative\Sound Blaster Command\Creative.SBCommand.exe"
pause
rem Set 165 Hz
@eplord
eplord / Windows-Netwowrk-Fix.bat
Created January 31, 2025 19:58
Windows Netwowrk Fix
rem USE AT OWN RISK AS IS WITHOUT WARRANTY OF ANY KIND !!!!!
rem https://support.microsoft.com/en-us/windows/fix-wi-fi-connection-issues-in-windows-9424a1f7-6a3b-65a6-4d78-7f07eee84d2c
rem Complete Internet Repair - https://www.rizonesoft.com/downloads/complete-internet-repair
rem Windows Repair Toolbox - https://windows-repair-toolbox.com
rem TCP Optimizer - www.speedguide.net/downloads.php
rem Network Connection Status Indicator (NCSI/ping/test) - http://www.msftconnecttest.com/connecttest.txt - needed by DoT to avoid no internet connection
rem https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/internet-explorer-edge-open-connect-corporate-public-network#ncsi-active-probes-and-the-network-status-alert
reg add "HKLM\Software\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator" /v "DisablePassivePolling" /t REG_DWORD /d "0" /f
@eplord
eplord / Windows-Cleanup.bat
Created January 31, 2025 19:56
Windows Cleanup Script
rem USE AT OWN RISK AS IS WITHOUT WARRANTY OF ANY KIND !!!!!
rem Driver Store Explorer - https://github.com/lostindark/DriverStoreExplorer/releases
rem HiBit Uninstaller - http://hibitsoft.ir
rem Wise Disk Cleaner - http://www.wisecleaner.com/wise-disk-cleaner.html
rem Wise Registry Cleaner - http://www.wisecleaner.com/wise-registry-cleaner.html
rem Windows Drivers - https://www.catalog.update.microsoft.com/Home.aspx
rem Windows Repair Toolbox - https://windows-repair-toolbox.com
rem Disable Reserved Storage (7GB)
@eplord
eplord / Microsoft-Defender-Disable.bat
Last active January 31, 2025 19:56
Microsoft Defender Disable
rem USE AT OWN RISK AS IS WITHOUT WARRANTY OF ANY KIND !!!!!
rem NOTE: It is highly recommended to install Platform Updates sometimes (monthly) because they affect Windows protection as well, like System Guard!
rem https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/microsoft-defender-antivirus-updates?view=o365-worldwide
rem Search a version number to update Defender manually, like: https://www.catalog.update.microsoft.com/Search.aspx?q=4.18.23110.3
rem Enable Defender - update - restart - disable Defender - https://github.com/TairikuOokami/Windows/blob/main/Microsoft%20Defender%20Enable.bat
rem Disable Tamper and Real Protection in Defender - RESTART!
@eplord
eplord / README.md
Created January 31, 2025 18:29
README.md

‎‎​

@eplord
eplord / mysrc
Created January 31, 2025 18:28
My Functions, Scripts, and Modules
‎‎​
@eplord
eplord / RemoveEdge.ps1
Created January 31, 2025 11:31
Microsoft Edge Removal
#Requires -Version 5.0
<#
.SYNOPSIS
Uninstalls or reinstalls Microsoft Edge and its related components. Made by @he3als.
.Description
Uninstalls or reinstalls Microsoft Edge and its related components in a non-forceful manner, based upon switches or user choices in a TUI.
.PARAMETER UninstallEdge
@eplord
eplord / setup-install-config
Last active January 31, 2025 06:34
quick setup linux
#!/bin/bash
## Run in any current user prompt:
$current_user=""
echo "$USER ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee "/etc/sudoers.d
@eplord
eplord / fix-wsl2-dns-resolution
Created January 30, 2025 15:10 — forked from coltenkrauter/fix-wsl2-dns-resolution
Fix DNS resolution in WSL2
More recent resolution:
1. cd ~/../../etc (go to etc folder in WSL).
2. echo "[network]" | sudo tee wsl.conf (Create wsl.conf file and add the first line).
3. echo "generateResolvConf = false" | sudo tee -a wsl.conf (Append wsl.conf the next line).
4. wsl --terminate Debian (Terminate WSL in Windows cmd, in case is Ubuntu not Debian).
5. cd ~/../../etc (go to etc folder in WSL).
6. sudo rm -Rf resolv.conf (Delete the resolv.conf file).
7. In windows cmd, ps or terminal with the vpn connected do: Get-NetIPInterface or ipconfig /all for get the dns primary and
secondary.