Skip to content

Instantly share code, notes, and snippets.

@InjectedPie
InjectedPie / 7-Zip_Windows11.reg
Created September 21, 2022 09:15 — forked from AveYo/7-Zip_Windows11.reg
7-Zip Windows 11 Context Menu entries via whitelisted id reuse example by AveYo
Windows Registry Editor Version 5.00
; 7-Zip Windows 11 Context Menu entries via whitelisted id reuse example by AveYo
; Add to archive.. only single files (multiple would need a single instance redirect tool)
[-HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\connectNetworkDrive]
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\connectNetworkDrive]
"MuiVerb"="@C:\\Program Files\\7-Zip\\7-zip.dll,-2324"
"Position"="Middle"
"Icon"="C:\\Program Files\\7-Zip\\7-zip.dll,0"
@InjectedPie
InjectedPie / Windows 11 Inplace Upgrade on unsupported Hardware.reg
Created September 21, 2022 09:18
Windows 11 Inplace Upgrade on unsupported Hardware.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\Setup\MoSetup]
"AllowUpgradesWithUnsupportedTPMOrCPU"=dword:00000001
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\PCHC]
"UpgradeEligibility"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig]
"BypassTPMCheck"=dword:00000001
@InjectedPie
InjectedPie / AMDppm_off.reg
Created December 28, 2022 06:24
BSOD Fix for AMDPPM.sys
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AmdPPM]
"Start"=dword:00000004
@InjectedPie
InjectedPie / linuxnotebookserver.sh
Created January 1, 2023 22:18
Notebook as linux Server close lid without hibernate (also works with truenas scale)
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
@InjectedPie
InjectedPie / unpackallpkgs.bat
Created January 6, 2023 22:32
gets admin and unpacks all pkgs in a folder with the pkg_custom tool from @aldostools https://github.com/aldostools/Resources
@echo off
CLS
:init
setlocal DisableDelayedExpansion
set cmdInvoke=1
set winSysFolder=System32
set "batchPath=%~dpnx0"
rem this works also from cmd shell, other than %~0
for %%k in (%0) do set batchName=%%~nk
set "vbsGetPrivileges=%temp%\OEgetPriv_%batchName%.vbs"
@InjectedPie
InjectedPie / batchrepack.bat
Created January 6, 2023 22:38
batch repack / trimm every iso in the folder with @XboxDev 's extract-iso tool https://github.com/XboxDev/extract-xiso
forfiles /s /m *.iso /c "cmd /c extract-xiso.exe -r @path"
@InjectedPie
InjectedPie / fix W11 Iconspacing.reg
Created January 15, 2023 15:59
w11 iconspacing fix by @d3rby91
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"IconSpacing"="-1710"
@InjectedPie
InjectedPie / binmerge_batchconvert.bat
Created January 20, 2023 18:20
batchconvert script for binmerge (https://github.com/putnam/binmerge): turns all bin cue disk images to a single bin+cue and puts it in /out/[diskname]
@echo off
for %%f in (*.cue) do (
echo [INFO] ################ Started merging of '%%~nf' ################
binmerge.exe "%%~nxf" --outdir "out/%%~nf" "%%~nf"
)
@InjectedPie
InjectedPie / explorer seperate processes.reg
Created January 23, 2023 14:23
starts every exlorer instance in a seperate process costing some resources in trade of more stability
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"SeparateProcess"=dword:00000001
@InjectedPie
InjectedPie / UseCompactMode.reg
Created February 26, 2023 22:56
W11 UseCompactMode for a W10 like Foldercontent view
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"UseCompactMode"=dword:00000001