Windows10 LTSC 吾爱破解微软应用商店(Windows Store)一键安装包
吾爱破解论坛发现有大神整合了微软应用商店(Windows Store)组件包,并打包成了exe可执行文件,双击鼠标就行了。 原帖地址:https://www.52pojie.cn/thread-868710-1-1.html
下载后,发现这是一个名为“WindowsStore_LTSC2019.exe”自执行压缩包,解包后文件目录如下:
确实够安全,打开bat文件看了看,现在把批处理命令贴出来 - @ECHO OFF&PUSHD %~DP0 &TITLE Windows Store for LTSC x64
- ::author MoeClub by Vicer**感谢这位作者(笔者言)**
- setlocal enabledelayedexpansion
- mode con cols=60 lines=30
- color 87
- cd.>%WINDIR%\GetAdmin
- if exist %WINDIR%\GetAdmin (del /f /q "%WINDIR%\GetAdmin") else (
- echo CreateObject^("Shell.Application"^).ShellExecute "%~s0", "%*", "", "runas", 1 >> "%temp%\Admin.vbs"
- "%temp%\Admin.vbs"
- del /s /q "%temp%\Admin.vbs"
- exit /b 2)
- cls
-
- if not exist "%ProgramFiles%\WindowsApps" goto error_exit
- if not exist "%WINDIR%\SysWOW64" goto error_exit
-
- ::grant perm
- TAKEOWN /F "%ProgramFiles%\WindowsApps" /A >NUL
- ICACLS "%ProgramFiles%\WindowsApps" /grant:r "Administrators:F" /Q >NUL
- ICACLS "%ProgramFiles%\WindowsApps" /grant:r "All Application Packages:RX" /setintegritylevel L:I /inheritance:e /Q >NUL
-
- ::copy
- XCOPY /Q/Y/E/H/O "%~DP0WindowsApps\*" "%ProgramFiles%\WindowsApps" >NUL 2>NUL
- ::restore perm
- ICACLS "%ProgramFiles%\WindowsApps" /setowner "NT Service\TrustedInstaller" /Q >NUL
- ICACLS "%ProgramFiles%\WindowsApps" /grant:r "Administrators:RX" /Q >NUL
- ICACLS "%ProgramFiles%\WindowsApps" /reset >NUL
- ::install
- FOR /F "delims=" %%i IN (Package.txt) DO (PowerShell -Command "& {Add-AppXPackage -Path '%ProgramFiles%\WindowsApps\%%i\AppXManifest.xml' -Register -DisableDevelopmentMode}")
- :success_exit
- ECHO.
- ECHO Install finish.
- TIMEOUT /T 3 /NOBREAK >NUL 2>NUL
- exit 0
- :error_exit
- ECHO.
- ECHO Not support this device.
- TIMEOUT /T 5 /NOBREAK >NUL 2>NUL
- exit 1
复制代码
卸载命令单拉出来
::unstal(卸载命令) - Get-AppxPackage Microsoft.XboxIdentityProvider |Remove-AppxPackage
- Get-AppxPackage Microsoft.StorePurchaseApp |Remove-AppxPackage
- Get-AppxPackage Microsoft.WindowsStore |Remove-AppxPackage
- Get-AppxPackage Microsoft.Advertising.Xaml |Remove-AppxPackage
- Get-AppxPackage Microsoft.VCLibs.140.00 |Remove-AppxPackage
- Get-AppxPackage Microsoft.NET.Native.Framework.1.6 |Remove-AppxPackage
- oft.NET.Native.Framework.1.6 |Remove-AppxPackage
- Get-AppxPackage Microsoft.NET.Native.Runtime.1.6 |Remove-AppxPackage
复制代码这下可以放心了,说一下,我仅仅解包查看了内部结构,并未做出任何修改和打包处理,再次感谢作者。
然后我在我室友电脑上成功安装,第一次打开可能是英文,商店检测更新,更新完后就是中文啦
百度网盘备用地址: 链接:https://pan.baidu.com/s/1QtC9L6i3irsSZiFHahaIZw
提取码:kby3
|