Windows 11 Notes

Winget is convenient! no more powershell hacks to uninstall appx. find your apps at https://github.com/microsoft/winget-pkgs or winget search.
Photos can be replaced with legacy Windows Photo Viewer (registry file import required).

rem winget uninstall Microsoft.Windows.Photos_8wekyb3d8bbwe
winget uninstall Microsoft.549981C3F5F10_8wekyb3d8bbwe
winget uninstall Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe
winget uninstall Microsoft.OneDriveSync_8wekyb3d8bbwe
winget uninstall Microsoft.WindowsMaps_8wekyb3d8bbwe
winget uninstall Microsoft.ZuneMusic_8wekyb3d8bbwe
winget uninstall Microsoft.ZuneVideo_8wekyb3d8bbwe
winget uninstall Microsoft.Todos_8wekyb3d8bbwe
winget uninstall Microsoft.Getstarted_8wekyb3d8bbwe
winget uninstall Microsoft.XboxGameOverlay_8wekyb3d8bbwe
winget uninstall Microsoft.Xbox.TCUI_8wekyb3d8bbwe
winget uninstall Microsoft.GamingApp_8wekyb3d8bbwe
winget uninstall Microsoft.XboxGamingOverlay_8wekyb3d8bbwe
winget uninstall Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe
winget uninstall Microsoft.YourPhone_8wekyb3d8bbwe

rem winget uninstall Microsoft.OneDrive

then fetch 7zip:

winget install 7zip.7zip

HEVC Video Extensions (install from store)

start ms-windows-store://pdp/?ProductId=9N4WGH0Z6VHQ

disable hibernation

powercfg /h off

remove onedrive from explorer

reg add "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /v "FolderValueFlags" /d "00000028" /t REG_DWORD /f
reg add "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /v "Attributes" /d "f090004d" /t REG_DWORD /f

restore Windows 10 explorer

reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" /v {e2bf9676-5f8f-435c-97eb-11607a5bedf7} /f 

optional: disable HVCI?

rem reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v "Enabled" /t REG_DWORD /d 0 /f

prepare for WSA

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

https://store.rg-adguard.net/ -> ProductId, 9p3395vx91nr, slow -> MicrosoftCorporationII.WindowsSubsystemForAndroid...
powershell: Add-AppxPackage path/to/msixbundle

adb can be found in https://dl.google.com/android/repository/platform-tools-latest-windows.zip

adb connect 127.0.0.1:58526
adb install blahblah.apk
adb shell pm list packages
adb uninstall --user 0 com.amazon.venezia
adb uninstall --user 0 com.amazon.device.messaging
adb shell am start -n com.android.settings/.Settings


评论 (0)

Sign in to comment