Sophia Script for Windows
29.10.2024
重要的
预设文件中的每个调整都有其“相应的功能,以还原默认设置。运行脚本最好在新安装上完成,因为在错误的调整系统上运行它可能会导致错误。
警告
仅在应用程序启动期间,它才允许将其登录为一个管理员。
Sophia Script for Windows
可能无法在自制窗口上使用。特别是,如果OS制造商都是所有拇指,他们通过故意将系统组件打破Microsoft Defender并禁用OS遥测的所有拇指。
要下载最新的Sophia Script for Windows
作为Administrator
运行的Windows版本运行
iwr script.sophia.team - useb | iex
该命令将下载并扩展最新的Sophia脚本存档( without running
),并根据其运行的Windows和PowerShell版本。如果您可以通过PowerShell 5.1运行它,例如Windows 11,它将下载Windows 11 PowerShell 5.1
的Sophia脚本。
Sophia.ps1
文件以配置要运行的功能;#
字符。#
。Sophia.ps1
Windows 10
上按下并按住Shift键,右键单击Sophia.ps1
,然后单击Copy as path
;Windows 11
上,右键单击Sophia.ps1
,然后单击Copy as path
。Windows PowerShell
Windows 10
上,单击文件资源管理器中的File
,悬停在Open Windows PowerShell
上,然后选择Open Windows PowerShell as Administrator
(使用屏幕截图)Windows 11
上,右键单击Windows图标和打开Windows Terminal (Admin)
; Set-ExecutionPolicy - ExecutionPolicy Bypass - Scope Process - Force
SophiaScriptWrapper.exe
并导入Sophia.ps1
;Sophia.ps1
必须在Sophia Script
文件夹中;Console Output
卡,然后按Run PowerShell
。PowerShell
中设置执行策略;Functions.ps1
文件首先: # With a dot at the beginning
. .Functions.ps1
Sophia - Functions < TAB >
Sophia - Functions temp < TAB >
Sophia - Functions unin < TAB >
Sophia - Functions uwp < TAB >
Sophia - Functions " DiagTrackService -Disable " , " DiagnosticDataLevel -Minimal " , UninstallUWPApps
UninstallUWPApps , " PinToStart -UnpinAll "
或使用旧式的格式,而没有标签函数自动完成(需要引号)
.Sophia.ps1 - Functions CreateRestorePoint , " ScheduledTasks -Disable " , " WindowsCapabilities -Uninstall "
版本 | 营销名称 | 建造 | 版 |
---|---|---|---|
Windows 11 24H2 | 2024更新 | 最新稳定 | 家庭/专业/企业 |
Windows 11 23H2 | 2023更新 | 最新稳定 | 家庭/专业/企业 |
Windows 10 X64 22H2 | 2022更新 | 最新稳定 | 家庭/专业/企业 |
Windows 11 Enterprise LTSC 2024 | 2024更新 | 最新稳定 | 企业 |
Windows 10 X64 21H2 Enterprise LTSC 2021 | 2021年10月更新 | 最新稳定 | 企业 |
Windows 10 X64 1809 Enterprise LTSC 2019 | 2018年10月更新 | 最新稳定 | 企业 |
Windows Cleanup
和Windows Cleanup Notification
,以清理未使用的文件和Windows更新文件的窗口;SoftwareDistribution
,以清理%SystemRoot%SoftwareDistributionDownload
;Temp
,用于清理%TEMP%
。%SystemRoot%SoftwareDistributionDownload
%TEMP%
Control Panel
和“旧样式” Devices and Printers
快捷方式将被固定。$PSUICulture
来获得您的OS UI文化;Sophiapp 2.0正在进行中。