自动处理基本完工

This commit is contained in:
dragonflylee 2017-11-22 08:40:21 +08:00
parent fab704d94d
commit 5a3a9c67d0
55 changed files with 2250 additions and 2 deletions

6
.gitattributes vendored Normal file
View File

@ -0,0 +1,6 @@
* text eol=crlf
*.exe binary
*.tpk binary
*.png binary
*.bmp binary

10
.gitignore vendored Normal file
View File

@ -0,0 +1,10 @@
Pack/AAct*.exe
Pack/Appx/*.AppxBundle
Pack/Appx/*.Appx
*.wim
*.esd
*.iso
Mount
Temp
DVD

BIN
Bin/amd64/NSudo.exe Normal file

Binary file not shown.

BIN
Bin/amd64/oscdimg.exe Normal file

Binary file not shown.

BIN
Bin/x86/NSudo.exe Normal file

Binary file not shown.

BIN
Bin/x86/oscdimg.exe Normal file

Binary file not shown.

49
MakeISO.cmd Normal file
View File

@ -0,0 +1,49 @@
@echo off
color 1F
mode con lines=30 cols=90
rem 初始化变量
set "Oscdimg=%~sdp0Bin\%PROCESSOR_ARCHITECTURE%\oscdimg.exe"
set "DVD=%~1"
set "ISOLabel=%~2"
set "ISOFileName=%~3"
rem 选择光盘镜像目录
if "%DVD%" equ "" call :SelectFolder
set "BIOSBoot=%DVD%\boot\etfsboot.com"
set "UEFIBoot=%DVD%\efi\microsoft\boot\efisys.bin"
rem 判断BIOS引导
if not exist "%BIOSBoot%" echo %BIOSBoot% 不存在 && goto :Exit
if not exist "%DVD%\sources\boot.wim" echo boot.wim 不存在 && goto :Exit
if not exist "%DVD%\sources\install.wim" ( if not exist "%DVD%\sources\install.esd" echo 安装镜像不存在 && goto :Exit )
rem 自动生成卷标
call :MakeLabel %DVD%
if "%ISOFileName%" equ "" ( set "ISOFileName=%~dp0%ISOLabel%.iso" )
rem 生成ei.cfg
if exist "%DVD%\sources\ei.cfg" del /f /q "%DVD%\sources\ei.cfg"
(
echo.[EditionID]
echo.
echo.[Channel]
echo.OEM
echo.[VL]
echo.1
)>"%DVD%\sources\ei.cfg"
rem 判断UEFI引导
if exist "%UEFIBoot%" (
"%Oscdimg%" -bootdata:2#p0,e,b"%BIOSBoot%"#pEF,e,b"%UEFIBoot%" -o -h -m -u2 -udfver102 "%DVD%" "%ISOFileName%"
) else (
"%Oscdimg%" -bootdata:1#p0,e,b"%BIOSBoot%" -o -h -m -u2 -udfver102 "%DVD%" "%ISOFileName%"
)
goto :Exit
:SelectFolder
set folder=mshta "javascript:var folder=new ActiveXObject('Shell.Application').BrowseForFolder(0,'选择安装镜像所在目录', 513, '');if(folder) new ActiveXObject('Scripting.FileSystemObject').GetStandardStream(1).Write(folder.Self.Path);window.close();"
for /f "tokens=* delims=" %%f in ('%folder%') do set "DVD=%%f"
if "%DVD%" equ "" goto :Exit
goto :eof
:MakeLabel
if "%ISOLabel%" equ "" ( set "ISOLabel=%~n1" )
goto :eof
:Exit
if "%~1" equ "" pause

168
NSudo/NSudo.cpp Normal file
View File

@ -0,0 +1,168 @@
#include <windows.h>
#include <tchar.h>
#include <WtsApi32.h>
#pragma comment(lib,"WtsApi32.lib")
/**
* ID
*/
DWORD NSStartService(LPCTSTR szName)
{
DWORD dwBytesNeeded, dwWaitTime, dwOldCheckPoint = 0;
ULONGLONG dwStartTickCount;
SERVICE_STATUS_PROCESS ssp = { 0 };
SC_HANDLE hService = NULL;
SC_HANDLE hSCM = OpenSCManager(NULL, NULL, SC_MANAGER_CONNECT);
if (NULL == hSCM) goto exit;
hService = OpenService(hSCM, szName, SERVICE_QUERY_STATUS | SERVICE_START);
if (NULL == hService) goto exit;
dwStartTickCount = GetTickCount64();
while (QueryServiceStatusEx(hService, SC_STATUS_PROCESS_INFO, (LPBYTE)&ssp, sizeof(ssp), &dwBytesNeeded))
{
if (SERVICE_STOPPED == ssp.dwCurrentState)
{
if (!StartService(hService, 0, NULL)) goto exit;
}
else if (SERVICE_STOP_PENDING == ssp.dwCurrentState || SERVICE_START_PENDING == ssp.dwCurrentState)
{
dwWaitTime = ssp.dwWaitHint / 10;
if (dwWaitTime < 1000) dwWaitTime = 1000;
else if (dwWaitTime > 10000) dwWaitTime = 10000;
if (ssp.dwCheckPoint > dwOldCheckPoint)
{
// Continue to wait and check.
dwStartTickCount = GetTickCount64();
dwOldCheckPoint = ssp.dwCheckPoint;
}
else if (GetTickCount64() - dwStartTickCount > ssp.dwWaitHint)
{
SetLastError(ERROR_TIMEOUT);
goto exit;
}
}
else
{
break;
}
}
exit:
if (SERVICE_RUNNING != ssp.dwCurrentState) memset(&ssp, 0, sizeof(ssp));
if (NULL != hService) CloseServiceHandle(hService);
if (NULL != hSCM) CloseServiceHandle(hSCM);
return ssp.dwProcessId;
}
/**
* Token
*/
HANDLE NSDuplicateProcessToken(DWORD dwProcessID, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, TOKEN_TYPE TokenType)
{
HANDLE hToken = NULL, hNewToken = NULL;
HANDLE hProcess = OpenProcess(MAXIMUM_ALLOWED, FALSE, dwProcessID);
if (NULL == hProcess) return NULL;
// 打开进程令牌
if (OpenProcessToken(hProcess, MAXIMUM_ALLOWED, &hToken))
{
DuplicateTokenEx(hToken, MAXIMUM_ALLOWED, NULL, ImpersonationLevel, TokenType, &hNewToken);
CloseHandle(hToken);
}
CloseHandle(hProcess);
return hNewToken;
}
// Enabling and Disabling Privileges
BOOL NSSetPrivilege(HANDLE hToken, LPCTSTR szPrivilege, BOOL bEnable = TRUE)
{
TOKEN_PRIVILEGES tp;
LUID luid;
if (!LookupPrivilegeValue(NULL, szPrivilege, &luid)) return FALSE;
tp.PrivilegeCount = 1;
tp.Privileges[0].Luid = luid;
tp.Privileges[0].Attributes = bEnable ? SE_PRIVILEGE_ENABLED : 0;
// Enable the privilege or disable all privileges.
return AdjustTokenPrivileges(hToken, FALSE, &tp, 0, NULL, NULL);
}
DWORD NSFindProcesses(DWORD dwSessionId, LPCTSTR szName)
{
PWTS_PROCESS_INFO pi = NULL;
DWORD dwCount = 0, dwProcessId = 0;
if (!WTSEnumerateProcesses(WTS_CURRENT_SERVER_HANDLE, 0, 1, &pi, &dwCount)) return FALSE;
for (DWORD i = 0; i < dwCount; ++i)
{
if (pi[i].SessionId != dwSessionId) continue;
if (pi[i].pProcessName == NULL) continue;
if (_tcsicmp(szName, pi[i].pProcessName) == 0)
{
dwProcessId = pi[i].ProcessId;
break;
}
}
if (NULL != pi) WTSFreeMemory(pi);
return dwProcessId;
}
/**
*
*/
BOOL NSRun(HANDLE hToken, LPTSTR szCmd, int nCmdShow = SW_SHOW, DWORD dwFlags = CREATE_NO_WINDOW)
{
PROCESS_INFORMATION pi = { 0 };
STARTUPINFO si = { sizeof(si) };
si.dwFlags = STARTF_USESHOWWINDOW;
si.wShowWindow = (WORD)nCmdShow;
if (!CreateProcessAsUser(hToken, NULL, szCmd, NULL, NULL, FALSE, dwFlags, NULL, NULL, &si, &pi)) return FALSE;
WaitForSingleObject(pi.hProcess, INFINITE);
return CloseHandle(pi.hProcess);
}
#define BOOL_CHECK(_hr_) if (!(_hr_)) { hr = GetLastError(); goto exit; }
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
UNREFERENCED_PARAMETER(hInstance);
UNREFERENCED_PARAMETER(hPrevInstance);
if (_tcsclen(lpCmdLine) == 0) return MessageBox(HWND_DESKTOP, TEXT("Thanks M2Team"), TEXT("NSudo"), MB_ICONASTERISK);
HRESULT hr = S_OK;
HANDLE hToken = NULL, hTokenWinLogon = NULL, hTokenTrusted = NULL;
DWORD dwTrusted, dwSessionId, dwWinLogon, dwReturn;
BOOL_CHECK(OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &hToken));
BOOL_CHECK(GetTokenInformation(hToken, TokenSessionId, &dwSessionId, sizeof(DWORD), &dwReturn));
BOOL_CHECK(NSSetPrivilege(hToken, SE_DEBUG_NAME));
// 获取 WinLogon 的权限
dwWinLogon = NSFindProcesses(dwSessionId, TEXT("winlogon.exe"));
BOOL_CHECK(dwWinLogon);
hTokenWinLogon = NSDuplicateProcessToken(dwWinLogon, SecurityImpersonation, TokenImpersonation);
BOOL_CHECK(hTokenWinLogon);
BOOL_CHECK(NSSetPrivilege(hTokenWinLogon, SE_ASSIGNPRIMARYTOKEN_NAME));
BOOL_CHECK(SetThreadToken(NULL, hTokenWinLogon));
// 获取 TrustedInstaller 的权限
dwTrusted = NSStartService(TEXT("TrustedInstaller"));
BOOL_CHECK(dwTrusted);
hTokenTrusted = NSDuplicateProcessToken(dwTrusted, SecurityIdentification, TokenPrimary);
BOOL_CHECK(hTokenTrusted);
BOOL_CHECK(SetTokenInformation(hTokenTrusted, TokenSessionId, &dwSessionId, sizeof(DWORD)));
// 启动进程
BOOL_CHECK(NSRun(hTokenTrusted, lpCmdLine, nCmdShow));
exit:
if (NULL != hTokenWinLogon) CloseHandle(hTokenWinLogon);
if (NULL != hTokenTrusted) CloseHandle(hTokenTrusted);
if (NULL != hToken) CloseHandle(hToken);
return hr;
}

15
NSudo/NSudo.manifest Normal file
View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level='requireAdministrator' uiAccess='false' />
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture=SXS_PROCESSOR_ARCHITECTURE publicKeyToken='6595b64144ccf1df' language='*' />
</dependentAssembly>
</dependency>
</assembly>

91
NSudo/NSudo.rc Normal file
View File

@ -0,0 +1,91 @@
// Microsoft Visual C++ generated resource script.
//
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// Ó¢Óï(ÃÀ¹ú) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "NSudo For Windows"
VALUE "LegalCopyright", "dragonflyee (C) Copyright 2017"
VALUE "OriginalFilename", "NSudo.exe"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // Ó¢Óï(ÃÀ¹ú) resources
/////////////////////////////////////////////////////////////////////////////
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"Resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""winres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

95
NSudo/NSudo.vcxproj Normal file
View File

@ -0,0 +1,95 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{1F9B2649-1C4C-4090-A53A-793BCBC38FBC}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>NSudo</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)bin\$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)obj\$(Configuration)\$(PlatformTarget)\</IntDir>
<TargetName>$(ProjectName)_$(PlatformTarget)</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)bin\$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)obj\$(Configuration)\$(PlatformTarget)\</IntDir>
<TargetName>$(ProjectName)_$(PlatformTarget)</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<UACExecutionLevel>RequireAdministrator</UACExecutionLevel>
<AdditionalManifestDependencies>type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*';%(AdditionalManifestDependencies)</AdditionalManifestDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<UACExecutionLevel>RequireAdministrator</UACExecutionLevel>
<AdditionalManifestDependencies>type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*';%(AdditionalManifestDependencies)</AdditionalManifestDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="NSudo.cpp" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="NSudo.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="头文件">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="资源文件">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="NSudo.cpp">
<Filter>源文件</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="NSudo.rc">
<Filter>资源文件</Filter>
</ResourceCompile>
</ItemGroup>
</Project>

4
NSudo/README.md Normal file
View File

@ -0,0 +1,4 @@
# NSudo 简化版
参考 [M2Team/NSudo](https://github.com/M2Team/NSudo) 提取其中关键代码编写的精简版 NSudo
用于 TrustedInstaller 权限下静默运行命令行程序

25
NSudo/sources Normal file
View File

@ -0,0 +1,25 @@
TARGETNAME=NSudo
TARGETPATH=..\bin
TARGETTYPE=PROGRAM
UMTYPE=windows
#UMBASE=0x01000000
UMENTRY=wwinmain
USE_NATIVE_EH=1
USE_MSVCRT=1
SXS_MANIFEST=NSudo.manifest
SXS_MANIFEST_IN_RESOURCES=1
SXS_ASSEMBLY_NAME=SxsHelper
SXS_ASSEMBLY_LANGUAGE=0000
C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE
#C_DEFINES=$(C_DEFINES) -DMBCS -D_MBCS
SOURCES=NSudo.cpp \
NSudo.rc
INCLUDES= $(SDK_INC_PATH); $(MSSDK)\Include;
TARGETLIBS= $(SDK_LIB_PATH)\WtsApi32.lib \
$(SDK_LIB_PATH)\kernel32.lib

View File

@ -0,0 +1 @@
<License xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="e2134258-b498-4104-bbe5-fb111cc943ca" LicenseID="517cfcaf-138b-1796-2cea-62892204250a" ContentID="97612282-d1e8-1d6a-9e92-c271e7f177ef" Version="3" xmlns="urn:schemas-microsoft-com:windows:store:licensing:ls"><Binding Binding_Type="Machine"><ProductID>9NBLGGH4NNS1</ProductID><PFM>microsoft.desktopappinstaller_8wekyb3d8bbwe</PFM><LicenseInstanceID>e1a39502-1ffc-44f0-8c28-0034168e09ff</LicenseInstanceID><RequestorID>2c3f1d47-426d-c7d7-face-ef1add208818</RequestorID><LeaseRequired>False</LeaseRequired></Binding><LicenseInfo Type="Full" LicenseUsage="Offline" LicenseCategory="OEM"><IssuedDate>2016-04-14T15:58:20.6111541Z</IssuedDate><LastUpdateDate>2016-04-14T15:58:20.4032196Z</LastUpdateDate><BeginDate>2016-04-14T15:58:20.4032196Z</BeginDate></LicenseInfo><SPLicenseBlock>FAAAAMAAAADJAAAACgAAAAMAAQAdvg9XAgDLAAAAEAAAAK/8fFGLE5YXLOpiiSIEJQrOAAAAWAAAAG0AaQBjAHIAbwBzAG8AZgB0AC4AZABlAHMAawB0AG8AcABhAHAAcABpAG4AcwB0AGEAbABsAGUAcgBfADgAdwBlAGsAeQBiADMAZAA4AGIAYgB3AGUAAADNAAAAIgAAAAEAPHRzkyJyTeprvahJYVs0C0HSgOyvT4hrOkNjQkRP3ZkgAAAABAAAABy+D1fMAAAARAAAAAEAAgBIa5/IGWUu4VPS25nTkLR8ppTVf6vcPSq/gcYDNJ9lN2zTLbFu6TvvW9vRaJ+VeOW+RRkKhoksVH7Pt7QD1r6b</SPLicenseBlock><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /><DigestValue>gFx+w8DBVQVIbEe2VcpuymyNmZ2W4wEaZRbCfq2+g9k=</DigestValue></Reference></SignedInfo><SignatureValue>eLMrCQLsZziDD7p7OTk+r0/1PlW/QvNCd1tuouOIatqECfL1vw0ssHqzwztfAKlLvpaQ1NnB6MlW4wBdOziLQs6TNUNIseASPZWl9s/0qUb85+BpOoFPt+A2t0C0+1Y33UqlpBsXOLndXgySGorBjbRBEDrpX4HFrOfuyGkUSbMVFgSr0H6xXRbLJmYTId0Oy2bPCpRfTqDwqS1x71+IDSBel8I8fs6UHYdYhGvFVqiOtg2+eeuD5pd6I5wiYLIXkfzu6/66QDT7kR1LJ+zgEJCFfauUft1vUIYjTj4evPLZUXRrK7ff8ktfaoppD3o7ToN4C3XSik9HzcsEfhLeUg==</SignatureValue><KeyInfo Id="_0f81b24f-bc40-2712-0d5d-e7c10085c330"><KeyValue><RSAKeyValue><Modulus>oVSJXItDsaAIfwyR9bhh/ZSppCAO+in9POLWdC2/TQodgeHZzbdBvxJvKhpbrq6ZP0FsSElLwRoLAmv7zIuVw3Vb7tfQt5bjCDHRAG9fesNlYKV3ybyNrHyzglfZPRB5UJZw32yi03zQa+LLa05fjs6joEmlHc5BrGQrGrbNMBahz4cmuxKC4/dhEb7JZFUkc0MRhs/M3Ve511HQfKuG+92g1OffJdRsAPzWRdskPoN35knnqno7F85OBmGV/LNBgdtDWUH6di1eUCQFeKGfMp+Q/LFUX9jawTTEPn72tYbpYASug05Skcg6KTHlcLGzevxGw7BYsOsqfDka5n0YGw==</Modulus><Exponent>AAEAAQ==</Exponent></RSAKeyValue></KeyValue></KeyInfo></Signature></License>

View File

@ -0,0 +1 @@
<License xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="a298b51a-8e31-4577-a5c9-6ee4aaa8c884" LicenseID="a1e5b165-0532-a6a3-f542-0c5c162be3e1" ContentID="49f33c48-b2de-f82a-56f2-64425f298b84" Version="3" xmlns="urn:schemas-microsoft-com:windows:store:licensing:ls"><Binding Binding_Type="Machine"><ProductID>9NBLGGH5FV99</ProductID><PFM>microsoft.mspaint_8wekyb3d8bbwe</PFM><LicenseInstanceID>25fae062-e493-4222-ba45-7f4bd7c012c3</LicenseInstanceID><RequestorID>2c3f1d47-426d-c7d7-face-ef1add208818</RequestorID><LeaseRequired>False</LeaseRequired></Binding><LicenseInfo Type="Full" LicenseUsage="Offline" LicenseCategory="OEM"><IssuedDate>2016-10-21T14:15:01.5723304Z</IssuedDate><LastUpdateDate>2016-10-21T14:15:01.3105458Z</LastUpdateDate><BeginDate>2016-10-21T14:15:01.3105458Z</BeginDate></LicenseInfo><SPLicenseBlock>FAAAAKgAAADJAAAACgAAAAMAAQDmIgpYAgDLAAAAEAAAAGWx5aEyBaOm9UIMXBYr4+HOAAAAQAAAAG0AaQBjAHIAbwBzAG8AZgB0AC4AbQBzAHAAYQBpAG4AdABfADgAdwBlAGsAeQBiADMAZAA4AGIAYgB3AGUAAADNAAAAIgAAAAEALuY381l1y97ntaKC7J2RtKHCGV8Xtm8CtNAqlHpYI1cgAAAABAAAAOUiCljMAAAARAAAAAEAAgBxB/kJymY2MljAY+3WokbngsSgiKBzdVuAFnuSwUodwgs4AZCC8K5Adsye+6WTGaDhCCDdWMKMYoquk87yk3Cj</SPLicenseBlock><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /><DigestValue>1NpqvO9LqFip5WcV9+bLHrGQrj/0Hk5JenmqjcfnP3o=</DigestValue></Reference></SignedInfo><SignatureValue>k0VIf7jV+oLT/Pj2sjE/c/C66odkSWusuCOF45LlwN6focx23inWsLeklyYagBW5HHmS+1xxaM3SCZDwjui8Ixv5cZ2DrMNxUn//WOC7UTac2vrNGkUXNz7yd8fJJ01saJVqhrjiq5jBByOfChHqH7X9+DS5cmBcWoxQsKBova/pbBn20N/g5FCvEmcpOnhfh/FKDVzpo5szqVxgxmq2xETHuaDxzKZAgSVQqJ3Qk7H1FtS1qOw5d/LT3trii7OSU2cXp8plCb2IjC/QP6ghyJPn0ReYQpwpwRgHS1B13GONehv0nTIiZGL5yihaQaWMasn3PfhFqtBFVA1C9//nnA==</SignatureValue><KeyInfo Id="_0f81b24f-bc40-2712-0d5d-e7c10085c330"><KeyValue><RSAKeyValue><Modulus>oVSJXItDsaAIfwyR9bhh/ZSppCAO+in9POLWdC2/TQodgeHZzbdBvxJvKhpbrq6ZP0FsSElLwRoLAmv7zIuVw3Vb7tfQt5bjCDHRAG9fesNlYKV3ybyNrHyzglfZPRB5UJZw32yi03zQa+LLa05fjs6joEmlHc5BrGQrGrbNMBahz4cmuxKC4/dhEb7JZFUkc0MRhs/M3Ve511HQfKuG+92g1OffJdRsAPzWRdskPoN35knnqno7F85OBmGV/LNBgdtDWUH6di1eUCQFeKGfMp+Q/LFUX9jawTTEPn72tYbpYASug05Skcg6KTHlcLGzevxGw7BYsOsqfDka5n0YGw==</Modulus><Exponent>AAEAAQ==</Exponent></RSAKeyValue></KeyValue></KeyInfo></Signature></License>

View File

@ -0,0 +1 @@
<License xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="1fd61e89-55ee-4aa0-b96b-87b472039748" LicenseID="8d56e57b-8663-136d-ff69-a004e217825a" ContentID="68e019eb-0b92-5e08-5d86-9bfe6dba8517" Version="3" xmlns="urn:schemas-microsoft-com:windows:store:licensing:ls"><Binding Binding_Type="Machine"><ProductID>9NBLGGH4QGHW</ProductID><PFM>microsoft.microsoftstickynotes_8wekyb3d8bbwe</PFM><LicenseInstanceID>3ed7487a-698b-458b-b099-9584a1612f9f</LicenseInstanceID><RequestorID>2c3f1d47-426d-c7d7-face-ef1add208818</RequestorID><LeaseRequired>False</LeaseRequired></Binding><LicenseInfo Type="Full" LicenseUsage="Offline" LicenseCategory="OEM"><IssuedDate>2016-03-08T22:58:33.182511Z</IssuedDate><LastUpdateDate>2016-03-08T22:58:32.8764864Z</LastUpdateDate><BeginDate>2016-03-08T22:58:32.8764864Z</BeginDate></LicenseInfo><SPLicenseBlock>FAAAAMIAAADJAAAACgAAAAMAAQAZWd9WAgDLAAAAEAAAAHvlVo1jhm0T/2mgBOIXglrOAAAAWgAAAG0AaQBjAHIAbwBzAG8AZgB0AC4AbQBpAGMAcgBvAHMAbwBmAHQAcwB0AGkAYwBrAHkAbgBvAHQAZQBzAF8AOAB3AGUAawB5AGIAMwBkADgAYgBiAHcAZQAAAM0AAAAiAAAAAQD94/zSU/j7oKMeYVVKIhgAG1D6q+X6jOT39buUyn3foiAAAAAEAAAAGVnfVswAAABEAAAAAQACAI7E8tG+jIley/Zj7wweEjnsoSiHeH1t4qm0vgoE++JbqBgnE+8QKZXd6QQVZFbD/b15jh1RUJjWLbN8KMIeIYk=</SPLicenseBlock><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /><DigestValue>GR2pSOStDmDaUp5lujylCuET06ZEsXr7uHM36fk+F8Q=</DigestValue></Reference></SignedInfo><SignatureValue>OpF6jNf2Yi6UwUR0QQSo8tvl3iHtPdQoh4SNLZwdM4ABaMYas+Xtw4Uc8eRWY/GK0viTooSGj/fRa9hw3k0lZbuYavmKtecAtr0bJLriMwQTIgg/5LG6xY7XljHTqKvx8Znk5SItZoR3DTWw3PX5xiGunESpBD06m1WRjg5orx2hr+w+r948O9gQQvTS3ksJLQdJcfRcs1cwldKbERXMosnptLtmVzg5jOFSajYgbFGtaPw3nzAtvnFPGBckao4yufyuzd0nz6vHrlMmfOmPwnZiyBavk5gBEStIRkrLirFoeaX1/TbRTpZ5NcbqmSBfGiSuYljaxpSnaX+D9gPG5g==</SignatureValue><KeyInfo Id="_0f81b24f-bc40-2712-0d5d-e7c10085c330"><KeyValue><RSAKeyValue><Modulus>oVSJXItDsaAIfwyR9bhh/ZSppCAO+in9POLWdC2/TQodgeHZzbdBvxJvKhpbrq6ZP0FsSElLwRoLAmv7zIuVw3Vb7tfQt5bjCDHRAG9fesNlYKV3ybyNrHyzglfZPRB5UJZw32yi03zQa+LLa05fjs6joEmlHc5BrGQrGrbNMBahz4cmuxKC4/dhEb7JZFUkc0MRhs/M3Ve511HQfKuG+92g1OffJdRsAPzWRdskPoN35knnqno7F85OBmGV/LNBgdtDWUH6di1eUCQFeKGfMp+Q/LFUX9jawTTEPn72tYbpYASug05Skcg6KTHlcLGzevxGw7BYsOsqfDka5n0YGw==</Modulus><Exponent>AAEAAQ==</Exponent></RSAKeyValue></KeyValue></KeyInfo></Signature></License>

View File

@ -0,0 +1 @@
<License xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="6f6203c1-c754-462e-8b68-328fba64d692" LicenseID="8ce3d3dd-a4c7-6c38-5fde-1f9f5df98807" ContentID="e336bb8f-16ed-7cbe-afee-971dd3041585" Version="3" xmlns="urn:schemas-microsoft-com:windows:store:licensing:ls"><Binding Binding_Type="Machine"><ProductID>9WZDNCRFHVJL</ProductID><PFM>microsoft.office.onenote_8wekyb3d8bbwe</PFM><LicenseInstanceID>d6ba787f-7da9-4bba-a88d-c4e1cee697d8</LicenseInstanceID><RequestorID>2c3f1d47-426d-c7d7-face-ef1add208818</RequestorID><LeaseRequired>False</LeaseRequired></Binding><LicenseInfo Type="Full" LicenseUsage="Offline" LicenseCategory="OEM"><IssuedDate>2015-07-02T21:39:20.1316051Z</IssuedDate><LastUpdateDate>2015-07-02T21:39:20.4733675Z</LastUpdateDate><BeginDate>2015-07-02T21:39:20.4733675Z</BeginDate></LicenseInfo><SPLicenseBlock>FAAAALYAAADJAAAACgAAAAMAAQCIr5VVAgDLAAAAEAAAAN3T44zHpDhsX94fn135iAfOAAAATgAAAG0AaQBjAHIAbwBzAG8AZgB0AC4AbwBmAGYAaQBjAGUALgBvAG4AZQBuAG8AdABlAF8AOAB3AGUAawB5AGIAMwBkADgAYgBiAHcAZQAAAM0AAAAiAAAAAQBgAWTNP1H3SMlyTgxLNzteU7HpoySOpLiSgPezUCL81CAAAAAEAAAAiK+VVcwAAABEAAAAAQACABFDHDFFvO4kfuAHSc/I4J+605a0CZQpnFUYqRzrMMY0llO4IMILGb8/g2L8XSSZf7bJcPJxxJ7IyOBAzUdLvQE=</SPLicenseBlock><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /><DigestValue>G4rxyo9tNCjr4//jLcrNO6QGcs8dN6oXZG4EcxrBL7I=</DigestValue></Reference></SignedInfo><SignatureValue>foXAQwTbW6GMWcQveWsH0bvv8co+7SpYjlnP+x7DtWNolEFKZ0YTBicq/QXZVxn7FhOg1fRQytouHFrC0Nh+ns6ljrB/mOOVWZZC/twWXK4mkYUlghWBte7MZsuWYYdoC1xTLeGaZFQqY3OBRe9POUcYDJCO61o7utylALqAa53G78hsfeKGsk7jq/q+6OWtKg/eV8P0FUAI3vDWisPAfi2USm44VpMMVFdzXBSX3Fdt2+/O9drrurLt6G+byoU+AixRPUbhz5tFstAy/8nFz1wd033UmPEPCnW0zBvlDJr4yoTGHEtPAXAeONNJkQ7Iuu3FSDtHaQSCYKoHwiRzmg==</SignatureValue><KeyInfo Id="_0f81b24f-bc40-2712-0d5d-e7c10085c330"><KeyValue><RSAKeyValue><Modulus>oVSJXItDsaAIfwyR9bhh/ZSppCAO+in9POLWdC2/TQodgeHZzbdBvxJvKhpbrq6ZP0FsSElLwRoLAmv7zIuVw3Vb7tfQt5bjCDHRAG9fesNlYKV3ybyNrHyzglfZPRB5UJZw32yi03zQa+LLa05fjs6joEmlHc5BrGQrGrbNMBahz4cmuxKC4/dhEb7JZFUkc0MRhs/M3Ve511HQfKuG+92g1OffJdRsAPzWRdskPoN35knnqno7F85OBmGV/LNBgdtDWUH6di1eUCQFeKGfMp+Q/LFUX9jawTTEPn72tYbpYASug05Skcg6KTHlcLGzevxGw7BYsOsqfDka5n0YGw==</Modulus><Exponent>AAEAAQ==</Exponent></RSAKeyValue></KeyValue></KeyInfo></Signature></License>

View File

@ -0,0 +1 @@
<License xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="9e7ff0c6-880f-467b-a124-161109ca6e4d" LicenseID="28748306-9f02-a5d7-6ded-4459fddadc31" ContentID="1fe89c0b-9bed-cc5d-7426-9e4025d6bdd9" Version="3" xmlns="urn:schemas-microsoft-com:windows:store:licensing:ls"><Binding Binding_Type="Machine"><ProductID>9NBLGGH10PG8</ProductID><PFM>microsoft.people_8wekyb3d8bbwe</PFM><LicenseInstanceID>c2c8c71d-a6c2-42f0-9067-9a2a31883852</LicenseInstanceID><RequestorID>2c3f1d47-426d-c7d7-face-ef1add208818</RequestorID><LeaseRequired>False</LeaseRequired></Binding><LicenseInfo Type="Full" LicenseUsage="Offline" LicenseCategory="OEM"><IssuedDate>2015-07-18T17:46:46.2244995Z</IssuedDate><LastUpdateDate>2015-07-18T17:46:46.3109766Z</LastUpdateDate><BeginDate>2015-07-18T17:46:46.3109766Z</BeginDate></LicenseInfo><SPLicenseBlock>FAAAAKYAAADJAAAACgAAAAMAAQAGkapVAgDLAAAAEAAAAAaDdCgCn9elbe1EWf3a3DHOAAAAPgAAAG0AaQBjAHIAbwBzAG8AZgB0AC4AcABlAG8AcABsAGUAXwA4AHcAZQBrAHkAYgAzAGQAOABiAGIAdwBlAAAAzQAAACIAAAABABYMS+0aAEc6GCj1/UiWnYi34qmXeNqRnqKd/VqhlBaLIAAAAAQAAAAGkapVzAAAAEQAAAABAAIAHsH+/aAs4fbbcJGHssUuKdaC0sGYPMHfyN3Y1p+evZgnEDEK02IiS8uBHybcJGG0T2BWY8TJSdBF/UK98CvbIg==</SPLicenseBlock><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /><DigestValue>jQNZn0EUMrqkAW3TIoLmsa3YLMnqRuFEf+xNjqTo7tY=</DigestValue></Reference></SignedInfo><SignatureValue>K1fBJsrf/uEsKXjtd6T/O4awoWdoVm3A4MltT/IuV7jxRu+iJSb/fRX/oJu7UMjjV/QjZMgLYvZbxa7Ifz+GzVYuZgxnc8MUbyabTd/WXnDFOeeL//6zFzd07kwXeu2KB1wsKzNErUSbQriYWVyEphoAEyrkgNwG4cWmEARblguzJTUkW8bvEGL15aEi+HlkGszyY66NhPdqRWvBsJx+284Ilc/DnJhGhdmaUBlC5qxQq20PsR3MtVfNMRHv3HrvWQyKHlhB3Q9ibmPWPIkZiC72t1M+1Nc8ADbeE76rtG4kIy0IQoCYFF/lq7iC4yze9i4AM387yR3iKY7wUcaxLA==</SignatureValue><KeyInfo Id="_0f81b24f-bc40-2712-0d5d-e7c10085c330"><KeyValue><RSAKeyValue><Modulus>oVSJXItDsaAIfwyR9bhh/ZSppCAO+in9POLWdC2/TQodgeHZzbdBvxJvKhpbrq6ZP0FsSElLwRoLAmv7zIuVw3Vb7tfQt5bjCDHRAG9fesNlYKV3ybyNrHyzglfZPRB5UJZw32yi03zQa+LLa05fjs6joEmlHc5BrGQrGrbNMBahz4cmuxKC4/dhEb7JZFUkc0MRhs/M3Ve511HQfKuG+92g1OffJdRsAPzWRdskPoN35knnqno7F85OBmGV/LNBgdtDWUH6di1eUCQFeKGfMp+Q/LFUX9jawTTEPn72tYbpYASug05Skcg6KTHlcLGzevxGw7BYsOsqfDka5n0YGw==</Modulus><Exponent>AAEAAQ==</Exponent></RSAKeyValue></KeyValue></KeyInfo></Signature></License>

View File

@ -0,0 +1 @@
<License xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="e0ba47c9-6e60-4002-9735-9c584ec71c28" LicenseID="28502d06-9d29-8514-1e5d-64447116d798" ContentID="62b49c0a-499e-a02d-ebcb-eb168e148e52" Version="3" xmlns="urn:schemas-microsoft-com:windows:store:licensing:ls"><Binding Binding_Type="Machine"><ProductID>9NBLGGH4LS1F</ProductID><PFM>microsoft.storepurchaseapp_8wekyb3d8bbwe</PFM><LicenseInstanceID>a8301a7a-06f7-425e-8fb5-ebfb702440df</LicenseInstanceID><RequestorID>2c3f1d47-426d-c7d7-face-ef1add208818</RequestorID><LeaseRequired>False</LeaseRequired></Binding><LicenseInfo Type="Full" LicenseUsage="Offline" LicenseCategory="OEM"><IssuedDate>2016-04-01T22:02:43.4444915Z</IssuedDate><LastUpdateDate>2016-04-01T22:02:43.0608594Z</LastUpdateDate><BeginDate>2016-04-01T22:02:43.0608594Z</BeginDate></LicenseInfo><SPLicenseBlock>FAAAALoAAADJAAAACgAAAAMAAQAD8P5WAgDLAAAAEAAAAAYtUCgpnRSFHl1kRHEW15jOAAAAUgAAAG0AaQBjAHIAbwBzAG8AZgB0AC4AcwB0AG8AcgBlAHAAdQByAGMAaABhAHMAZQBhAHAAcABfADgAdwBlAGsAeQBiADMAZAA4AGIAYgB3AGUAAADNAAAAIgAAAAEAMPDiheq+DxYSDJaaOq7obPBL5IlMNiWK7M2dpI865e8gAAAABAAAAAPw/lbMAAAARAAAAAEAAgCVOMM09off+6NXUn50Ct6Pw0Nc1vQYj/q1lncPdmHi2L06skc87Z+WxfZQmqdsuERDP/S/l3I1ThyK+o9S+73W</SPLicenseBlock><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /><DigestValue>wnqdrNUltStkbVpNc1Fq5IKTPRvEU6bTBjRLvJ064AE=</DigestValue></Reference></SignedInfo><SignatureValue>S0Gc1y9ck1pyaQn0jbLG2eI6Jkw/AjTu9Rpyc1u9qedNB1C5e9jKBLf0B3GTnALSnt87G0dqLZru6kqBLLjXoLUChtxgf4NA8J9MMeQeEWfuFtv1j5rucmvfEsRlU/dKs1q46z7GKzIX0Yl3dAEkbEKAEdUqvdBijjuRDwLckOVz0rBvFZy4qwQ+W2hP0UfgDoHiPdS9vi5VE8odzB0SO/MUxpAT/DuixrWVghqqyU9x+uVMYE9C328mNDTK3bkRiCR/bzl4EsoShTVNxdQrRFnnlB3vaOIUEg5Ge6OkGrYp69M4f82k92rH3OzlQr+qdm2UkKNAMkpI5mrwo2zuGA==</SignatureValue><KeyInfo Id="_0f81b24f-bc40-2712-0d5d-e7c10085c330"><KeyValue><RSAKeyValue><Modulus>oVSJXItDsaAIfwyR9bhh/ZSppCAO+in9POLWdC2/TQodgeHZzbdBvxJvKhpbrq6ZP0FsSElLwRoLAmv7zIuVw3Vb7tfQt5bjCDHRAG9fesNlYKV3ybyNrHyzglfZPRB5UJZw32yi03zQa+LLa05fjs6joEmlHc5BrGQrGrbNMBahz4cmuxKC4/dhEb7JZFUkc0MRhs/M3Ve511HQfKuG+92g1OffJdRsAPzWRdskPoN35knnqno7F85OBmGV/LNBgdtDWUH6di1eUCQFeKGfMp+Q/LFUX9jawTTEPn72tYbpYASug05Skcg6KTHlcLGzevxGw7BYsOsqfDka5n0YGw==</Modulus><Exponent>AAEAAQ==</Exponent></RSAKeyValue></KeyValue></KeyInfo></Signature></License>

View File

@ -0,0 +1 @@
<License xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="b8e1917e-a6da-400a-825d-f32bc39ff360" LicenseID="215f9712-9fca-a3f8-5b11-660eefc73b96" ContentID="558f5d32-0827-eb7b-6ad6-d5db4138b3aa" Version="3" xmlns="urn:schemas-microsoft-com:windows:store:licensing:ls"><Binding Binding_Type="Machine"><ProductID>9WZDNCRFJBH4</ProductID><PFM>microsoft.windows.photos_8wekyb3d8bbwe</PFM><LicenseInstanceID>19c527f5-4c46-4c47-846a-aa0b4646569c</LicenseInstanceID><RequestorID>2c3f1d47-426d-c7d7-face-ef1add208818</RequestorID><LeaseRequired>False</LeaseRequired></Binding><LicenseInfo Type="Full" LicenseUsage="Offline" LicenseCategory="OEM"><IssuedDate>2016-06-28T14:23:53.7271162Z</IssuedDate><LastUpdateDate>2016-06-28T14:23:53.5159183Z</LastUpdateDate><BeginDate>2016-06-28T14:23:53.5159183Z</BeginDate></LicenseInfo><SPLicenseBlock>FAAAALYAAADJAAAACgAAAAMAAQB6iHJXAgDLAAAAEAAAABKXXyHKn/ijWxFmDu/HO5bOAAAATgAAAG0AaQBjAHIAbwBzAG8AZgB0AC4AdwBpAG4AZABvAHcAcwAuAHAAaABvAHQAbwBzAF8AOAB3AGUAawB5AGIAMwBkADgAYgBiAHcAZQAAAM0AAAAiAAAAAQCBrbyEbEKhtFUeIwBnGkL9t8KuePnBnIr+YsutD7yQ+iAAAAAEAAAAeohyV8wAAABEAAAAAQACAHRSZLfuRGLpsXe1ZaSPBu0TkUjyyTX/Us0BjD9LoWW6VfU9zwr/a7zG9phDK3t8p9jbKx9e8ICcZOhgxvVWE24=</SPLicenseBlock><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /><DigestValue>xwnvVV8t61ntnW5Cr1sea/CoWRYGzW5Yb2/NQtO6Jds=</DigestValue></Reference></SignedInfo><SignatureValue>AxNLcb7wh8FS6BqlzfloaHrwZrwVDjIlsSRIkFdjPVM/3zYELjaot7g2WivXYxI55lpHiss/M158ZHkTcN6UoIKCXkoI2bV/eBCklWCHTC4GfxegzH9xqrHzeaGWt8UOavY7DYVTf5fLWyFu6dUE+qxq5sGMyNfah+PzG8TfkeFOhs5iUpDmBYhD1J5cgqQRdOa9/m07o35Qrb//MhBxJR/HDMDiL5/RI4z9jqHWTMBHyXO3WAjBjG9pKeO4PAc0q8mPUdD3nw76wrvULTBFksIN8lBTlagXumOvsp+vppg+O7gvTiqmUzRIHTbB1OJg0nbpsTrZ5/ajl/oXRevv2w==</SignatureValue><KeyInfo Id="_0f81b24f-bc40-2712-0d5d-e7c10085c330"><KeyValue><RSAKeyValue><Modulus>oVSJXItDsaAIfwyR9bhh/ZSppCAO+in9POLWdC2/TQodgeHZzbdBvxJvKhpbrq6ZP0FsSElLwRoLAmv7zIuVw3Vb7tfQt5bjCDHRAG9fesNlYKV3ybyNrHyzglfZPRB5UJZw32yi03zQa+LLa05fjs6joEmlHc5BrGQrGrbNMBahz4cmuxKC4/dhEb7JZFUkc0MRhs/M3Ve511HQfKuG+92g1OffJdRsAPzWRdskPoN35knnqno7F85OBmGV/LNBgdtDWUH6di1eUCQFeKGfMp+Q/LFUX9jawTTEPn72tYbpYASug05Skcg6KTHlcLGzevxGw7BYsOsqfDka5n0YGw==</Modulus><Exponent>AAEAAQ==</Exponent></RSAKeyValue></KeyValue></KeyInfo></Signature></License>

View File

@ -0,0 +1 @@
<License xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="1874da2d-354b-43a8-971c-4260df6c7fbb" LicenseID="bcda97bb-bfd0-2a72-3c90-c8518f3d09ee" ContentID="68bc3251-2d8b-a604-92ba-893638ca72ea" Version="3" xmlns="urn:schemas-microsoft-com:windows:store:licensing:ls"><Binding Binding_Type="Machine"><ProductID>9WZDNCRFHVN5</ProductID><PFM>microsoft.windowscalculator_8wekyb3d8bbwe</PFM><LicenseInstanceID>2cef6183-3af2-42ce-8371-a66a363b065e</LicenseInstanceID><RequestorID>2c3f1d47-426d-c7d7-face-ef1add208818</RequestorID><LeaseRequired>False</LeaseRequired></Binding><LicenseInfo Type="Full" LicenseUsage="Offline" LicenseCategory="OEM"><IssuedDate>2015-06-20T04:41:45.8862033Z</IssuedDate><LastUpdateDate>2015-06-20T04:41:46.1113922Z</LastUpdateDate><BeginDate>2015-06-20T04:41:46.1113922Z</BeginDate></LicenseInfo><SPLicenseBlock>FAAAALwAAADJAAAACgAAAAMAAQAK74RVAgDLAAAAEAAAALuX2rzQv3IqPJDIUY89Ce7OAAAAVAAAAG0AaQBjAHIAbwBzAG8AZgB0AC4AdwBpAG4AZABvAHcAcwBjAGEAbABjAHUAbABhAHQAbwByAF8AOAB3AGUAawB5AGIAMwBkADgAYgBiAHcAZQAAAM0AAAAiAAAAAQD0TdIb6f7l3ih++6C/6GJrAVv++78F10B/f1WU76PmzCAAAAAEAAAACu+EVcwAAABEAAAAAQACAJslDdfIydSDrEYrdvtwmzJh5SlItpgU2boVdETm6ObsMwtDIdOqG1BkEOy/4bkQDLy+0Pvi1ElSK8zrDCyhr8o=</SPLicenseBlock><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /><DigestValue>8fouEe5lOsq7soVfikqEevIUekROnD+yekt8aiWTeGY=</DigestValue></Reference></SignedInfo><SignatureValue>EeDA92/FoVat6anQSm8FbCOcWN+b9ZOjQHE8ynCnChuTfpJeaYvlN4+TXZ413ShJyktvjJuYsjdn309RAp1kCQyPnd2X4jZTssWyY/0eA2HwmXtHdv6qOPfIpJDYteZ6kteQK+ik2oOnYFFMi2UcF6SPMGSe+HKngwcA3e4YTA/FenCoMsekLY0lCp74bOUzlWflYhdUQCsbBGSn0YRtAERa7389mwHZLwnU2LpQOyyxDm6Oe1BbEXlbVApO8yIyAE6+K1pYwuNFSHMWhC2f5ak2xcv3ZnsSw89b4ifXkj9TTXHdX5J98thPEydGbnKiD/scrXSwQutN1rfkOWIHxg==</SignatureValue><KeyInfo Id="_0f81b24f-bc40-2712-0d5d-e7c10085c330"><KeyValue><RSAKeyValue><Modulus>oVSJXItDsaAIfwyR9bhh/ZSppCAO+in9POLWdC2/TQodgeHZzbdBvxJvKhpbrq6ZP0FsSElLwRoLAmv7zIuVw3Vb7tfQt5bjCDHRAG9fesNlYKV3ybyNrHyzglfZPRB5UJZw32yi03zQa+LLa05fjs6joEmlHc5BrGQrGrbNMBahz4cmuxKC4/dhEb7JZFUkc0MRhs/M3Ve511HQfKuG+92g1OffJdRsAPzWRdskPoN35knnqno7F85OBmGV/LNBgdtDWUH6di1eUCQFeKGfMp+Q/LFUX9jawTTEPn72tYbpYASug05Skcg6KTHlcLGzevxGw7BYsOsqfDka5n0YGw==</Modulus><Exponent>AAEAAQ==</Exponent></RSAKeyValue></KeyValue></KeyInfo></Signature></License>

View File

@ -0,0 +1 @@
<License xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="a2becde1-f3a9-43e7-90c0-948ae529e13d" LicenseID="71c8f37a-a7b9-aff0-6de0-9b276c089ad6" ContentID="6ea6fc2e-9305-586b-3411-02826d151533" Version="3" xmlns="urn:schemas-microsoft-com:windows:store:licensing:ls"><Binding Binding_Type="Machine"><ProductID>9WZDNCRFHVQM</ProductID><PFM>microsoft.windowscommunicationsapps_8wekyb3d8bbwe</PFM><LicenseInstanceID>7e30ad57-f7a9-4ea1-8623-e8c0795018c1</LicenseInstanceID><RequestorID>2c3f1d47-426d-c7d7-face-ef1add208818</RequestorID><LeaseRequired>False</LeaseRequired></Binding><LicenseInfo Type="Full" LicenseUsage="Offline" LicenseCategory="OEM"><IssuedDate>2015-07-02T23:23:43.9513876Z</IssuedDate><LastUpdateDate>2015-07-02T23:23:43.9383359Z</LastUpdateDate><BeginDate>2015-07-02T23:23:43.9383359Z</BeginDate></LicenseInfo><SPLicenseBlock>FAAAAMwAAADJAAAACgAAAAMAAQAAyJVVAgDLAAAAEAAAAHrzyHG5p/CvbeCbJ2wImtbOAAAAZAAAAG0AaQBjAHIAbwBzAG8AZgB0AC4AdwBpAG4AZABvAHcAcwBjAG8AbQBtAHUAbgBpAGMAYQB0AGkAbwBuAHMAYQBwAHAAcwBfADgAdwBlAGsAeQBiADMAZAA4AGIAYgB3AGUAAADNAAAAIgAAAAEAp4AXmP4fZ4xtDOf6uJxAkVY/EtxysxsXkT09b4dEYxcgAAAABAAAAADIlVXMAAAARAAAAAEAAgDizDO6t93yWFmx5QtIF0zGz7VXrhOTUQ18Hbp7pb4t0vecn1oDzcVWUbPLm0Et98qQoKHS0YCWaDjujWBu57V+</SPLicenseBlock><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /><DigestValue>hdN46oI2B/uRP5VsWDENCLc5SLeLAFMzbYSmfJSJnHU=</DigestValue></Reference></SignedInfo><SignatureValue>MXHCQ+COb6dCgOjCw6OhjDf6jKf3QrZ+Jk3PfGFtYd5TzsM29/D5ubNnIOOlVCCA4896m2135rUW43a8XNqa4JNPPy/Zqi+u0xIWbBF6ZMy5Ue7nojhQbGVs3I07rknb6Q1HIH6EykmVrEAQ+xsKHD9TY38Slh5ZHxCFZ0PrXtG71FGzdV9h1eksdNLeVi6nX8rhjf6DtiH20L+yK7fADy3Jbz7LwRdmGuAJ+Kj8LCMoFAjrtlpF9KUIeyFtV8Um0S/yo88W/+hPnnHY1a7+wWcy8G0pSWbZmOnGpR8dixd1rmP+5qXkQxdxKJmU+DFiCBE/jvvidpBiwW27tYExLQ==</SignatureValue><KeyInfo Id="_0f81b24f-bc40-2712-0d5d-e7c10085c330"><KeyValue><RSAKeyValue><Modulus>oVSJXItDsaAIfwyR9bhh/ZSppCAO+in9POLWdC2/TQodgeHZzbdBvxJvKhpbrq6ZP0FsSElLwRoLAmv7zIuVw3Vb7tfQt5bjCDHRAG9fesNlYKV3ybyNrHyzglfZPRB5UJZw32yi03zQa+LLa05fjs6joEmlHc5BrGQrGrbNMBahz4cmuxKC4/dhEb7JZFUkc0MRhs/M3Ve511HQfKuG+92g1OffJdRsAPzWRdskPoN35knnqno7F85OBmGV/LNBgdtDWUH6di1eUCQFeKGfMp+Q/LFUX9jawTTEPn72tYbpYASug05Skcg6KTHlcLGzevxGw7BYsOsqfDka5n0YGw==</Modulus><Exponent>AAEAAQ==</Exponent></RSAKeyValue></KeyValue></KeyInfo></Signature></License>

View File

@ -0,0 +1 @@
<License xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="aa7ad01e-1ec5-4070-afa7-ebc32e647126" LicenseID="1e225998-faa0-5fd4-4db7-5e7686ee3b47" ContentID="a90b8400-d36d-8235-8bf2-a21a53d3fb65" Version="3" xmlns="urn:schemas-microsoft-com:windows:store:licensing:ls"><Binding Binding_Type="Machine"><ProductID>9WZDNCRDTBVB</ProductID><PFM>microsoft.windowsmaps_8wekyb3d8bbwe</PFM><LicenseInstanceID>723cd666-5db8-4c09-a4c3-47b4520b47fb</LicenseInstanceID><RequestorID>2c3f1d47-426d-c7d7-face-ef1add208818</RequestorID><LeaseRequired>False</LeaseRequired></Binding><LicenseInfo Type="Full" LicenseUsage="Offline" LicenseCategory="OEM"><IssuedDate>2015-08-14T18:37:13.4319006Z</IssuedDate><LastUpdateDate>2015-08-14T18:37:13.4012666Z</LastUpdateDate><BeginDate>2015-08-14T18:37:13.4012666Z</BeginDate></LicenseInfo><SPLicenseBlock>FAAAALAAAADJAAAACgAAAAMAAQBZNc5VAgDLAAAAEAAAAJhZIh6g+tRfTbdedobuO0fOAAAASAAAAG0AaQBjAHIAbwBzAG8AZgB0AC4AdwBpAG4AZABvAHcAcwBtAGEAcABzAF8AOAB3AGUAawB5AGIAMwBkADgAYgBiAHcAZQAAAM0AAAAiAAAAAQDbvtpJnXPO25lb2W3B4WnK46bY75PR61pzeamlMtfiFyAAAAAEAAAAWTXOVcwAAABEAAAAAQACANN8MZ29hzAWEw4zd4AlJGL05MsxNF9/IVsiGuyVoQMrRkd3Jq10/ZC9/CmVp8kkN2kLric/voBkrt18pOee0Vc=</SPLicenseBlock><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /><DigestValue>uhTe6JT07JNX3MwvkqYAY94XjcQ+srrbKRR2zu/Qp68=</DigestValue></Reference></SignedInfo><SignatureValue>Fc0hwI//A/ItmRw91c1xGImVVNs7ApUXX8UAOlDYNKh5/710Udf6rh/zSyBNLKxqxW34xEKjqliwVgm6mkkN0iI6Zqxb8N54p10vuNLDdYluqY39nlfwpQaZKt8MD92OKbszZJBGvv727HhzuVzkrSZkS7VckrU5yAvDgR2DXaTxOF2EpBUl0B4HfDIhUCYld0FaBKLje7sqXvPXXMnsx5JluBhnX1qHvCDlxBYdqm8zzPy8942afF/m1jzM/0v2KbN8pXYhwmfGaaa6EoybvYbVmlqTsdmOAyiJmevTrSiYX1LpXNT4knKhtE4w275TI3RhG3HS+myLB0McG4AqOA==</SignatureValue><KeyInfo Id="_0f81b24f-bc40-2712-0d5d-e7c10085c330"><KeyValue><RSAKeyValue><Modulus>oVSJXItDsaAIfwyR9bhh/ZSppCAO+in9POLWdC2/TQodgeHZzbdBvxJvKhpbrq6ZP0FsSElLwRoLAmv7zIuVw3Vb7tfQt5bjCDHRAG9fesNlYKV3ybyNrHyzglfZPRB5UJZw32yi03zQa+LLa05fjs6joEmlHc5BrGQrGrbNMBahz4cmuxKC4/dhEb7JZFUkc0MRhs/M3Ve511HQfKuG+92g1OffJdRsAPzWRdskPoN35knnqno7F85OBmGV/LNBgdtDWUH6di1eUCQFeKGfMp+Q/LFUX9jawTTEPn72tYbpYASug05Skcg6KTHlcLGzevxGw7BYsOsqfDka5n0YGw==</Modulus><Exponent>AAEAAQ==</Exponent></RSAKeyValue></KeyValue></KeyInfo></Signature></License>

View File

@ -0,0 +1 @@
<License xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="01b4d678-9760-447a-baac-8c8a98634bf2" LicenseID="e64ffef1-e246-b632-595b-56076a3fa776" ContentID="9d4ded89-cabc-f4fb-8133-bc5edb1c7eda" Version="3" xmlns="urn:schemas-microsoft-com:windows:store:licensing:ls"><Binding Binding_Type="Machine"><ProductID>9WZDNCRFJBMP</ProductID><PFM>microsoft.windowsstore_8wekyb3d8bbwe</PFM><LicenseInstanceID>20ae9d1d-4b7d-4c35-b7d6-65e31396efd3</LicenseInstanceID><RequestorID>2c3f1d47-426d-c7d7-face-ef1add208818</RequestorID><LeaseRequired>False</LeaseRequired></Binding><LicenseInfo Type="Full" LicenseUsage="Offline" LicenseCategory="OEM"><IssuedDate>2015-06-01T18:28:54.3098854Z</IssuedDate><LastUpdateDate>2015-06-01T18:28:54.3574657Z</LastUpdateDate><BeginDate>2015-06-01T18:28:54.3574657Z</BeginDate></LicenseInfo><SPLicenseBlock>FAAAALIAAADJAAAACgAAAAMAAQBmpGxVAgDLAAAAEAAAAPH+T+ZG4jK2WVtWB2o/p3bOAAAASgAAAG0AaQBjAHIAbwBzAG8AZgB0AC4AdwBpAG4AZABvAHcAcwBzAHQAbwByAGUAXwA4AHcAZQBrAHkAYgAzAGQAOABiAGIAdwBlAAAAzQAAACIAAAABAAaf7l9Jp21JeRrJKBhcbP6ODp40LTKLpK3I9WgJHJhOIAAAAAQAAABmpGxVzAAAAEQAAAABAAIAHJNoXjtSbcT3K6z4K6PvH4xijDdLWKmaFiS9nm3Qze7YKZpMaHEm1aiE13HD0bKHyHyl5tAXOn8UgIHHFZ8i6g==</SPLicenseBlock><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /><DigestValue>RRM/4J8WsRpcxBMBpyvG7aUsW0jEomzv7f++SIVEVDc=</DigestValue></Reference></SignedInfo><SignatureValue>ZoYDzCjHhwPTGGBopKxKsXIuvKveOvKlLVFi3inlQUSG/4yJELe1Eu/3e02s2ImCRq/Zxkue+bWXcQG/YdD8MtAQ1Q1BcqqhW3/xQt7cRBX/dwE+SVxvyFr+l7kNkzg8r7UtMMTPHmVsdH5rGR6Ej0kEW8eqUvq9Tbs6MpXFOzwIYrqbwu+LEeWfmL1UZ0DgcGBEGRupgEBzxS362H6R//oReEN0OgSWUhMZcGBuI0rJIOICntxhU/dtsksxGwwoVPheAeCAdDvjZlShWERm0T9aQnOdDqhVY96sH0DTB90GVwXZsvzksXSzdSk4rbjHRinXBS/2HHXu49iy3dXBjg==</SignatureValue><KeyInfo Id="_0f81b24f-bc40-2712-0d5d-e7c10085c330"><KeyValue><RSAKeyValue><Modulus>oVSJXItDsaAIfwyR9bhh/ZSppCAO+in9POLWdC2/TQodgeHZzbdBvxJvKhpbrq6ZP0FsSElLwRoLAmv7zIuVw3Vb7tfQt5bjCDHRAG9fesNlYKV3ybyNrHyzglfZPRB5UJZw32yi03zQa+LLa05fjs6joEmlHc5BrGQrGrbNMBahz4cmuxKC4/dhEb7JZFUkc0MRhs/M3Ve511HQfKuG+92g1OffJdRsAPzWRdskPoN35knnqno7F85OBmGV/LNBgdtDWUH6di1eUCQFeKGfMp+Q/LFUX9jawTTEPn72tYbpYASug05Skcg6KTHlcLGzevxGw7BYsOsqfDka5n0YGw==</Modulus><Exponent>AAEAAQ==</Exponent></RSAKeyValue></KeyValue></KeyInfo></Signature></License>

69
Pack/Association.10.0.xml Normal file
View File

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<DefaultAssociations>
<Association Identifier=".bmp" ProgId="PhotoViewer.FileAssoc.Bitmap" ApplicationName="Windows Photo Viewer" />
<Association Identifier=".dib" ProgId="PhotoViewer.FileAssoc.Bitmap" ApplicationName="Windows Photo Viewer" />
<Association Identifier=".jfif" ProgId="PhotoViewer.FileAssoc.JFIF" ApplicationName="Windows Photo Viewer" />
<Association Identifier=".jpe" ProgId="PhotoViewer.FileAssoc.Jpeg" ApplicationName="Windows Photo Viewer" />
<Association Identifier=".jpeg" ProgId="PhotoViewer.FileAssoc.Jpeg" ApplicationName="Windows Photo Viewer" />
<Association Identifier=".jpg" ProgId="PhotoViewer.FileAssoc.Jpeg" ApplicationName="Windows Photo Viewer" />
<Association Identifier=".jxr" ProgId="PhotoViewer.FileAssoc.Wdp" ApplicationName="Windows Photo Viewer" />
<Association Identifier=".png" ProgId="PhotoViewer.FileAssoc.Png" ApplicationName="Windows Photo Viewer" />
<Association Identifier=".tif" ProgId="PhotoViewer.FileAssoc.Tiff" ApplicationName="Windows Photo Viewer" />
<Association Identifier=".tiff" ProgId="PhotoViewer.FileAssoc.Tiff" ApplicationName="Windows Photo Viewer" />
<Association Identifier=".wdp" ProgId="PhotoViewer.FileAssoc.Wdp" ApplicationName="Windows Photo Viewer" />
<Association Identifier=".gif" ProgId="PhotoViewer.FileAssoc.Gif" ApplicationName="Windows Photo Viewer" />
<Association Identifier=".ico" ProgId="PhotoViewer.FileAssoc.Ico" ApplicationName="Windows Photo Viewer" />
<Association Identifier=".3g2" ProgId="WMP11.AssocFile.3G2" ApplicationName="Windows Media Player" />
<Association Identifier=".3gp2" ProgId="WMP11.AssocFile.3G2" ApplicationName="Windows Media Player" />
<Association Identifier=".3gpp" ProgId="WMP11.AssocFile.3GP" ApplicationName="Windows Media Player" />
<Association Identifier=".aac" ProgId="WMP11.AssocFile.ADTS" ApplicationName="Windows Media Player" />
<Association Identifier=".adt" ProgId="WMP11.AssocFile.ADTS" ApplicationName="Windows Media Player" />
<Association Identifier=".adts" ProgId="WMP11.AssocFile.ADTS" ApplicationName="Windows Media Player" />
<Association Identifier=".AIF" ProgId="WMP11.AssocFile.AIFF" ApplicationName="Windows Media Player" />
<Association Identifier=".AIFC" ProgId="WMP11.AssocFile.AIFF" ApplicationName="Windows Media Player" />
<Association Identifier=".AIFF" ProgId="WMP11.AssocFile.AIFF" ApplicationName="Windows Media Player" />
<Association Identifier=".ASX" ProgId="WMP11.AssocFile.ASX" ApplicationName="Windows Media Player" />
<Association Identifier=".AU" ProgId="WMP11.AssocFile.AU" ApplicationName="Windows Media Player" />
<Association Identifier=".cda" ProgId="WMP11.AssocFile.CDA" ApplicationName="Windows Media Player" />
<Association Identifier=".flac" ProgId="WMP11.AssocFile.FLAC" ApplicationName="Windows Media Player" />
<Association Identifier=".m1v" ProgId="WMP11.AssocFile.MPEG" ApplicationName="Windows Media Player" />
<Association Identifier=".m2t" ProgId="WMP11.AssocFile.M2TS" ApplicationName="Windows Media Player" />
<Association Identifier=".m2ts" ProgId="WMP11.AssocFile.M2TS" ApplicationName="Windows Media Player" />
<Association Identifier=".m2v" ProgId="WMP11.AssocFile.MPEG" ApplicationName="Windows Media Player" />
<Association Identifier=".m3u" ProgId="WMP11.AssocFile.m3u" ApplicationName="Windows Media Player" />
<Association Identifier=".m4a" ProgId="WMP11.AssocFile.M4A" ApplicationName="Windows Media Player" />
<Association Identifier=".m4v" ProgId="WMP11.AssocFile.MP4" ApplicationName="Windows Media Player" />
<Association Identifier=".MID" ProgId="WMP11.AssocFile.MIDI" ApplicationName="Windows Media Player" />
<Association Identifier=".MIDI" ProgId="WMP11.AssocFile.MIDI" ApplicationName="Windows Media Player" />
<Association Identifier=".MK3D" ProgId="WMP11.AssocFile.MK3D" ApplicationName="Windows Media Player" />
<Association Identifier=".MKA" ProgId="WMP11.AssocFile.MKA" ApplicationName="Windows Media Player" />
<Association Identifier=".mod" ProgId="WMP11.AssocFile.MPEG" ApplicationName="Windows Media Player" />
<Association Identifier=".MP2" ProgId="WMP11.AssocFile.MP3" ApplicationName="Windows Media Player" />
<Association Identifier=".mp2v" ProgId="WMP11.AssocFile.MPEG" ApplicationName="Windows Media Player" />
<Association Identifier=".mp3" ProgId="WMP11.AssocFile.MP3" ApplicationName="Windows Media Player" />
<Association Identifier=".mp4v" ProgId="WMP11.AssocFile.MP4" ApplicationName="Windows Media Player" />
<Association Identifier=".mpa" ProgId="WMP11.AssocFile.MPEG" ApplicationName="Windows Media Player" />
<Association Identifier=".MPE" ProgId="WMP11.AssocFile.MPEG" ApplicationName="Windows Media Player" />
<Association Identifier=".mpeg" ProgId="WMP11.AssocFile.mpeg" ApplicationName="Windows Media Player" />
<Association Identifier=".mpv2" ProgId="WMP11.AssocFile.MPEG" ApplicationName="Windows Media Player" />
<Association Identifier=".mts" ProgId="WMP11.AssocFile.M2TS" ApplicationName="Windows Media Player" />
<Association Identifier=".RMI" ProgId="WMP11.AssocFile.MIDI" ApplicationName="Windows Media Player" />
<Association Identifier=".SND" ProgId="WMP11.AssocFile.AU" ApplicationName="Windows Media Player" />
<Association Identifier=".TTS" ProgId="WMP11.AssocFile.TTS" ApplicationName="Windows Media Player" />
<Association Identifier=".wav" ProgId="WMP11.AssocFile.WAV" ApplicationName="Windows Media Player" />
<Association Identifier=".WAX" ProgId="WMP11.AssocFile.WAX" ApplicationName="Windows Media Player" />
<Association Identifier=".wma" ProgId="WMP11.AssocFile.WMA" ApplicationName="Windows Media Player" />
<Association Identifier=".wmd" ProgId="WMP11.AssocFile.WMD" ApplicationName="Windows Media Player" />
<Association Identifier=".wms" ProgId="WMP11.AssocFile.WMS" ApplicationName="Windows Media Player" />
<Association Identifier=".WMX" ProgId="WMP11.AssocFile.ASX" ApplicationName="Windows Media Player" />
<Association Identifier=".wmz" ProgId="WMP11.AssocFile.WMZ" ApplicationName="Windows Media Player" />
<Association Identifier=".WPL" ProgId="WMP11.AssocFile.WPL" ApplicationName="Windows Media Player" />
<Association Identifier=".WVX" ProgId="WMP11.AssocFile.WVX" ApplicationName="Windows Media Player" />
<Association Identifier="mms" ProgId="WMP11.AssocProtocol.MMS" ApplicationName="Windows Media Player" />
<Association Identifier="dlna-playsingle" ProgId="WMP11.AssocProtocol.DLNA-PLAYSINGLE" ApplicationName="Windows Media Player" />
<Association Identifier=".htm" ProgId="htmlfile" ApplicationName="Internet Explorer" />
<Association Identifier=".html" ProgId="htmlfile" ApplicationName="Internet Explorer" />
<Association Identifier="http" ProgId="IE.HTTP" ApplicationName="Internet Explorer" />
<Association Identifier="https" ProgId="IE.HTTPS" ApplicationName="Internet Explorer" />
<Association Identifier=".pdf" ProgId="AppXpb70zjqtk3t28a113bn3z345x1bhvt7e" ApplicationName="Foxit MobilePDF" />
</DefaultAssociations>

10
Pack/Extra/Win32Calc.cmd Normal file
View File

@ -0,0 +1,10 @@
rem 修复计算器快捷方式显示名称
pushd "%~1\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories"
findstr /i /c:"Calculator.lnk=" desktop.ini >nul
if errorlevel 1 (
type desktop.ini>desktop2.ini
echo.Calculator.lnk=@%%SystemRoot%%\system32\shell32.dll,-22019>>desktop2.ini
move /y desktop2.ini desktop.ini >nul
attrib +h +s desktop.ini >nul
)
popd

BIN
Pack/Extra/Win32Calc.tpk Normal file

Binary file not shown.

View File

@ -0,0 +1,66 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\calculator]
@="URL:calculator"
"URL Protocol"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\calculator\DefaultIcon]
@="%SystemRoot%\\System32\\win32calc.exe,0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\calculator\shell\open\command]
@="%SystemRoot%\\System32\\win32calc.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Management\WindowsFeatureCategories]
"COMMONSTART/Programs/Accessories/Calculator.lnk"="SOFTWARE_CATEGORY_UTILITIES"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ShellCompatibility\InboxApp]
"56230F2FD0CC3EB4_Calculator_lnk_amd64.lnk"=hex(2):43,00,3a,00,5c,00,50,00,72,\
00,6f,00,67,00,72,00,61,00,6d,00,44,00,61,00,74,00,61,00,5c,00,4d,00,69,00,\
63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,\
00,77,00,73,00,5c,00,53,00,74,00,61,00,72,00,74,00,20,00,4d,00,65,00,6e,00,\
75,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,73,00,5c,00,41,00,63,\
00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,00,73,00,5c,00,43,00,61,00,\
6c,00,63,00,75,00,6c,00,61,00,74,00,6f,00,72,00,2e,00,6c,00,6e,00,6b,00,00,\
00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Calculator/Debug]
"OwningPublisher"="{75f48521-4131-4ac3-9887-65473224fcb2}"
"Enabled"=dword:00000000
"Isolation"=dword:00000000
"ChannelAccess"="O:BAG:SYD:(A;;0x2;;;S-1-15-2-1)(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x7;;;SO)(A;;0x3;;;IU)(A;;0x3;;;SU)(A;;0x3;;;S-1-5-3)(A;;0x3;;;S-1-5-33)(A;;0x1;;;S-1-5-32-573)"
"Type"=dword:00000003
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Calculator/Diagnostic]
"OwningPublisher"="{75f48521-4131-4ac3-9887-65473224fcb2}"
"Enabled"=dword:00000000
"Isolation"=dword:00000000
"ChannelAccess"="O:BAG:SYD:(A;;0x2;;;S-1-15-2-1)(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x7;;;SO)(A;;0x3;;;IU)(A;;0x3;;;SU)(A;;0x3;;;S-1-5-3)(A;;0x3;;;S-1-5-33)(A;;0x1;;;S-1-5-32-573)"
"Type"=dword:00000002
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{75f48521-4131-4ac3-9887-65473224fcb2}]
@="Microsoft-Windows-Calculator"
"ResourceFileName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,\
00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,\
5c,00,77,00,69,00,6e,00,33,00,32,00,63,00,61,00,6c,00,63,00,2e,00,65,00,78,\
00,65,00,00,00
"MessageFileName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,77,00,69,00,6e,00,33,00,32,00,63,00,61,00,6c,00,63,00,2e,00,65,00,78,00,\
65,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{75f48521-4131-4ac3-9887-65473224fcb2}\ChannelReferences]
"Count"=dword:00000002
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{75f48521-4131-4ac3-9887-65473224fcb2}\ChannelReferences\0]
@="Microsoft-Windows-Calculator/Diagnostic"
"Id"=dword:00000010
"Flags"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{75f48521-4131-4ac3-9887-65473224fcb2}\ChannelReferences\1]
@="Microsoft-Windows-Calculator/Debug"
"Id"=dword:00000011
"Flags"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\App Management\WindowsFeatureCategories]
"COMMONSTART/Programs/Accessories/Calculator.lnk"="SOFTWARE_CATEGORY_UTILITIES"

View File

@ -0,0 +1,63 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\calculator]
@="URL:calculator"
"URL Protocol"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\calculator\DefaultIcon]
@="%SystemRoot%\\System32\\win32calc.exe,0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\calculator\shell\open\command]
@="%SystemRoot%\\System32\\win32calc.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Management\WindowsFeatureCategories]
"COMMONSTART/Programs/Accessories/Calculator.lnk"="SOFTWARE_CATEGORY_UTILITIES"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ShellCompatibility\InboxApp]
"56230F2FD0CC3EB4_Calculator_lnk_x86.lnk"=hex(2):43,00,3a,00,5c,00,50,00,72,\
00,6f,00,67,00,72,00,61,00,6d,00,44,00,61,00,74,00,61,00,5c,00,4d,00,69,00,\
63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,\
00,77,00,73,00,5c,00,53,00,74,00,61,00,72,00,74,00,20,00,4d,00,65,00,6e,00,\
75,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,73,00,5c,00,41,00,63,\
00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,00,73,00,5c,00,43,00,61,00,\
6c,00,63,00,75,00,6c,00,61,00,74,00,6f,00,72,00,2e,00,6c,00,6e,00,6b,00,00,\
00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Calculator/Debug]
"OwningPublisher"="{75f48521-4131-4ac3-9887-65473224fcb2}"
"Enabled"=dword:00000000
"Isolation"=dword:00000000
"ChannelAccess"="O:BAG:SYD:(A;;0x2;;;S-1-15-2-1)(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x7;;;SO)(A;;0x3;;;IU)(A;;0x3;;;SU)(A;;0x3;;;S-1-5-3)(A;;0x3;;;S-1-5-33)(A;;0x1;;;S-1-5-32-573)"
"Type"=dword:00000003
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Calculator/Diagnostic]
"OwningPublisher"="{75f48521-4131-4ac3-9887-65473224fcb2}"
"Enabled"=dword:00000000
"Isolation"=dword:00000000
"ChannelAccess"="O:BAG:SYD:(A;;0x2;;;S-1-15-2-1)(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x7;;;SO)(A;;0x3;;;IU)(A;;0x3;;;SU)(A;;0x3;;;S-1-5-3)(A;;0x3;;;S-1-5-33)(A;;0x1;;;S-1-5-32-573)"
"Type"=dword:00000002
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{75f48521-4131-4ac3-9887-65473224fcb2}]
@="Microsoft-Windows-Calculator"
"ResourceFileName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,\
00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,\
5c,00,77,00,69,00,6e,00,33,00,32,00,63,00,61,00,6c,00,63,00,2e,00,65,00,78,\
00,65,00,00,00
"MessageFileName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,77,00,69,00,6e,00,33,00,32,00,63,00,61,00,6c,00,63,00,2e,00,65,00,78,00,\
65,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{75f48521-4131-4ac3-9887-65473224fcb2}\ChannelReferences]
"Count"=dword:00000002
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{75f48521-4131-4ac3-9887-65473224fcb2}\ChannelReferences\0]
@="Microsoft-Windows-Calculator/Diagnostic"
"Id"=dword:00000010
"Flags"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{75f48521-4131-4ac3-9887-65473224fcb2}\ChannelReferences\1]
@="Microsoft-Windows-Calculator/Debug"
"Id"=dword:00000011
"Flags"=dword:00000000

Binary file not shown.

1
Pack/NetFx3/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.cab

195
Pack/Optimize/10.0.reg Normal file
View File

@ -0,0 +1,195 @@
Windows Registry Editor Version 5.00
;显示桌面系统图标
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
;个人文件夹
"{59031a47-3f72-44a7-89c5-5595fe6b30ee}"=dword:00000000
;回收站
"{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000000
;此电脑
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
;隐藏此电脑的文件夹
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag]
"ThisPCPolicy"="Hide"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag]
"ThisPCPolicy"="Hide"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag]
"ThisPCPolicy"="Hide"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag]
"ThisPCPolicy"="Hide"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag]
"ThisPCPolicy"="Hide"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag]
"ThisPCPolicy"="Hide"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag]
"ThisPCPolicy"="Hide"
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer]
;隐藏操作中心任务栏图标
;"DisableNotificationCenter"=dword:00000001
;隐藏任务栏人脉
;"HidePeopleBar"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
;去掉快捷方式字样
"link"=hex:00,00,00,00
;快速访问中不显示最近文件和常用文件夹
"ShowRecent"=dword:00000000
"ShowFrequent"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;显示所有文件扩展名
"HideFileExt"=dword:00000000
"Hidden"=dword:00000002
;不显示复选框
"AutoCheckSelect"=dword:00000000
;打开资源管理器时打开此电脑
"LaunchTo"=dword:00000001
;开始菜单不显示新安装的项目
"Start_NotifyNewApps"=dword:00000000
"Start_TrackProgs"=dword:00000000
;不显示任务视图按钮
"ShowTaskViewButton"=dword:00000000
;禁用资源管理器通知
"ShowSyncProviderNotifications"=dword:00000000
;开始按钮右键命令提示符
"DontUsePowerShellOnWinX"=dword:00000001
;隐藏任务栏人脉
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People]
"PeopleBand"=dword:00000000
;禁用小娜
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
"AllowCortana"=dword:00000000
"DisableWebSearch"=dword:00000001
"ConnectedSearchUseWeb"=dword:00000000
"ConnectedSearchUseWebOverMeteredConnections"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
"AllowCortana"=dword:00000000
"BingSearchEnabled"=dword:00000000
"CortanaEnabled"=dword:00000000
"SearchboxTaskbarMode"=dword:00000000
;任务栏:"搜索框"变为"搜索图标"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
"SearchboxTaskbarMode"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer]
;关闭应用商店中查找应用
"NoUseStoreOpenWith"=dword:00000001
;关闭 Aero Shake
"NoWindowMinimizingShortcuts"=dword:00000001
;跳过首次打开WMP时出现协议窗口
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer]
"GroupPrivacyAcceptance"=dword:00000001
;禁用 Windows Defender
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender]
"DisableAntiSpyware"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SecurityHealthService]
"Start"=dword:00000004
;禁用 家庭组
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\HomeGroup]
"DisableHomeGroup"=dword:00000001
;屏蔽MRT推送
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MRT]
"DontOfferThroughWUAU"=dword:00000001
;禁止自动更新驱动程序
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching]
"SearchOrderConfig"=dword:00000002
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager]
;禁用预装应用
"OemPreInstalledAppsEnabled"=dword:00000000
"PreInstalledAppsEnabled"=dword:00000000
;禁止自动安装推荐程序
"SilentInstalledAppsEnabled"=dword:00000000
;开始菜单禁用建议
"SystemPaneSuggestionsEnabled"=dword:00000000
"SubscribedContent-338388Enabled"=dword:00000000
;禁止获取技巧和建议
"SoftLandingEnabled"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent]
"DisableWindowsConsumerFeatures"=dword:00000001
;Win10标题栏彩色
[HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM]
"ColorPrevalence"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"ColorPrevalence"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MicrosoftEdge]
"PreventFirstRunPage"=dword:00000001
;IE优化
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Start Page"="about:blank"
"AlwaysShowMenus"=dword:00000000
"RunOnceHasShown"=dword:00000001
"RunOnceComplete"=dword:00000001
"DisableFirstRunCustomize"=dword:00000001
"Isolation"="PMIL"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\LinksBar]
"Enabled"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar]
"Locked"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar\WebBrowser]
"ITBar7Position"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TabbedBrowsing]
"WarnOnClose"=dword:00000000
"OpenInForeground"=dword:00000001
"OpenAllHomePages"=dword:00000000
"PopupsUseNewWindow"=dword:00000002
"ShortcutBehavior"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes]
"DefaultScope"="{4FF09968-687A-4D3C-B68E-C877DE114418}"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{4FF09968-687A-4D3C-B68E-C877DE114418}]
"DisplayName"="百度一下"
"URL"="http://www.baidu.com/s?wd={searchTerms}&ie=utf-8"
"ShowSearchSuggestions"=dword:00000001
"FaviconURL"="http://www.baidu.com/favicon.ico"
"SuggestionsURL"=""
"SuggestionsURL_JSON"="http://suggestion.baidu.com/su?wd={searchTerms}&action=opensearch&ie={inputEncoding}&from=ie8"
"PreviewURL"=""
[-HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{0633EE93-D776-472f-A0FF-E1416B8B2E3A}]
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{0633EE93-D776-472f-A0FF-E1416B8B2E3A}]
"Deleted"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Activities\地图\bing.com]
"Enabled"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Activities\电子邮件\live.com]
"Enabled"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Activities\翻译\microsofttranslator.com]
"Enabled"=dword:00000000
;IE去广告
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Safety\PrivacIE]
"FilteringMode"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Safety\PrivacIE\Lists\{77C8DF8B-9502-4FE8-837C-00077879A1C8}]
"Name"="EasyList China+EasyList"
"Url"="http://easylist-msie.adblockplus.org/easylistchina+easylist.tpl"
"Enabled"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Safety\PrivacIE\Lists\{EA4CFFF6-9FDE-45F3-8129-739D045B5ECD}]
"Name"="Fanboy Adblock List"
"Url"="http://www.fanboy.co.nz/adblock/ie/fanboy-noele.tpl"
"Enabled"=dword:00000001
;隐藏IE右上角的笑脸
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions]
"NoHelpItemSendFeedback"=dword:00000001
;在单独一行上显示选项卡
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MINIE]
"ShowTabsBelowAddressBar"=dword:00000000
;UTC 时间
;[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\TimeZoneInformation]
;"RealTimeIsUniversal"=dword:00000001
;取消OneDrive安装
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"OneDriveSetup"=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"SecurityHealth"=-

View File

@ -0,0 +1,18 @@
Windows Registry Editor Version 5.00
;64位系统额外选项
;隐藏此电脑的文件夹
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag]
"ThisPCPolicy"="Hide"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag]
"ThisPCPolicy"="Hide"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag]
"ThisPCPolicy"="Hide"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag]
"ThisPCPolicy"="Hide"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag]
"ThisPCPolicy"="Hide"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag]
"ThisPCPolicy"="Hide"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag]
"ThisPCPolicy"="Hide"

127
Pack/Optimize/6.1.reg Normal file
View File

@ -0,0 +1,127 @@
Windows Registry Editor Version 5.00
;屏蔽IE11推送
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Setup\11.0]
"DoNotAllowIE11"=dword:00000001
;屏蔽IE10推送
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Setup\10.0]
"DoNotAllowIE10"=dword:00000001
;屏蔽IE9推送
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Setup\9.0]
"DoNotAllowIE90"=dword:00000001
;屏蔽MRT推送
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MRT]
"DontOfferThroughWUAU"=dword:00000001
;显示桌面系统图标
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
;个人文件夹
"{59031a47-3f72-44a7-89c5-5595fe6b30ee}"=dword:00000000
;回收站
"{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000000
;此电脑
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
;去掉快捷方式字样
"link"=hex:00,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;显示运行
"Start_ShowRun"=dword:00000001
;禁止高亮显示新安装的程序(开始菜单)
"Start_NotifyNewApps"=dword:00000000
;显示所有文件扩展名
"HideFileExt"=dword:00000000
;取消游戏里“下载有关已安装游戏的技巧和信息”和“收集最近玩过的游戏信息”
[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\GameUX]
"FirstRunDialogLaunched"=dword:00000001
"DownLoadGameInfo"=dword:00000000
"ListRecentlyPlayed"=dword:00000000
;语言栏隐藏到任务拦
[HKEY_CURRENT_USER\Software\Microsoft\CTF\MSUTB]
"ShowDeskBand"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\CTF\LangBar]
"ShowStatus"=dword:00000004
"ExtraIconsOnMinimized"=dword:00000000
;隐藏操作中心
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"HideSCAHealth"=dword:00000001
;关闭驱动程序验证
[HKEY_CURRENT_USER\Software\Microsoft\Driver Signing]
"Policy"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Driver Signing]
"Policy"=hex:01
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT\Driver Signing]
"BehaviorOnFailedVerify"=dword:00000001
;关闭UAC通知
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"UacDisableNotify"=dword:00000001
;跳过首次打开WMP时出现协议窗口
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer]
"GroupPrivacyAcceptance"=dword:00000001
;禁用 家庭组
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\HomeGroup]
"DisableHomeGroup"=dword:00000001
;IE优化
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main]
"DisableFirstRunCustomize"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Start Page"="about:blank"
"AlwaysShowMenus"=dword:00000000
"RunOnceHasShown"=dword:00000001
"RunOnceComplete"=dword:00000001
"Isolation"="PMIL"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\LinksBar]
"Enabled"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar]
"Locked"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar\WebBrowser]
"ITBar7Position"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TabbedBrowsing]
"WarnOnClose"=dword:00000000
"OpenInForeground"=dword:00000001
"OpenAllHomePages"=dword:00000000
"PopupsUseNewWindow"=dword:00000002
"ShortcutBehavior"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes]
"DefaultScope"="{4FF09968-687A-4D3C-B68E-C877DE114418}"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{4FF09968-687A-4D3C-B68E-C877DE114418}]
"DisplayName"="百度一下"
"URL"="http://www.baidu.com/s?wd={searchTerms}&ie=utf-8"
"ShowSearchSuggestions"=dword:00000001
"FaviconURL"="http://www.baidu.com/favicon.ico"
"SuggestionsURL"=""
"SuggestionsURL_JSON"="http://suggestion.baidu.com/su?wd={searchTerms}&action=opensearch&ie={inputEncoding}&from=ie8"
"PreviewURL"=""
[-HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{0633EE93-D776-472f-A0FF-E1416B8B2E3A}]
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{0633EE93-D776-472f-A0FF-E1416B8B2E3A}]
"Deleted"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Activities\地图\bing.com]
"Enabled"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Activities\电子邮件\live.com]
"Enabled"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Activities\翻译\microsofttranslator.com]
"Enabled"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Activities\博客\live.com]
"Enabled"=dword:00000000
;IE去广告
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Safety\PrivacIE]
"FilteringMode"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Safety\PrivacIE\Lists\{77C8DF8B-9502-4FE8-837C-00077879A1C8}]
"Name"="EasyList China+EasyList"
"Url"="http://easylist-msie.adblockplus.org/easylistchina+easylist.tpl"
"Enabled"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Safety\PrivacIE\Lists\{EA4CFFF6-9FDE-45F3-8129-739D045B5ECD}]
"Name"="Fanboy Adblock List"
"Url"="http://www.fanboy.co.nz/adblock/ie/fanboy-noele.tpl"
"Enabled"=dword:00000001

117
Pack/Optimize/6.3.reg Normal file
View File

@ -0,0 +1,117 @@
Windows Registry Editor Version 5.00
;显示桌面系统图标
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{59031a47-3f72-44a7-89c5-5595fe6b30ee}"=dword:00000000
"{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000000
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
"{871C5380-42A0-1069-A2EA-08002B30309D}"=dword:00000000
;隐藏我的电脑里的六个文件夹
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}]
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer]
;关闭应用商店中查找应用
"NoUseStoreOpenWith"=dword:00000001
;关闭 Aero Shake
"NoWindowMinimizingShortcuts"=dword:00000001
;跳过首次打开WMP时出现协议窗口
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer]
"GroupPrivacyAcceptance"=dword:00000001
;禁用 Windows Defender
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender]
"DisableAntiSpyware"=dword:00000001
;禁用 家庭组
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\HomeGroup]
"DisableHomeGroup"=dword:00000001
;屏蔽MRT推送
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MRT]
"DontOfferThroughWUAU"=dword:00000001
;禁止自动更新驱动程序
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching]
"SearchOrderConfig"=dword:00000002
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;显示所有文件扩展名
"HideFileExt"=dword:00000000
"Hidden"=dword:00000002
;不显示复选框
"AutoCheckSelect"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
;去掉快捷方式字样
"link"=hex:00,00,00,00
;快速访问中不显示最近文件和常用文件夹
"ShowRecent"=dword:00000000
"ShowFrequent"=dword:00000000
;IE优化
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main]
"DisableFirstRunCustomize"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Start Page"="about:blank"
"AlwaysShowMenus"=dword:00000000
"RunOnceHasShown"=dword:00000001
"RunOnceComplete"=dword:00000001
"Isolation"="PMIL"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\LinksBar]
"Enabled"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar]
"Locked"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar\WebBrowser]
"ITBar7Position"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TabbedBrowsing]
"WarnOnClose"=dword:00000000
"OpenInForeground"=dword:00000001
"OpenAllHomePages"=dword:00000000
"PopupsUseNewWindow"=dword:00000002
"ShortcutBehavior"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes]
"DefaultScope"="{4FF09968-687A-4D3C-B68E-C877DE114418}"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{4FF09968-687A-4D3C-B68E-C877DE114418}]
"DisplayName"="百度一下"
"URL"="http://www.baidu.com/s?wd={searchTerms}&ie=utf-8"
"ShowSearchSuggestions"=dword:00000001
"FaviconURL"="http://www.baidu.com/favicon.ico"
"SuggestionsURL"=""
"SuggestionsURL_JSON"="http://suggestion.baidu.com/su?wd={searchTerms}&action=opensearch&ie={inputEncoding}&from=ie8"
"PreviewURL"=""
[-HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{0633EE93-D776-472f-A0FF-E1416B8B2E3A}]
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{0633EE93-D776-472f-A0FF-E1416B8B2E3A}]
"Deleted"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Activities\地图\bing.com]
"Enabled"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Activities\电子邮件\live.com]
"Enabled"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Activities\翻译\microsofttranslator.com]
"Enabled"=dword:00000000
;IE去广告
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Safety\PrivacIE]
"FilteringMode"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Safety\PrivacIE\Lists\{77C8DF8B-9502-4FE8-837C-00077879A1C8}]
"Name"="EasyList China+EasyList"
"Url"="http://easylist-msie.adblockplus.org/easylistchina+easylist.tpl"
"Enabled"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Safety\PrivacIE\Lists\{EA4CFFF6-9FDE-45F3-8129-739D045B5ECD}]
"Name"="Fanboy Adblock List"
"Url"="http://www.fanboy.co.nz/adblock/ie/fanboy-noele.tpl"
"Enabled"=dword:00000001
;在单独一行上显示选项卡
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MINIE]
"ShowTabsBelowAddressBar"=dword:00000000
;UTC 时间
;[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\TimeZoneInformation]
;"RealTimeIsUniversal"=dword:00000001
;取消OneDrive安装
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"OneDriveSetup"=-

10
Pack/Optimize/6.3.x64.reg Normal file
View File

@ -0,0 +1,10 @@
Windows Registry Editor Version 5.00
;64位系统额外选项
;隐藏我的电脑里的六个文件夹
[-HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}]

44
Pack/Optimize/Context.reg Normal file
View File

@ -0,0 +1,44 @@
Windows Registry Editor Version 5.00
;英特尔集显右键菜单
;[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shellex\ContextMenuHandlers\igfxDTCM]
;[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shellex\ContextMenuHandlers\igfxcui]
;右键 "兼容性疑难解答"
;[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shellex\ContextMenuHandlers\Compatibility]
;[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Msi.Package\shellex\ContextMenuHandlers\Compatibility]
;[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\batfile\shellex\ContextMenuHandlers\Compatibility]
;[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\cmdfile\shellex\ContextMenuHandlers\Compatibility]
;右键 "Windows Defender扫描"
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shellex\ContextMenuHandlers\EPP]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\EPP]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\EPP]
;磁盘右键 "启用Bitlocker"
;[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\encrypt-bde\command]
;[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\encrypt-bde]
;[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\encrypt-bde-elev\command]
;[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\encrypt-bde-elev]
;磁盘右键 "以便携方式打开"
;[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shellex\ContextMenuHandlers\{D6791A63-E7E2-4fee-BF52-5DED8E86E9B8}]
;移除右键新建 ZIP
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.contact\ShellNew]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.rar\ShellNew]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.zip\ShellNew]
;磁盘右键 "刻录到光盘"
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shellex\ContextMenuHandlers\{fbeb8a05-beee-4442-804e-409d6c4515e9}]
;右键 "共享"
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\ModernSharing]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\Sharing]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\Sharing]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shellex\ContextMenuHandlers\Sharing]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shellex\ContextMenuHandlers\Sharing]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\LibraryFolder\background\shellex\ContextMenuHandlers\Sharing]
;右键 "固定到快速访问"
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\pintohome\command]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\pintohome]
;右键 "工作文件夹"
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\WorkFolders]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shellex\ContextMenuHandlers\WorkFolders]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shell\LaunchWorkfoldersControl\command]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shell\LaunchWorkfoldersControl]
;右键 "包含到库中"
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shellex\ContextMenuHandlers\Library Location]

74
Pack/Optimize/Photo.cmd Normal file
View File

@ -0,0 +1,74 @@
:: Importing Registry Settings for Setting Windows Photo Viewer as the Default Photo Viewer
Reg add "HKLM\TK_SOFTWARE\Classes\Applications\photoviewer.dll\shell\open" /v "MuiVerb" /t REG_SZ /d "@photoviewer.dll,-3043" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\Applications\photoviewer.dll\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\Applications\photoviewer.dll\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\Applications\photoviewer.dll\shell\print\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\Applications\photoviewer.dll\shell\print\DropTarget" /v "Clsid" /t REG_SZ /d "{60fd46de-f830-4894-a628-6fa81bc0190d}" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Gif" /v "FriendlyTypeName" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll,-3057" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Gif" /v "ImageOptionFlags" /t REG_DWORD /d "1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Gif\DefaultIcon" /ve /t REG_SZ /d "%%SystemRoot%%\System32\imageres.dll,-83" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Gif\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Gif\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.JFIF" /v "EditFlags" /t REG_DWORD /d "65536" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.JFIF" /v "FriendlyTypeName" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll,-3055" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.JFIF" /v "ImageOptionFlags" /t REG_DWORD /d "1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.JFIF\DefaultIcon" /ve /t REG_SZ /d "%%SystemRoot%%\System32\imageres.dll,-72" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.JFIF\shell\open" /v "MuiVerb" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\photoviewer.dll,-3043" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.JFIF\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.JFIF\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Jpeg" /v "EditFlags" /t REG_DWORD /d "65536" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Jpeg" /v "FriendlyTypeName" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll,-3055" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Jpeg" /v "ImageOptionFlags" /t REG_DWORD /d "1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Jpeg\DefaultIcon" /ve /t REG_SZ /d "%%SystemRoot%%\System32\imageres.dll,-72" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Jpeg\shell\open" /v "MuiVerb" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\photoviewer.dll,-3043" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Jpeg\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Jpeg\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Png" /v "FriendlyTypeName" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll,-3057" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Png" /v "ImageOptionFlags" /t REG_DWORD /d "1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Png\DefaultIcon" /ve /t REG_SZ /d "%%SystemRoot%%\System32\imageres.dll,-71" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Png\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Png\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Tiff" /v "FriendlyTypeName" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll,-3058" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Tiff" /v "ImageOptionFlags" /t REG_DWORD /d "1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Tiff\DefaultIcon" /ve /t REG_SZ /d "%%SystemRoot%%\System32\imageres.dll,-122" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Tiff\shell\open" /v "MuiVerb" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\photoviewer.dll,-3043" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Tiff\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Tiff\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Wdp" /v "EditFlags" /t REG_DWORD /d "65536" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Wdp" /v "ImageOptionFlags" /t REG_DWORD /d "1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Wdp\DefaultIcon" /ve /t REG_SZ /d "%%SystemRoot%%\System32\wmphoto.dll,-400" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Wdp\shell\open" /v "MuiVerb" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\photoviewer.dll,-3043" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Wdp\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Wdp\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Bitmap" /v "FriendlyTypeName" /t REG_EXPAND_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll,-3056" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Bitmap" /v "ImageOptionFlags" /t REG_DWORD /d "1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Bitmap\DefaultIcon" /ve /t REG_SZ /d "%%SystemRoot%%\System32\imageres.dll,-70" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Bitmap\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\System32\rundll32.exe \"%%ProgramFiles%%\Windows Photo Viewer\PhotoViewer.dll\", ImageView_Fullscreen %%1" /f >nul
Reg add "HKLM\TK_SOFTWARE\Classes\PhotoViewer.FileAssoc.Bitmap\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f >nul
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities" /v "ApplicationDescription" /t REG_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\photoviewer.dll,-3069" /f >nul
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities" /v "ApplicationName" /t REG_SZ /d "@%%ProgramFiles%%\Windows Photo Viewer\photoviewer.dll,-3009" /f >nul
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".bmp" /t REG_SZ /d "PhotoViewer.FileAssoc.Bitmap" /f >nul
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".dib" /t REG_SZ /d "PhotoViewer.FileAssoc.Bitmap" /f >nul
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".gif" /t REG_SZ /d "PhotoViewer.FileAssoc.Gif" /f >nul
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jfif" /t REG_SZ /d "PhotoViewer.FileAssoc.JFIF" /f >nul
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpe" /t REG_SZ /d "PhotoViewer.FileAssoc.Jpeg" /f >nul
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpeg" /t REG_SZ /d "PhotoViewer.FileAssoc.Jpeg" /f >nul
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpg" /t REG_SZ /d "PhotoViewer.FileAssoc.Jpeg" /f >nul
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jxr" /t REG_SZ /d "PhotoViewer.FileAssoc.Wdp" /f >nul
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".png" /t REG_SZ /d "PhotoViewer.FileAssoc.Png" /f >nul
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".tif" /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f >nul
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".tiff" /t REG_SZ /d "PhotoViewer.FileAssoc.Tiff" /f >nul
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".wdp" /t REG_SZ /d "PhotoViewer.FileAssoc.Wdp" /f >nul
rem Removing Edit with Paint 3D Option Right Click Context Menu Registry Keys
Reg delete "HKLM\TK_SOFTWARE\Classes\SystemFileAssociations\.3mf\Shell\3D Edit" /f >nul 2>&1
Reg delete "HKLM\TK_SOFTWARE\Classes\SystemFileAssociations\.bmp\Shell\3D Edit" /f >nul 2>&1
Reg delete "HKLM\TK_SOFTWARE\Classes\SystemFileAssociations\.fbx\Shell\3D Edit" /f >nul 2>&1
Reg delete "HKLM\TK_SOFTWARE\Classes\SystemFileAssociations\.gif\Shell\3D Edit" /f >nul 2>&1
Reg delete "HKLM\TK_SOFTWARE\Classes\SystemFileAssociations\.jfif\Shell\3D Edit" /f >nul 2>&1
Reg delete "HKLM\TK_SOFTWARE\Classes\SystemFileAssociations\.jpe\Shell\3D Edit" /f >nul 2>&1
Reg delete "HKLM\TK_SOFTWARE\Classes\SystemFileAssociations\.jpeg\Shell\3D Edit" /f >nul 2>&1
Reg delete "HKLM\TK_SOFTWARE\Classes\SystemFileAssociations\.jpg\Shell\3D Edit" /f >nul 2>&1
Reg delete "HKLM\TK_SOFTWARE\Classes\SystemFileAssociations\.png\Shell\3D Edit" /f >nul 2>&1
Reg delete "HKLM\TK_SOFTWARE\Classes\SystemFileAssociations\.tif\Shell\3D Edit" /f >nul 2>&1
Reg delete "HKLM\TK_SOFTWARE\Classes\SystemFileAssociations\.tiff\Shell\3D Edit" /f >nul 2>&1

1
Pack/Optimize/Server.reg Normal file
View File

@ -0,0 +1 @@
Windows Registry Editor Version 5.00 ;禁用按 CTRL+ALT+DEL [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] "DisableCAD"=dword:00000001 ;禁用按锁屏画面 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization] "NoLockScreen"=dword:00000001 ;禁用关机事件跟踪 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsNT\Reliability] "ShutdownReasonOn"=dword:00000000 "ShutdownReasonUI"=dword:00000000 ;启动不显示管理您的服务器 [HKEY_CURRENT_USER\SOFTWARE\Microsoft\ServerManager] "DoNotOpenServerManagerAtLogon"=dword:00000001

View File

@ -0,0 +1 @@
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Synaptics\SynTP\TouchPadPS2TM1800] "2FingerTapAction"=dword:00000002 [HKEY_LOCAL_MACHINE\SOFTWARE\Synaptics\SynTP\Win10] "2FingerTapAction"=dword:00000002 ;[HKEY_CURRENT_USER\Software\Synaptics\SynTPEnh\ZoneConfig\TouchPadPS2TM1800\2FHorizontalScrolling] ;"UserZoneFlags"=dword:00000005 ;[HKEY_CURRENT_USER\Software\Synaptics\SynTPEnh\ZoneConfig\TouchPadPS2TM1800\2FVerticalScrolling] ;"UserZoneFlags"=dword:00000005

View File

@ -0,0 +1,57 @@
;遥测服务
Microsoft-OneCore-TroubleShooting-Package
Microsoft-OneCore-TroubleShooting-WOW64-Package
Microsoft-OneCore-AllowTelemetry-Reduced-Default-Package
Microsoft-Windows-ContentDeliveryManager-Package
;Edge浏览器
Microsoft-Windows-Internet-Browser-Package
;帮助支持
Microsoft-Windows-ContactSupport-Package
;混合现实服务
Microsoft-OneCore-Analog-Capture-AppCapture-Stub-Package
Microsoft-OneCore-Analog-PerceptionApi-Stub-Package
Microsoft-Windows-Client-Features-Package-AutoMerged-analog
Microsoft-Windows-Client-Features-WOW64-Package-AutoMerged-analog
Microsoft-Windows-Holographic-Desktop-Analog-Package
Microsoft-Windows-Holographic-Desktop-Merged-Package
Microsoft-Windows-Holographic-Desktop-Merged-WOW64-Package
;快速助手
Microsoft-Windows-QuickAssist-Package
;连接
Microsoft-Windows-Non-LTSB-RegulatedPackages-Package
;离线文件
Microsoft-Windows-RetailDemo-OfflineContent-Content-Package
Microsoft-Windows-RetailDemo-OfflineContent-Content-zh-CN-Package
Microsoft-Windows-OfflineFiles-Package
Microsoft-Windows-OfflineFiles-WOW64-Package
;文件管理器
Microsoft-Windows-DesktopFileExplorer-Package
;OneDrive
Microsoft-Windows-OneDrive-Setup-Package
Microsoft-Windows-OneDrive-Setup-WOW64-Package
;Hyper-V
Microsoft-Hyper-V-ClientEdition-Package
;Microsoft-Hyper-V-ClientEdition-WOW64-Package
;Microsoft-Hyper-V-ServerEdition-Package
;Microsoft-Hyper-V-ServerEdition-WOW64-Package
HyperV-Guest-DynamicMemory-Package
HyperV-Guest-Heartbeat-Package
HyperV-Guest-IcSvcExt-Package
HyperV-Guest-KMCL-Package
HyperV-Guest-KvpExchange-Package
HyperV-Guest-Networking-Emulated-Package
HyperV-Guest-Networking-Synthetic-Package
HyperV-Guest-Networking-SrIov-Package
HyperV-Guest-RemoteFx-Package
HyperV-Guest-Shutdown-Package
HyperV-Guest-Storage-Filter-Package
HyperV-Guest-Storage-Synthetic-Package
HyperV-Guest-TimeSync-Package
HyperV-Guest-VmBus-Package
HyperV-HvSocket-WOW64-Package
Microsoft-Windows-HyperV-Guest-Package
Microsoft-Windows-HyperV-Guest-WOW64-Package
HyperV-Feature-ApplicationGuard-Package
HyperV-Feature-Containers-Package
HyperV-Host-Compute-Interop-Package
HyperV-Host-Compute-PowerShell-Module-Package

View File

@ -0,0 +1,48 @@
;遥测服务
Microsoft-OneCore-TroubleShooting-Package
Microsoft-OneCore-AllowTelemetry-Reduced-Default-Package
Microsoft-Windows-ContentDeliveryManager-Package
;Edge浏览器
Microsoft-Windows-Internet-Browser-Package
;帮助支持
Microsoft-Windows-ContactSupport-Package
;混合现实服务
Microsoft-OneCore-Analog-Capture-AppCapture-Stub-Package
Microsoft-OneCore-Analog-PerceptionApi-Stub-Package
Microsoft-Windows-Client-Features-Package-AutoMerged-analog
Microsoft-Windows-Holographic-Desktop-Analog-Package
Microsoft-Windows-Holographic-Desktop-Merged-Package
;快速助手
Microsoft-Windows-QuickAssist-Package
;连接
Microsoft-Windows-Non-LTSB-RegulatedPackages-Package
;离线文件
Microsoft-Windows-RetailDemo-OfflineContent-Content-Package
Microsoft-Windows-RetailDemo-OfflineContent-Content-zh-CN-Package
Microsoft-Windows-OfflineFiles-Package
;文件管理器
Microsoft-Windows-DesktopFileExplorer-Package
;OneDrive
Microsoft-Windows-OneDrive-Setup-Package
;Hyper-V
Microsoft-Hyper-V-ClientEdition-Package
HyperV-Guest-DynamicMemory-Package
HyperV-Guest-Heartbeat-Package
HyperV-Guest-IcSvcExt-Package
HyperV-Guest-KMCL-Package
HyperV-Guest-KvpExchange-Package
HyperV-Guest-Networking-Emulated-Package
HyperV-Guest-Networking-Synthetic-Package
HyperV-Guest-Networking-SrIov-Package
HyperV-Guest-RemoteFx-Package
HyperV-Guest-Shutdown-Package
HyperV-Guest-Storage-Filter-Package
HyperV-Guest-Storage-Synthetic-Package
HyperV-Guest-TimeSync-Package
HyperV-Guest-VmBus-Package
HyperV-HvSocket-Package
Microsoft-Windows-HyperV-Guest-Package
HyperV-Feature-ApplicationGuard-Package
HyperV-Feature-Containers-Package
HyperV-Host-Compute-Interop-Package
HyperV-Host-Compute-PowerShell-Module-Package

View File

@ -0,0 +1,49 @@
;遥测服务
Microsoft-Windows-ContentDeliveryManager-Package
;Edge浏览器
Microsoft-Windows-Internet-Browser-Package
;混合现实服务
Microsoft-Windows-Holographic-Desktop-Analog-Package
Microsoft-Windows-Holographic-Desktop-Merged-Package
Microsoft-Windows-Holographic-Desktop-Merged-WOW64-Package
;快速助手
Microsoft-Windows-QuickAssist-Package
;连接
Microsoft-Windows-Non-LTSB-RegulatedPackages-Package
;离线文件
Microsoft-Windows-OfflineFiles-Package
Microsoft-Windows-OfflineFiles-WOW64-Package
;OneDrive
Microsoft-Windows-OneDrive-Setup-Package
Microsoft-Windows-OneDrive-Setup-WOW64-Package
;文件管理器
Microsoft-Windows-DesktopFileExplorer-Package
;Skype视频
Microsoft-Windows-Skype-ORTC-Package
Microsoft-Windows-Skype-ORTC-WOW64-Package
;Hyper-V
Microsoft-Hyper-V-ClientEdition-Package
;Microsoft-Hyper-V-ClientEdition-WOW64-Package
;Microsoft-Hyper-V-ServerEdition-Package
;Microsoft-Hyper-V-ServerEdition-WOW64-Package
HyperV-Guest-DynamicMemory-Package
HyperV-Guest-Heartbeat-Package
HyperV-Guest-IcSvcExt-Package
HyperV-Guest-KMCL-Package
HyperV-Guest-KvpExchange-Package
HyperV-Guest-Networking-Emulated-Package
HyperV-Guest-Networking-Synthetic-Package
HyperV-Guest-Networking-SrIov-Package
HyperV-Guest-RemoteFx-Package
HyperV-Guest-Shutdown-Package
HyperV-Guest-Storage-Filter-Package
HyperV-Guest-Storage-Synthetic-Package
HyperV-Guest-TimeSync-Package
HyperV-Guest-VmBus-Package
HyperV-HvSocket-WOW64-Package
Microsoft-Windows-HyperV-Guest-Package
Microsoft-Windows-HyperV-Guest-WOW64-Package
HyperV-Feature-ApplicationGuard-Package
HyperV-Feature-Containers-Package
HyperV-Host-Compute-Interop-Package
HyperV-Host-Compute-PowerShell-Module-Package

View File

@ -0,0 +1,41 @@
;遥测服务
Microsoft-Windows-ContentDeliveryManager-Package
;Edge浏览器
Microsoft-Windows-Internet-Browser-Package
;混合现实服务
Microsoft-Windows-Holographic-Desktop-Analog-Package
Microsoft-Windows-Holographic-Desktop-Merged-Package
;快速助手
Microsoft-Windows-QuickAssist-Package
;连接
Microsoft-Windows-Non-LTSB-RegulatedPackages-Package
;离线文件
Microsoft-Windows-OfflineFiles-Package
;OneDrive
Microsoft-Windows-OneDrive-Setup-Package
;文件管理器
Microsoft-Windows-DesktopFileExplorer-Package
;Skype视频
Microsoft-Windows-Skype-ORTC-Package
;Hyper-V
Microsoft-Hyper-V-ClientEdition-Package
HyperV-Guest-DynamicMemory-Package
HyperV-Guest-Heartbeat-Package
HyperV-Guest-IcSvcExt-Package
HyperV-Guest-KMCL-Package
HyperV-Guest-KvpExchange-Package
HyperV-Guest-Networking-Emulated-Package
HyperV-Guest-Networking-Synthetic-Package
HyperV-Guest-Networking-SrIov-Package
HyperV-Guest-RemoteFx-Package
HyperV-Guest-Shutdown-Package
HyperV-Guest-Storage-Filter-Package
HyperV-Guest-Storage-Synthetic-Package
HyperV-Guest-TimeSync-Package
HyperV-Guest-VmBus-Package
HyperV-HvSocket-Package
Microsoft-Windows-HyperV-Guest-Package
HyperV-Feature-ApplicationGuard-Package
HyperV-Feature-Containers-Package
HyperV-Host-Compute-Interop-Package
HyperV-Host-Compute-PowerShell-Module-Package

1
Pack/RollupFix/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.cab

View File

@ -0,0 +1,8 @@
@echo off
powercfg /h off
RMDIR /S /Q "%WINDIR%\Panther"
%~dp0"AAct.exe" /taskwin /wingvlk /win=act
cd %~dp0
attrib -R -A -S -H *.*
RMDIR /S /Q "%WINDIR%\Setup\Scripts"
exit

17
Pack/StartLayout.xml Normal file
View File

@ -0,0 +1,17 @@
<LayoutModificationTemplate xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" Version="1" xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification">
<LayoutOptions StartTileGroupCellWidth="6" />
<DefaultLayoutOverride>
<StartLayoutCollection>
<defaultlayout:StartLayout GroupCellWidth="6">
<start:Group Name="">
<start:DesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\File Explorer.lnk" />
<start:DesktopApplicationTile Size="2x2" Column="2" Row="0" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\Command Prompt.lnk" />
<start:DesktopApplicationTile Size="2x2" Column="4" Row="0" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\Control Panel.lnk" />
<start:DesktopApplicationTile Size="2x2" Column="0" Row="2" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\System Tools\Task Manager.lnk" />
<start:DesktopApplicationTile Size="2x2" Column="2" Row="2" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Snipping Tool.lnk" />
<start:Tile Size="2x2" Column="4" Row="2" AppUserModelID="Microsoft.WindowsStore_8wekyb3d8bbwe!App" />
</start:Group>
</defaultlayout:StartLayout>
</StartLayoutCollection>
</DefaultLayoutOverride>
</LayoutModificationTemplate>

57
Pack/Unattend.10.0.xml Normal file
View File

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>0804:00000409</InputLocale>
<SystemLocale>zh-CN</SystemLocale>
<UILanguage>zh-CN</UILanguage>
<UILanguageFallback>zh-CN</UILanguageFallback>
<UserLocale>zh-CN</UserLocale>
</component>
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>0804:00000409</InputLocale>
<SystemLocale>zh-CN</SystemLocale>
<UILanguage>zh-CN</UILanguage>
<UILanguageFallback>zh-CN</UILanguageFallback>
<UserLocale>zh-CN</UserLocale>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<ProtectYourPC>2</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
</OOBE>
<DesktopOptimization>
<ShowWindowsStoreAppsOnTaskbar>false</ShowWindowsStoreAppsOnTaskbar>
</DesktopOptimization>
<WindowsFeatures>
<ShowInternetExplorer>true</ShowInternetExplorer>
</WindowsFeatures>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<ProtectYourPC>2</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
</OOBE>
<DesktopOptimization>
<ShowWindowsStoreAppsOnTaskbar>false</ShowWindowsStoreAppsOnTaskbar>
</DesktopOptimization>
<WindowsFeatures>
<ShowInternetExplorer>true</ShowInternetExplorer>
</WindowsFeatures>
</component>
</settings>
<settings pass="specialize">
<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>
</unattend>

33
Pack/Unattend.Admin.xml Normal file
View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoLogon>
<Username>Administrator</Username>
<Enabled>true</Enabled>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>2</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoLogon>
<Username>Administrator</Username>
<Enabled>true</Enabled>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>2</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
</component>
</settings>
</unattend>

15
Pack/Unattend.Audit.xml Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Reseal>
<Mode>Audit</Mode>
</Reseal>
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Reseal>
<Mode>Audit</Mode>
</Reseal>
</component>
</settings>
</unattend>

1
Pack/Update/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.cab

View File

@ -1,2 +1,70 @@
# WimHelper
Wim 封装助手
# Wim 封装助手
参考 [MSMG ToolKit](https://forums.mydigitallife.net/threads/msmg-toolkit.50572/) 编写的Windows安装镜像处理脚本
* WimExport.cmd 用于制作多合一镜像自动生成镜像描述
* WimHelper.cmd 用于镜像精简优化修改
* MakeISO.cmd 用于ISO镜像生成
## 目录说明
* Pack\Appx UWP应用程序目录
* Pack\Extra 额外集成包目录
* Pack\NetFx3 .Net3.5 封包目录
* Pack\Optimize 注册表优化相关
* Pack\RollupFix 积累更新目录(需要重启系统才能安装的更新)
* Pack\Update 更新目录(无需重启便能安装的更新如Flash更新)
## 使用配置
运行批处理前需先配置好 Pack 中的优化设定
### 1. 安装镜像获取
访问 https://tb.rg-adguard.net/index.php 下载原版镜像
系统|版本号|32位|64位
----|------|----|----
Win10 1709|10.0.16299|[China](http://fg.ds.b1.download.windowsupdate.com/c/Upgr/2017/10/16299.15.170928-1534.rs3_release_clientchina_ret_x86fre_zh-cn_1e9f9ef43f16fdd67a2cc4749ed6c38c9058705c.esd) [Consumer](http://fg.ds.b1.download.windowsupdate.com/c/Upgr/2017/10/16299.15.170928-1534.rs3_release_clientconsumer_ret_x86fre_zh-cn_b411ad9fd3236d4cf5ec7d3debe0ef155791995f.esd) [Business](http://wsus.ds.b1.download.windowsupdate.com/c/upgr/2017/10/16299.15.170928-1534.rs3_release_clientbusiness_vol_x86fre_zh-cn_4b0a6afdf690b2424f083d4b6633dd9f7f1ab0e1.esd)|[China](http://fg.ds.b1.download.windowsupdate.com/c/Upgr/2017/10/16299.15.170928-1534.rs3_release_clientchina_ret_x64fre_zh-cn_b96c8d4f2beb0666dc965ed012bc59468269e1d8.esd) [Consumer](http://fg.ds.b1.download.windowsupdate.com/c/Upgr/2017/10/16299.15.170928-1534.rs3_release_clientconsumer_ret_x64fre_zh-cn_cc52c191fda2caff9d5b6730ee88a11758dc0138.esd) [Business](http://wsus.ds.b1.download.windowsupdate.com/c/upgr/2017/10/16299.15.170928-1534.rs3_release_clientbusiness_vol_x64fre_zh-cn_d6bf989c6b57c7246fa72fec1e564808c3ee3255.esd)
### 2. 更新补丁获取
访问 [Microsoft Update Catalog](http://www.catalog.update.microsoft.com/Home.aspx) 在搜索补丁下载地址,以下是 Win10 补丁搜索的快捷连接
系统|版本号|更新
----|------|-------
Win10 1607|10.0.14393|[32位](http://www.catalog.update.microsoft.com/Search.aspx?q=Windows%2010%20Version%201607+x86) [64位](http://www.catalog.update.microsoft.com/Search.aspx?q=Windows%2010%20Version%201607+x64)
Win10 1703|10.0.15063|[32位](http://www.catalog.update.microsoft.com/Search.aspx?q=Windows%2010%20Version%201703+x86) [64位](http://www.catalog.update.microsoft.com/Search.aspx?q=Windows%2010%20Version%201703+x64)
Win10 1709|10.0.16299|[32位](http://www.catalog.update.microsoft.com/Search.aspx?q=Windows%2010%20Version%201709+x86) [64位](http://www.catalog.update.microsoft.com/Search.aspx?q=Windows%2010%20Version%201709+x64)
其中积累更新放置到 `Pack\RollupFix\镜像版本号`Flash 和其他更新放置到 `Pack\Update\镜像版本号`
### 3. .Net 3.5 封包获取
将安装镜像中的 `\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab` 复制到 `Pack\NetFx3\镜像版本号`
### 4. 组件精简设定
修改 `Pack\RemoveList.镜像版本号.txt` 中组件包列表,
组件包名称可通过 [SxsHelper](https://github.com/dragonflylee/SxsHelper/releases) 的导出功能获取
### 5. 开始菜单布局设定
首先设置好当前系统的开始菜单布局,
然后在 PowerShell 中输入命令 `Export-StartLayout path StartLayout.xml`
将生成的 xml 复制到 Pack 目录中覆盖同名文件
### 6. UWP应用获取
首先停止 wuauserv 服务并删除 `%WinDir%\SoftwareDistribution\DataStore` 目录
之后在商店中购买下载安装应用
再次停止 wuauserv 服务,并打开 [ESEDatabaseView](http://www.nirsoft.net/utils/ese_database_view.html), 选择 Files => Open SoftwareDistribution Database => 选择 tbFiles 表,在 Urls 那一列找到 AppxBundle 文件的下载地址 (此Url临时有效时间长了会过期)
## 使用说明
下载 [WimHelper-master.zip](https://github.com/dragonflylee/WimHelper/archive/master.zip) 并解压
运行 `WimHelper.cmd [wim镜像路径]` 即可享受全自动镜像处理

154
WimExport.cmd Normal file
View File

@ -0,0 +1,154 @@
@echo off
rem 获取管理员权限
pushd "%~dp0" && Dism 1>nul 2>nul || mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 "%*"","","runas",1)(window.close) && Exit /B 1
rem 设置变量
color 1F
mode con cols=120
set "ESDPath=%~1"
if "%ESDPath%" equ "" call :SelectFolder
rem call :ExportISO "E G", "%~dp0install.wim"
for %%i in (x86 x64) do call :MakeRS3 "%ESDPath%", "%~dp0DVD_%%i", "%%i"
goto :Exit
:SelectFolder
set folder=mshta "javascript:var folder=new ActiveXObject('Shell.Application').BrowseForFolder(0,'选择ESD镜像所在目录', 513, '');if(folder) new ActiveXObject('Scripting.FileSystemObject').GetStandardStream(1).Write(folder.Self.Path);window.close();"
for /f %%f in ('%folder%') do set "ESDPath=%%f"
if "%ESDPath%" equ "" goto :Exit
goto :eof
rem 导出ISO镜像 [ %~1 : 盘符列表[空格分隔], %~2 : 目标路径 ]
:ExportISO
if exist "%~2" del /q "%~2"
for %%i in (%~1) do call :ExportImage "%%i:\sources\install.wim", "%~2"
goto :eof
rem 导出RS2镜像 [ %~1 : 源路径, %~2 : 目标路径, %~3 处理器架构 ]
:MakeRS2
if not exist "%~1" echo [%~1] 不存在 && goto :eof
if exist "%~2" rd /s /q "%~2"
set "WimPath=%~dp0install_RS2_%~3_%date:~0,4%%date:~5,2%%date:~8,2%.wim"
if exist "%WimPath%" del /q "%WimPath%"
rem 导出安装镜像
for %%i in (combinedchina enterprise) do (
for %%j in ("%~1\*.rs2_release_*%%i*_%~3fre_*.esd") do (
if not exist "%~2" call :ExportDVD "%%j", "%~2"
call :ExportImage "%%j", "%WimPath%"
)
)
call "%~dp0WimHelper.cmd" "%WimPath%", "%~2\sources\install.esd"
rem 生成ISO镜像
for /f "tokens=3 delims=." %%f in ('Dism /English /Get-ImageInfo /ImageFile:"%WimPath%" /Index:1 ^| findstr /i Version') do ( set "ImageRevision=%%f" )
for /f "tokens=4" %%f in ('Dism /English /Get-ImageInfo /ImageFile:"%WimPath%" /Index:1 ^| find "ServicePack Level"') do ( set "ImageBuild=%%f" )
for /f "tokens=* delims=" %%f in ('Dism.exe /English /Get-ImageInfo /ImageFile:"%WimPath%" /Index:1 ^| findstr /i Default') do ( set "ImageLanguage=%%f" )
call "%~dp0MakeISO.cmd" "%~2" "Win10_%ImageRevision%.%ImageBuild%_RS2_%~3_%ImageLanguage:~1,-10%"
rd /s /q "%~2"
rem 生成二合一镜像
Dism /Export-Image /SourceImageFile:"%WimPath%" /All /DestinationImageFile:"%~dp0cn_windows_10_1703_%ImageRevision%.%ImageBuild%_x86_x64.esd" /Compress:recovery
del /q "%WimPath%"
goto :eof
rem 导出RS3镜像 [ %~1 : 源路径, %~2 : 目标路径, %~3 处理器架构 ]
:MakeRS3
if not exist "%~1" echo [%~1] 不存在 && goto :eof
if exist "%~2" rd /s /q "%~2"
set "WimPath=%~dp0install_RS3_%~3_%date:~0,4%%date:~5,2%%date:~8,2%.wim"
if exist "%WimPath%" del /q "%WimPath%"
rem 导出安装镜像
for %%i in (consumer china business) do (
for %%j in ("%~1\*.rs3_release_*%%i*_%~3fre_*.esd") do (
if not exist "%~2" call :ExportDVD "%%j", "%~2"
call :ExportImage "%%j", "%WimPath%"
)
)
call "%~dp0WimHelper.cmd" "%WimPath%", "%~2\sources\install.esd"
rem 生成ISO镜像
for /f "tokens=3 delims=." %%f in ('Dism /English /Get-ImageInfo /ImageFile:"%WimPath%" /Index:1 ^| findstr /i Version') do ( set "ImageRevision=%%f" )
for /f "tokens=4" %%f in ('Dism /English /Get-ImageInfo /ImageFile:"%WimPath%" /Index:1 ^| find "ServicePack Level"') do ( set "ImageBuild=%%f" )
for /f "tokens=* delims=" %%f in ('Dism.exe /English /Get-ImageInfo /ImageFile:"%WimPath%" /Index:1 ^| findstr /i Default') do ( set "ImageLanguage=%%f" )
call "%~dp0MakeISO.cmd" "%~2" "Win10_%ImageRevision%.%ImageBuild%_RS3_%~3_%ImageLanguage:~1,-10%"
rd /s /q "%~2"
rem 生成二合一镜像
Dism /Export-Image /SourceImageFile:"%WimPath%" /All /DestinationImageFile:"%~dp0cn_windows_10_1709_%ImageRevision%.%ImageBuild%_x86_x64.esd" /Compress:recovery
del /q "%WimPath%"
goto :eof
rem 生成DVD镜像目录 [ %~1 : 源路径, %~2 : 目标路径 ]
:ExportDVD
md "%~2"
Dism /Apply-Image /ImageFile:"%~1" /Index:1 /ApplyDir:"%~2"
rem 获取版本信息
for /f "tokens=3" %%f in ('Dism /English /Get-ImageInfo /ImageFile:"%~1" /Index:3 ^| findstr /i Version') do ( set "FullVersion=%%f" )
for /f "tokens=3" %%f in ('Dism /English /Get-ImageInfo /ImageFile:"%~1" /Index:3 ^| findstr /i Architecture') do ( set "ImageArch=%%f" )
set "NetFx3Path=%~dp0Pack\NetFx3\%FullVersion%.%ImageArch%"
if not exist "%NetFx3Path%" xcopy /I /H /R /Y "%~2\sources\sxs" "%NetFx3Path%" >nul
rem 清理无用文件
del /q "%~2\setup.exe"
del /q "%~2\autorun.inf"
rd /s /q "%~2\support"
rd /s /q "%~2\boot\zh-cn"
for /f "tokens=* delims=" %%f in ('dir /a:d /b "%~2\sources"') do rd /s /q "%~2\sources\%%f"
for /f "tokens=* delims=" %%f in ('dir /a:-d /b "%~2\sources" ^| findstr /v "setup.exe"') do del /q "%~2\sources\%%f"
for /f "tokens=* delims=" %%f in ('dir /a:-d /b "%~2\boot" ^| findstr /v "bcd boot.sdi etfsboot.com"') do del /q "%~2\boot\%%f"
for /f "tokens=* delims=" %%f in ('dir /a:-d /b "%~2\boot\fonts" ^| findstr /v "chs wgl4"') do del /q "%~2\boot\fonts\%%f"
for /f "tokens=* delims=" %%f in ('dir /a:-d /b "%~2\efi\microsoft\boot" ^| findstr /v "bcd efisys.bin"') do del /q "%~2\efi\microsoft\boot\%%f"
for /f "tokens=* delims=" %%f in ('dir /a:-d /b "%~2\efi\microsoft\boot\fonts" ^| findstr /v "chs wgl4"') do del /q "%~2\efi\microsoft\boot\fonts\%%f"
rem 导出WinPE
Dism /Export-Image /SourceImageFile:"%~1" /SourceIndex:3 /DestinationImageFile:"%~2\sources\boot.wim" /Bootable /Compress:max
goto :eof
rem ############################################################################################
rem 工具函数
rem ############################################################################################
rem 导出镜像 [ %~1 : 镜像路径, %~2 : 目标路径 ]
:ExportImage
if not exist "%~1" ( echo.镜像 %~1 不存在 && goto :eof )
for /f "tokens=2 delims=: " %%f in ('Dism /English /Get-ImageInfo /ImageFile:"%~1" ^| findstr /i Index') do ( call :ExportImageIndex "%~1", %%f, "%~2" )
goto :eof
rem 导出镜像 [ %~1 : 镜像路径, %~2 : 镜像序号, %~3 : 目标路径 ]
:ExportImageIndex
rem 获取镜像信息
for /f "tokens=3" %%f in ('Dism /English /Get-ImageInfo /ImageFile:"%~1" /Index:%~2 ^| findstr /i Installation') do ( set "ImageType=%%f" )
for /f "tokens=2,3 delims=:. " %%f in ('Dism /English /Get-ImageInfo /ImageFile:"%~1" /Index:%~2 ^| findstr /i Version') do ( set "ImageVersion=%%f.%%g" )
rem 系统名称
if "%ImageType%" equ "Client" (
if "%ImageVersion%" equ "6.1" ( set "ImageName=Windows 7" )
if "%ImageVersion%" equ "6.2" ( set "ImageName=Windows 8" )
if "%ImageVersion%" equ "6.3" ( set "ImageName=Windows 8.1" )
if "%ImageVersion%" equ "10.0" ( set "ImageName=Windows 10" )
) else if "%ImageType%" equ "Server" (
if "%ImageVersion%" equ "6.1" ( set "ImageName=Windows 2008 R2" )
if "%ImageVersion%" equ "6.2" ( set "ImageName=Windows 2012" )
if "%ImageVersion%" equ "6.3" ( set "ImageName=Windows 2012 R2" )
if "%ImageVersion%" equ "10.0" ( set "ImageName=Windows 2016" )
) else ( goto :eof )
rem 系统版本
for /f "tokens=3" %%f in ('Dism /English /Get-ImageInfo /ImageFile:"%~1" /Index:%~2 ^| findstr /i Edition') do ( set "ImageEdition=%%f" )
if "%ImageEdition%" equ "Cloud" ( goto :eof )
if "%ImageEdition%" equ "CoreCountrySpecific" ( set "ImageName=%ImageName% 家庭中文版" )
if "%ImageEdition%" equ "CoreSingleLanguage" ( set "ImageName=%ImageName% 家庭单语言版" )
if "%ImageEdition%" equ "Core" ( set "ImageName=%ImageName% 家庭版" )
if "%ImageEdition%" equ "Education" ( set "ImageName=%ImageName% 教育版" )
if "%ImageEdition%" equ "Professional" ( set "ImageName=%ImageName% 专业版" )
if "%ImageEdition%" equ "Enterprise" ( set "ImageName=%ImageName% 企业版" )
if "%ImageEdition%" equ "ServerStandard" ( set "ImageName=%ImageName% 标准版" )
if "%ImageEdition%" equ "ServerEnterprise" ( set "ImageName=%ImageName% 企业版" )
if "%ImageEdition%" equ "ServerWeb" ( set "ImageName=%ImageName% Web版" )
if "%ImageEdition%" equ "ServerDatacenter" ( set "ImageName=%ImageName% 数据中心版" )
rem 处理器架构
rem for /f "tokens=3" %%f in ('Dism /English /Get-ImageInfo /ImageFile:"%~1" /Index:%~2 ^| findstr /i Architecture') do ( set "ImageArch=%%f" )
rem if "%ImageArch%" equ "x86" ( set "ImageName=%ImageName% 32位" )
rem if "%ImageArch%" equ "x64" ( set "ImageName=%ImageName% 64位" )
rem 判断是否有重复镜像
for /f "tokens=3" %%f in ('Dism /English /Get-ImageInfo /ImageFile:"%~3" /Name:"%ImageName%" ^| findstr /i Index') do ( echo 镜像 %ImageName% 已存在 %%f && goto :eof )
rem 导出格式
if /i "%~x3" equ ".wim" ( set "Compress=/Compress:max" )
if /i "%~x3" equ ".esd" ( set "Compress=/Compress:recovery" )
Dism /Export-Image /SourceImageFile:"%~1" /SourceIndex:%~2 /DestinationImageFile:"%~3" /DestinationName:"%ImageName%" %Compress%
goto :eof
:Exit
if "%~1" equ "" pause

402
WimHelper.cmd Normal file
View File

@ -0,0 +1,402 @@
@echo off
rem 获取管理员权限
pushd "%~dp0" && Dism 1>nul 2>nul || mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 "%*"","","runas",1)(window.close) && Exit /B 1
rem 设置变量
color 1F
mode con cols=120
cls
setlocal EnableDelayedExpansion
set NSudo="%~dp0Bin\%PROCESSOR_ARCHITECTURE%\NSudo.exe"
set "Dism=Dism.exe /NoRestart /LogLevel:1"
set "MNT=%~dp0Mount"
set "TMP=%~dp0Temp"
set "ImagePath=%~1"
rem 脚本起始
:Start
if "%ImagePath%" equ "" goto :SelectImage
if not exist "%ImagePath%" ( echo 镜像 %ImagePath% 不存在 && goto :Exit )
Dism /Get-ImageInfo /ImageFile:"%ImagePath%" 1>nul 2>nul || echo 文件 %ImagePath% 不是有效的镜像文件 && goto :Exit
title 正在初始化
call :CleanUp
md "%TMP%" && md "%MNT%"
call :MakeWim "%ImagePath%", "%~2"
goto :Exit
rem 选择镜像
:SelectImage
set selectimage=mshta "about:<input type=file id=f><script>f.click();new ActiveXObject('Scripting.FileSystemObject').GetStandardStream(1).Write(f.value);window.close();</script>"
for /f "tokens=* delims=" %%f in ('%selectimage%') do set "ImagePath=%%f"
if "%ImagePath%" equ "" goto :Exit
goto :Start
rem 处理镜像 [ %~1 : 镜像文件路径 ]
:MakeWim
if /i "%~x1" equ ".esd" ( call :MakeESD "%~1" && goto :eof )
for /f "tokens=3" %%f in ('Dism.exe /English /Get-ImageInfo /ImageFile:"%~1" ^| findstr /i Index') do ( set "ImageCount=%%f" )
for /l %%f in (1, 1, %ImageCount%) do call :MakeWimIndex "%~1", %%f, "%MNT%"
call :ImageOptimize "%~1"
rem 导出为ESD镜像
if /i "%~x2" equ ".esd" %Dism% /Export-Image /SourceImageFile:"%~1" /All /DestinationImageFile:"%~2" /CheckIntegrity /Compress:recovery
goto :eof
rem 处理镜像 [ %~1 : 镜像文件路径 ]
:MakeESD
setlocal
set "WimPath=%TMP%\%~n1.wim"
Dism.exe /Export-Image /SourceImageFile:"%~1" /All /DestinationImageFile:"%WimPath%" /CheckIntegrity /Compress:max
call :MakeWim "%WimPath%", "%~1"
call :RemoveFile "%WimPath%"
endlocal
goto :eof
rem 处理镜像 [ %~1 : 镜像文件路径, %~2 : 镜像序号, %~3 : 挂载路径 ]
:MakeWimIndex
call :GetImageInfo "%~1", %~2
title 正在处理 [%~2] 镜像 %ImageName% 版本 %ImageVersion% 语言 %ImageLanguage%
%Dism% /Mount-Wim /WimFile:"%~1" /Index:%~2 /MountDir:"%~3"
call :RemoveAppx "%~3"
for /f %%f in ('type "%~dp0Pack\RemoveList.%ImageVersion%.%ImageArch%.txt" 2^>nul') do call :RemoveComponent "%~3", "%%f"
call :IntRollupFix "%~3"
call :AddAppx "%~3", "DesktopAppInstaller", "VCLibs.14"
call :AddAppx "%~3", "Store", "Runtime.1.6 Framework.1.6"
call :AddAppx "%~3", "FoxitMobilePDF"
call :ImportOptimize "%~3"
call :ImportUnattend "%~3"
call :ImageClean "%~3"
%Dism% /Commit-Image /MountDir:"%~3"
call :ImportUnattend "%~3", "Admin"
call :ImageClean "%~3"
%Dism% /Commit-Image /MountDir:"%~3" /Append
%Dism% /Unmount-Wim /MountDir:"%~3" /Discard
rem 处理Admin分卷
set /a "ImageAdmin=%ImageCount%+%~2"
%Dism% /Export-Image /SourceImageFile:"%~1" /SourceIndex:%~2 /DestinationImageFile:"%TMP%\%~nx1"
%Dism% /Export-Image /SourceImageFile:"%~1" /SourceIndex:%ImageAdmin% /DestinationImageFile:"%TMP%\%~nx1" /DestinationName:"%ImageName% [Admin]"
goto :eof
rem 处理lopatkin镜像 [ %~1 : 镜像文件路径, %~2 : 镜像序号, %~3 : 挂载路径 ]
:MakeWimIndex2
call :GetImageInfo "%~1", %~2
title 正在处理 [%~2] 镜像 %ImageName% 版本 %ImageVersion% 语言 %ImageLanguage%
%Dism% /Mount-Wim /WimFile:"%~1" /Index:%~2 /MountDir:"%~3"
rem 修复默认用户头像
xcopy /E /I /H /R /Y /J "%~dp0Pack\UAP\%ImageShortVersion%\*.*" "%~3\ProgramData\Microsoft\User Account Pictures" >nul
call :MountImageRegistry "%~3"
rem 修复默认主题
call :RemoveFolder "%~3\Windows\Web\Wallpaper\Theme1"
call :RemoveFile "%~3\Windows\Resources\Themes\Theme1.theme"
reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\LastTheme" /v "ThemeFile" /t REG_EXPAND_SZ /d "%%SystemRoot%%\Resources\Themes\Aero.theme" /f >nul
rem 修复设备管理器英文
for /f "tokens=2 delims=@," %%j in ('reg query "HKLM\TK_SYSTEM\ControlSet001\Control\Class" /v "ClassDesc" /s ^| findstr /i inf') do (
for %%i in (System32\DriverStore\zh-CN INF) do (
for %%f in (%SystemRoot%\%%i\%%j*) do %NSudo% cmd.exe /c copy /Y "%%f" "%~3\Windows\%%i\%%~nxf"
)
)
call :UnMountImageRegistry
call :ImportOptimize "%~3"
if "%ImageType%" equ "Server" (
call :ImportUnattend "%~3"
) else (
call :ImportUnattend "%~3", "Admin"
)
call :ImageClean "%~3"
%Dism% /Unmount-Wim /MountDir:"%~3" /Commit
goto :eof
rem ############################################################################################
rem 组件集成相关
rem ############################################################################################
rem 集成积累更新 [ %~1 : 镜像挂载路径 ]
:IntRollupFix
setlocal
call :MountImageRegistry "%~1"
rem Enable DISM Image Cleanup with Full ResetBase...
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Configuration" /v "DisableResetbase" /t REG_DWORD /d "0" /f >nul
call :UnMountImageRegistry
set "UpdatePath=%~dp0Pack\Update\%ImageVersion%.%ImageArch%"
if exist "%UpdatePath%" (
%Dism% /Image:"%~1" /Add-Package /ScratchDir:"%TMP%" /PackagePath:"%UpdatePath%"
rem %Dism% /Image:"%~1" /Cleanup-Image /ScratchDir:"%TMP%" /StartComponentCleanup /ResetBase
)
call :IntFeature "%~1", "NetFx3"
set "RollupPath=%~dp0Pack\RollupFix\%ImageVersion%.%ImageArch%"
if exist "%RollupPath%" (
%Dism% /Image:"%~1" /Add-Package /ScratchDir:"%TMP%" /PackagePath:"%RollupPath%"
call :IntRecovery "%~1", "%RollupPath%"
)
endlocal
%NSudo% cmd.exe /c rd /s /q "%~1\Windows\WinSxS\ManifestCache"
goto :eof
rem 向 WinRe 集成更新 [ %~1 : 镜像挂载路径, %~2 更新包路径 ]
:IntRecovery
setlocal
set "WinrePath=%TMP%\Winre.%ImageVersion%.%ImageArch%.wim"
if not exist "%WinrePath%" (
call :RemoveFolder "%TMP%\RE"
md "%TMP%\RE"
echo.挂载镜像 [%WinrePath%]
%Dism% /Mount-Wim /WimFile:"%~1\Windows\System32\Recovery\Winre.wim" /Index:1 /MountDir:"%TMP%\RE" /Quiet
call :MountImageRegistry "%TMP%\RE"
rem Enable DISM Image Cleanup with Full ResetBase...
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Configuration" /v "DisableResetbase" /t REG_DWORD /d "0" /f >nul
call :UnMountImageRegistry
echo.集成更新 [%WinrePath%]
%Dism% /Image:"%TMP%\RE" /Add-Package /ScratchDir:"%TMP%" /PackagePath:"%~2" /Quiet
%Dism% /Image:"%TMP%\RE" /Cleanup-Image /ScratchDir:"%TMP%" /StartComponentCleanup /ResetBase /Quiet
call :ImageClean "%TMP%\RE"
echo.保存镜像 [%WinrePath%]
%Dism% /Unmount-Wim /MountDir:"%TMP%\RE" /Commit /Quiet
echo.优化镜像 [%WinrePath%]
%Dism% /Export-Image /SourceImageFile:"%~1\Windows\System32\Recovery\Winre.wim" /All /DestinationImageFile:"%WinrePath%" /CheckIntegrity /Compress:max /Quiet
)
copy /Y "%WinrePath%" "%~1\Windows\System32\Recovery\Winre.wim" >nul
endlocal
goto :eof
rem 集成功能 [ %~1 : 镜像挂载路径, %~2 功能名称 ]
:IntFeature
setlocal
set "FeaturePath=%~dp0Pack\%~2\%ImageVersion%.%ImageArch%"
if not exist "%FeaturePath%" ( echo.未找到 %FeaturePath% && goto :eof )
%Dism% /Image:"%~1" /Get-FeatureInfo /FeatureName:%~2 | findstr /c:"State : Enable Pending" >nul
if errorlevel 1 (
echo.开启功能 [%~2]
%Dism% /Image:"%~1" /Enable-Feature /All /LimitAccess /FeatureName:%~2 /Source:"%FeaturePath%" /Quiet
) else ( echo.功能 [%~2] 已开启 )
endlocal
goto :eof
rem 导入优化 [ %~1 : 镜像挂载路径 ]
:ImportOptimize
call :MountImageRegistry "%~1"
call :ImportRegistry "%~dp0Pack\Optimize\%ImageShortVersion%.reg"
call :ImportRegistry "%~dp0Pack\Optimize\%ImageShortVersion%.%ImageArch%.reg"
if "%ImageType%" equ "Server" call :ImportRegistry "%~dp0Pack\Optimize\Server.reg"
if "%ImageShortVersion%" equ "10.0" (
rem Applying Anti Microsoft Telemetry Client Patches
Reg add "HKLM\TK_SYSTEM\ControlSet001\Services\DiagTrack" /v "Start" /t REG_DWORD /d "4" /f >nul
Reg delete "HKLM\TK_SYSTEM\ControlSet001\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /f >nul 2>&1
Reg delete "HKLM\TK_SYSTEM\ControlSet001\Control\WMI\AutoLogger\Diagtrack-Listener" /f >nul 2>&1
Reg delete "HKLM\TK_SYSTEM\ControlSet001\Control\WMI\AutoLogger\SQMLogger" /f >nul 2>&1
Reg delete "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack" /f >nul 2>&1
Reg delete "HKLM\TK_SOFTWARE\Policies\Microsoft\Windows\DataCollection" /f >nul 2>&1
rem Removing Windows Mixed Reality Menu from Settings App
Reg add "HKLM\TK_NTUSER\Software\Microsoft\Windows\CurrentVersion\Holographic" /v "FirstRunSucceeded" /t REG_DWORD /d "0" /f >nul
rem 启用照片查看器
%NSudo% cmd.exe /c "%~dp0Pack\Optimize\Photo.cmd"
call :ImportRegistry "%~dp0Pack\Optimize\Context.reg"
call :ImportStartLayout "%~1", "%~dp0Pack\StartLayout.xml"
)
call :UnMountImageRegistry
setlocal
set "AssociationXML=%~dp0Pack\Association.%ImageShortVersion%.xml"
if exist "%AssociationXML%" (
echo.导入关联 [%AssociationXML%]
%Dism% /Image:"%~1" /Import-DefaultAppAssociations:"%AssociationXML%" /Quiet
)
endlocal
if "%ImageShortVersion%" equ "10.0" (
if "%ImageVersion%" geq "10.0.15063" call :IntExtra "%~1", "Win32Calc"
)
goto :eof
rem 集成额外组件 [ %~1 : 镜像挂载路径, %~2 : 组件名称 ]
:IntExtra
echo.集成组件 [%~2]
setlocal
set "ExtraPath=%~dp0Pack\Extra\%~2"
if "%ImageArch%"=="x86" set "PackageIndex=1"
if "%ImageArch%"=="x64" set "PackageIndex=2"
if exist "%ExtraPath%.tpk" (
%Dism% /Apply-Image /ImageFile:"%ExtraPath%.tpk" /Index:%PackageIndex% /ApplyDir:"%~1" /CheckIntegrity /Verify /Quiet
)
if exist "%ExtraPath%.%ImageLanguage%.tpk" (
%Dism% /Apply-Image /ImageFile:"%ExtraPath%.%ImageLanguage%.tpk" /Index:%PackageIndex% /ApplyDir:"%~1" /CheckIntegrity /Verify /Quiet
)
if exist "%ExtraPath%.%ImageArch%.reg" (
call :MountImageRegistry "%~1"
call :ImportRegistry "%ExtraPath%.%ImageArch%.reg"
call :UnMountImageRegistry
)
if exist "%ExtraPath%.cmd" call %ExtraPath%.cmd "%~1" %ImageArch% %ImageLanguage%
endlocal
goto :eof
rem ############################################################################################
rem 工具函数
rem ############################################################################################
rem 导入应答文件 [ %~1 : 镜像挂载路径, %~2 : 应答文件类型(Admin, Audit) ]
:ImportUnattend
call :RemoveFolder "%~1\Windows\Setup\Scripts"
md "%~1\Windows\Setup\Scripts"
xcopy /E /I /H /R /Y /J "%~dp0Pack\Scripts\*.*" "%~1\Windows\Setup\Scripts" >nul
setlocal
if /i "%~2" equ "Admin" (
if exist "%~dp0Pack\AAct_%ImageArch%.exe" copy "%~dp0Pack\AAct_%ImageArch%.exe" "%~1\Windows\Setup\Scripts\AAct.exe" >nul
set "UnattendFile=%~dp0Pack\Unattend.Admin.xml"
call :MountImageRegistry "%~1"
Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "FilterAdministratorToken" /t REG_DWORD /d 1 /f >nul
call :UnMountImageRegistry
) else (
set "UnattendFile=%~dp0Pack\Unattend.%ImageShortVersion%.xml"
)
if exist "%UnattendFile%" (
echo.导入应答 [%UnattendFile%]
if not exist "%~1\Windows\Panther" md "%~1\Windows\Panther"
copy /Y "%UnattendFile%" "%~1\Windows\Panther\unattend.xml" >nul
)
endlocal
goto :eof
rem 导入开始菜单布局文件 [ %~1 : 镜像挂载路径, %~2 布局文件路径 ]
:ImportStartLayout
copy /y "%~2" "%~1\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml" >nul
call :RemoveFile "%~1\Users\Default\AppData\Local\TileDataLayer"
goto :eof
rem 集成Appx应用 [ %~1 : 镜像挂载路径, %~2 : 应用包名, %~3 : 应用依赖包名 ]
:AddAppx
setlocal
set "Apps=%~dp0Pack\Appx"
set LicPath=/SkipLicense
if "%ImageArch%" equ "x86" ( set "AppxArch=*x86*" ) else ( set "AppxArch=*" )
for /f %%f in ('"dir /b %Apps%\*%~2*.xml" 2^>nul') do ( set LicPath=/LicensePath:"%Apps%\%%f" )
for %%j in (%~3) do for /f %%i in ('"dir /b %Apps%\*%%j%AppxArch%.appx" 2^>nul') do ( set Dependency=!Dependency! /DependencyPackagePath:"%Apps%\%%i" )
for /f %%i in ('"dir /b %Apps%\*%~2*.appxbundle" 2^>nul') do (
echo.集成应用 [%%~ni]
%Dism% /Image:"%~1" /Add-ProvisionedAppxPackage /PackagePath:"%Apps%\%%i" %LicPath% %Dependency% /Quiet
)
endlocal
goto :eof
rem 移除自带应用 [ %~1 : 镜像挂载路径 ]
:RemoveAppx
for /f "tokens=3" %%f in ('%Dism% /English /Image:"%~1" /Get-ProvisionedAppxPackages ^| findstr PackageName') do (
echo.移除应用 [%%f]
%Dism% /Image:"%~1" /Remove-ProvisionedAppxPackage /PackageName:"%%f" /Quiet
)
goto :eof
rem 移除系统组件 [ %~1 : 镜像挂载路径, %~2 : 组件名称 ]
:RemoveComponent
setlocal
rem 处理隐藏组件
call :MountImageRegistry "%~1"
set RegKey=
for /f "tokens=* delims=" %%f in ('reg query "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages" /f "%~2" ^| findstr /i "%~2"') do ( set "RegKey=%%f" )
if "%RegKey%" neq "" (
%NSudo% reg add "%RegKey%" /v Visibility /t REG_DWORD /d 1 /f
%NSudo% reg add "%RegKey%" /v DefVis /t REG_DWORD /d 2 /f
%NSudo% reg delete "%RegKey%\Owners" /f
set RegKey=
)
call :UnMountImageRegistry
set PackageName=
for /f "tokens=3 delims=: " %%f in ('%Dism% /English /Image:"%~1" /Get-Packages ^| findstr /i "%~2"') do ( set "PackageName=%%f" )
if "%PackageName%" neq "" (
echo.移除组件 [%PackageName%]
%Dism% /Image:"%~1" /Remove-Package /PackageName:"%PackageName%" /Quiet
set PackageName=
)
endlocal
goto :eof
rem 导入注册表 [ %~1 : 注册表路径 ]
:ImportRegistry
if not exist "%~1" goto :eof
call :RemoveFile "%TMP%\%~nx1"
rem 处理注册表路径
for /f "delims=" %%f in ('type "%~1"') do (
set str=%%f
set "str=!str:HKEY_CURRENT_USER=HKEY_LOCAL_MACHINE\TK_NTUSER!"
set "str=!str:HKEY_LOCAL_MACHINE\SOFTWARE=HKEY_LOCAL_MACHINE\TK_SOFTWARE!"
set "str=!str:HKEY_LOCAL_MACHINE\SYSTEM=HKEY_LOCAL_MACHINE\TK_SYSTEM!"
echo !str!>>"%TMP%\%~nx1"
)
%NSudo% reg import "%TMP%\%~nx1"
goto :eof
rem 加载注册表 [ %~1 : 镜像挂载路径 ]
:MountImageRegistry
reg load HKLM\TK_NTUSER "%~1\Users\Default\ntuser.dat" >nul
reg load HKLM\TK_SOFTWARE "%~1\Windows\System32\config\SOFTWARE" >nul
reg load HKLM\TK_SYSTEM "%~1\Windows\System32\config\SYSTEM" >nul
goto :eof
rem 卸载注册表
:UnMountImageRegistry
reg unload HKLM\TK_NTUSER >nul 2>&1
reg unload HKLM\TK_SOFTWARE >nul 2>&1
reg unload HKLM\TK_SYSTEM >nul 2>&1
goto :eof
rem 保存镜像 [ %~1 : 镜像挂载路径 ]
:ImageClean
rd /s /q "%~1\Users\Administrator" >nul 2>&1
rd /s /q "%~1\Program Files\Classic Shell" >nul 2>&1
rd /s /q "%~1\Recovery" >nul 2>&1
rd /s /q "%~1\$RECYCLE.BIN" >nul 2>&1
rd /s /q "%~1\Logs" >nul 2>&1
del /q "%~1\Windows\INF\*.pnf" >nul 2>&1
del /s /q "%~1\*.log" >nul 2>&1
del /s /q /a:h "%~1\*.log" >nul 2>&1
del /s /q /a:h "%~1\*.blf" >nul 2>&1
del /s /q /a:h "%~1\*.regtrans-ms" >nul 2>&1
goto :eof
rem 获取镜像基本信息 [ %~1 : 镜像文件路径, %~2 : 镜像序号 ]
:GetImageInfo
for /f "tokens=2 delims=:" %%f in ('Dism.exe /English /Get-ImageInfo /ImageFile:"%~1" /Index:%~2 ^| findstr /i Name') do ( set "ImageName=%%f" )
for /f "tokens=3" %%f in ('Dism.exe /English /Get-ImageInfo /ImageFile:"%~1" /Index:%~2 ^| findstr /i Architecture') do ( set "ImageArch=%%f" )
for /f "tokens=3" %%f in ('Dism.exe /English /Get-ImageInfo /ImageFile:"%~1" /Index:%~2 ^| findstr /i Version') do ( set "ImageVersion=%%f" )
for /f "tokens=3" %%f in ('Dism.exe /English /Get-ImageInfo /ImageFile:"%~1" /Index:%~2 ^| findstr /i Edition') do ( set "ImageEdition=%%f" )
for /f "tokens=3" %%f in ('Dism.exe /English /Get-ImageInfo /ImageFile:"%~1" /Index:%~2 ^| findstr /i Installation') do ( set "ImageType=%%f" )
for /f "tokens=* delims=" %%f in ('Dism.exe /English /Get-ImageInfo /ImageFile:"%~1" /Index:%~2 ^| findstr /i Default') do ( set "ImageLanguage=%%f" && set "ImageLanguage=!ImageLanguage:~1,-10!" )
for /f "tokens=1,2 delims=." %%f in ('echo %ImageVersion%') do ( set "ImageShortVersion=%%f.%%g" )
goto :eof
rem 优化镜像 [ %~1 : 镜像文件路径 ]
:ImageOptimize
title 正在优化镜像 %~1
if not exist "%TMP%\%~nx1" %Dism% /Export-Image /SourceImageFile:"%~1" /All /DestinationImageFile:"%TMP%\%~nx1" /CheckIntegrity /Compress:max
move /Y "%TMP%\%~nx1" "%~1" >nul
goto :eof
rem 清理文件
:CleanUp
call :UnMountImageRegistry
if exist "%MNT%\Windows" ( Dism.exe /Unmount-Wim /MountDir:"%MNT%" /ScratchDir:"%TMP%" /Discard /Quiet )
if exist "%TMP%\RE\Windows" ( Dism.exe /Unmount-Wim /MountDir:"%TMP%\RE" /ScratchDir:"%TMP%" /Discard /Quiet )
Dism.exe /Cleanup-Mountpoints /Quiet
Dism.exe /Cleanup-Wim /Quiet
call :RemoveFolder "%TMP%"
call :RemoveFolder "%MNT%"
if errorlevel 0 goto :eof
goto :Exit
rem 删除文件 [ %~1 : 文件路径 ]
:RemoveFile
if exist "%~1" del /f /q "%~1"
goto :eof
rem 删除目录 [ %~1 : 目录路径 ]
:RemoveFolder
if exist "%~1" rd /q /s "%~1"
goto :eof
:Exit
call :CleanUp
endlocal EnableDelayedExpansion
title 操作完成
if "%~1" equ "" pause