Skip to content

Instantly share code, notes, and snippets.

@lextra2
Last active July 20, 2024 15:53
Show Gist options
  • Save lextra2/801d487cb8721231dfc1760db2ebdce5 to your computer and use it in GitHub Desktop.
Save lextra2/801d487cb8721231dfc1760db2ebdce5 to your computer and use it in GitHub Desktop.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Allfilesystemobjects\shell\windows.copyaspath]
@="Copy &as path"
"Icon"="imageres.dll,-5302"
"InvokeCommandOnSelection"=dword:00000001
"VerbHandler"="{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}"
"VerbName"="copyaspath"
DEL /Q "%localappdata%\AMD\DX9Cache", "%localappdata%\AMD\DxCache", "%localappdata%\AMD\DxcCache", "%localappdata%\AMD\OglCache", "%localappdata%\AMD\VkCache"
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"FolderType"="NotSpecified"
$Path = "C:\Users\Admin\Desktop\New folder"
Get-Childitem $Path -filter *.appx| %{Add-AppxPackage -Path $_.FullName}
Get-Childitem $Path -filter *.appxbundle | %{Add-AppxPackage -Path $_.FullName}
Get-Childitem $Path -filter *.Msixbundle | %{Add-AppxPackage -Path $_.FullName}
https://woshub.com/how-to-download-appx-installation-file-for-any-windows-store-app/#h2_1
!Settings!
Desktop:
- Pointer options - Enhance pointer precision = Disabled
Explorer:
- Search Suggestions = Disabled <-- DEPRECATED
- Open File Explorer to = This PC
- View - Show extensions for known file types = Enabled
- View - Show hidden files, folders and drives = Enabled
Privacy:
Occasionally show suggestions in Start = Disabled
Show me suggested content in the Settings app = Disabled
Suggest ways I can finish setting up my device online = Disabled
Windows Spotlight = Disabled
Privacy:
- Search - Include Bing web results = Disabled
- Automatic installation of sponsored apps (Consumer Experience) (Candy Crush, etc.) = Disabled
- Automatically install suggested apps (Candy Crush, etc.) = Disabled
- Pre-installed apps = Disabled
- Show frequently used folders in Quick access = Disabled
- Show recently used files in Quick access = Disabled
Power Control:
- Fast Startup = Disabled
- Shutdown Menu Hibernate/Lock/Sleep = Disabled
Remove > Components > Windows Apps > Uncheck "Apps"
Configure > Features > Media Features > Uncheck
Configure > Features > Internet Explorer 11 > Uncheck
automatic driver update mode = never
automaticically update device drivers and icons over the internet = disabled
windows update service download = check for updates but let me choose wether to download and install them
--Remove all Start Menu Apps
Get-AppxPackage -allusers | Remove-AppxPackage
--Restore all Start Menu Apps
Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
--Restore Windows Store
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
--Restore Windows Calculator
Get-AppxPackage -allusers Microsoft.WindowsCalculator | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
--Remove Search annoyances
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Search /v BingSearchEnabled /t REG_DWORD /d 0 /f
reg add HKCU\Software\Policies\Microsoft\Windows\Explorer /v DisableSearchBoxSuggestions /t REG_DWORD /d 1 /f
--Restore Windows 10 Context Menu
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
--Restore Windows 11 Context Menu
reg delete “HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}” /f
--Restore Notepad
Get-AppxPackage -allusers Microsoft.WindowsNotepad | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
--Restore Paint
Get-AppxPackage -allusers Microsoft.Paint | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
--Restore Snipping Tool
Get-AppxPackage -allusers Microsoft.ScreenSketch | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
--remove a singular app, with wildcards (*)
get-appxpackage *skypeapp* | remove-appxpackage
-reset windows store
wsreset -i
@ECHO OFF
CD "C:\Program Files (x86)\Steam\steamapps\common\Path of Exile\"
START PathOfExileSteam.exe
timeout /t 6 /nobreak
WMIC process where name="PathOfExileSteam.exe" CALL setpriority "realtime"
EXIT
gametitle=Ratchet - Deadlocked (NTSC-U) (SCUS-97465)
[Progressive Scan]
author=PeterDelta
comment=Starts the game in Progressive Scan Mode
gsinterlacemode=1
patch=1,EE,0021DE6C,extended,00000001
gametitle=Mercenaries - Playground of Destruction (NTSC-U) (SLUS-20932)
[60 FPS]
author=asasega
comment=Requires EE Cycle Rate overclock
patch=1,EE,203AD720,word,2C420001
@lextra2
Copy link
Author

lextra2 commented Jun 8, 2024

bcdedit /set disabledynamictick yes
bcdedit /set useplatformtick yes
bcdedit /deletevalue useplatformclock

@lextra2
Copy link
Author

lextra2 commented Jun 26, 2024

TCP Optimizer

https://www.majorgeeks.com/files/details/speedguide_net_tcp_optimizer.html

General Settings > Checksum Offloading = Enabled
Advanced Settings > Gaming Tweak > NetworkThrottlingIndex = Disabled
Advanced Settings > Gaming Tweak > TcpAckFrequency = Disabled: 1
Advanced Settings > Gaming Tweak > TCPNoDelay = Enabled: 1

@lextra2
Copy link
Author

lextra2 commented Jul 17, 2024

Extract NTLite\sources\install.wim\
Copy GroupPolicy folder from currently running Windows\System32 install to NTLite\sources\install.wim\Windows\System32\

DISM /Mount-image /imagefile:C:\project\install.wim /Index:1 /MountDir:C:\project\mountHere

DISM /Unmount-Image /MountDir:C:\project\mountHere /Commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment