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正在進行中。