This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cd /d "%~dp0" | |
ECHO. | |
ECHO ::: ExplorerPatcher Updater ::: by PureOcean (2022-10-14+20) | |
ECHO. | |
ECHO Detecting ExplorerPatcher's latest version... | |
FOR /F "usebackq tokens=*" %%A in (`powershell -c "$ProgressPreference = 'SilentlyContinue'; (Invoke-WebRequest 'https://api.github.com/repos/valinet/ExplorerPatcher/releases' | ConvertFrom-Json)[0].assets | Select-Object -Property browser_download_url | Format-Table -HideTableHeaders"`) DO set ExplorerPatcherURL=%%A | |
FOR /F "tokens=7 delims=/_" %%A in ("%ExplorerPatcherURL%") Do set ExplorerPatcherVersion=%%A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cd /d "%~dp0" | |
:: Unfortunately, MKVToolnix doesn't support remux the output file as the same date as the original input file. | |
:: This script sets the output file date according to original date of the input file. How does it work? | |
:: It works by selecting one or many files and dragging and dropping them onto this script. | |
:: Coded by PureOcean (2022-04-23+24) | |
:: Thanks to the commands: https://github.com/gus33000/ESD-Decrypter/blob/master/bin/Rebuild-ISO.ps1#L190= | |
set "MKVToolNixPath=D:\Program\MKVToolNix" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: Enable the "Standart Font Smoothing" instead of ClearType | |
Reg.exe add "HKCU\Control Panel\Desktop" /v "FontSmoothing" /t REG_SZ /d "2" /f | |
Reg.exe add "HKCU\Control Panel\Desktop" /v "FontSmoothingType" /t REG_DWORD /d "1" /f | |
Reg.exe add "HKEY_USERS\.DEFAULT\Control Panel\Desktop" /v "FontSmoothing" /t REG_SZ /d "2" /f | |
Reg.exe add "HKEY_USERS\.DEFAULT\Control Panel\Desktop" /v "FontSmoothingType" /t REG_DWORD /d "1" /f | |
:: The anti-aliased Segoe UI system font is substituted with Arial, which makes text appear sharp in classic based GDI. | |
Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes" /v "Segoe UI" /t REG_SZ /d "Arial" /f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo. | |
for /F "delims=" %%c in ('dir /s /b "%ProgramFiles(x86)%\Microsoft\Edge\setup.exe"') do "%%c" --uninstall --system-level --force-uninstall | |
rd /s /q "%ProgramFiles(x86)%\Microsoft\Edge" | |
rd /s /q "%localappdata%\Microsoft\Windows\Safety\edge" | |
rd /s /q "%localappdata%\Microsoft\Edge" | |
:: rd /s /q "%localappdata%\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe" | |
:: rd /s /q "%Windir%\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: The BAT script completely removes the EdgeUpdate from disk and Registry, which it's always being forcefully installed by | |
:: MS Edge Browser and prevents it from reinstalling. | |
:: Microsoft Edge (based Chromium) Browser installs the "Edge Improved Recovery" component in background. | |
:: The "Edge Improved Recovery" downloads msedgerecovery.exe to %TEMP% folder. After execute it: | |
:: %ProgramFiles(x86)%\Microsoft\Temp\***\MicrosoftEdgeUpdate.exe" /install "runtime=true&needsadmin=false" /installsource chromerecovery /silent). | |
:: Unfortunately impossible to turn off only "Edge Improved Recovery" for now. | |
@echo off | |
echo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
%windir%\system32\whoami.exe /USER | find /i "nt authority\system" >nul 2>nul | |
If ERRORLEVEL 1 (echo Need run this script as TrustedInstaller && pause && GOTO :EOF) | |
:TrustedInstaller | |
:: "Property" -> Enhanchments tab | |
for /f "skip=3" %%a in ('powershell -command "Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render\*\' | where {$_.'DeviceState' -eq 1} | Select PSChildName"') do Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render\%%a\FxProperties" /v "{d04e05a6-594b-4fb6-a80d-01af5eed7d1d},3" /t REG_SZ /d "{5860E1C5-F95C-4a7a-8EC8-8AEF24F379A1}" /f | |
:: Toggled "Loudness Equalization" in Enhanchments tab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cd /d "%~dp0" | |
set "NSudo=F:\NSudo\x64\NSudoLC.exe -Wait -UseCurrentConsole -U:T -P:E" | |
set "ToolKitHelper=F:\MSMGToolKit\Bin\ToolKitHelper.exe" | |
set "ImageDir=G:" | |
FOR %%i IN ( | |
549981C3F5F10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; VirtualDub's processing settings (VCF) and VirtualDub2's Project | |
; files store user edits using like: | |
; | |
; VirtualDub.subset.AddRange(Frame, FrameCount) | |
; | |
; This AutoIt script forked of the VCF2AVS coded by Darksoul71 | |
; (https://forum.doom9.org/showthread.php?p=774386#post774386) | |
; | |
; Changed to read cut segments only in .VDProject & .VCF files. | |
; |