Dmitry Nefedov
3 years ago
5 changed files with 86 additions and 237 deletions
@ -1,206 +0,0 @@ |
|||
#Requires -RunAsAdministrator |
|||
#Requires -Version 5.1 |
|||
|
|||
[CmdletBinding()] |
|||
param |
|||
( |
|||
[Parameter(Mandatory = $false)] |
|||
[string[]] |
|||
$Functions |
|||
) |
|||
|
|||
Clear-Host |
|||
|
|||
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.0.7 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2021" |
|||
Remove-Module -Name Sophia -Force -ErrorAction Ignore |
|||
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force |
|||
Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations |
|||
|
|||
#region Protection |
|||
|
|||
Checkings -Warning |
|||
CreateRestorePoint |
|||
|
|||
#endregion Protection |
|||
|
|||
#region Privacy & Telemetry |
|||
|
|||
DiagTrackService -Disable |
|||
DiagnosticDataLevel -Minimal |
|||
ErrorReporting -Disable |
|||
FeedbackFrequency -Never |
|||
ScheduledTasks -Disable |
|||
SigninInfo -Disable |
|||
LanguageListAccess -Disable |
|||
AdvertisingID -Disable |
|||
WindowsWelcomeExperience -Hide |
|||
WindowsTips -Enable |
|||
SettingsSuggestedContent -Hide |
|||
AppsSilentInstalling -Disable |
|||
WhatsNewInWindows -Disable |
|||
TailoredExperiences -Disable |
|||
BingSearch -Disable |
|||
|
|||
#endregion Privacy & Telemetry |
|||
|
|||
#region UI & Personalization |
|||
|
|||
ThisPC -Show |
|||
Windows10FileExplorer -Enable |
|||
CheckBoxes -Disable |
|||
HiddenItems -Enable |
|||
FileExtensions -Show |
|||
MergeConflicts -Show |
|||
OpenFileExplorerTo -ThisPC |
|||
FileExplorerCompactMode -Disable |
|||
OneDriveFileExplorerAd -Hide |
|||
SnapAssistFlyout -Enable |
|||
SnapAssist -Disable |
|||
FileTransferDialog -Detailed |
|||
RecycleBinDeleteConfirmation -Enable |
|||
QuickAccessRecentFiles -Hide |
|||
QuickAccessFrequentFolders -Hide |
|||
TaskbarAlignment -Left |
|||
TaskbarSearch -Hide |
|||
TaskViewButton -Hide |
|||
TaskbarWidgets -Hide |
|||
TaskbarChat -Hide |
|||
ControlPanelView -LargeIcons |
|||
WindowsColorMode -Dark |
|||
AppColorMode -Dark |
|||
FirstLogonAnimation -Disable |
|||
JPEGWallpapersQuality -Max |
|||
TaskManagerWindow -Expanded |
|||
RestartNotification -Show |
|||
ShortcutsSuffix -Disable |
|||
PrtScnSnippingTool -Enable |
|||
AppsLanguageSwitch -Enable |
|||
AeroShaking -Enable |
|||
UnpinTaskbarShortcuts -Shortcuts Edge, Store |
|||
|
|||
#endregion UI & Personalization |
|||
|
|||
#region OneDrive |
|||
|
|||
OneDrive -Uninstall |
|||
|
|||
#endregion OneDrive |
|||
|
|||
#region System |
|||
|
|||
StorageSense -Enable |
|||
StorageSenseFrequency -Month |
|||
StorageSenseTempFiles -Enable |
|||
Hibernation -Disable |
|||
Win32LongPathLimit -Disable |
|||
BSoDStopError -Enable |
|||
AdminApprovalMode -Never |
|||
MappedDrivesAppElevatedAccess -Enable |
|||
DeliveryOptimization -Disable |
|||
WaitNetworkStartup -Enable |
|||
WindowsManageDefaultPrinter -Disable |
|||
WindowsFeatures -Disable |
|||
WindowsCapabilities -Uninstall |
|||
UpdateMicrosoftProducts -Enable |
|||
PowerPlan -High |
|||
LatestInstalled.NET -Enable |
|||
NetworkAdaptersSavePower -Disable |
|||
IPv6Component -Disable |
|||
InputMethod -English |
|||
SetUserShellFolderLocation -Root |
|||
WinPrtScrFolder -Desktop |
|||
RecommendedTroubleshooting -Automatically |
|||
FoldersLaunchSeparateProcess -Enable |
|||
ReservedStorage -Disable |
|||
F1HelpPage -Disable |
|||
NumLock -Enable |
|||
StickyShift -Disable |
|||
Autoplay -Disable |
|||
ThumbnailCacheRemoval -Disable |
|||
SaveRestartableApps -Enable |
|||
NetworkDiscovery -Enable |
|||
ActiveHours -Automatically |
|||
RestartDeviceAfterUpdate -Enable |
|||
DefaultTerminalApp -WindowsTerminal |
|||
|
|||
#endregion System |
|||
|
|||
#region WSL |
|||
|
|||
|
|||
#endregion WSL |
|||
|
|||
#region Start menu |
|||
|
|||
RunPowerShellShortcut -Elevated |
|||
|
|||
#endregion Start menu |
|||
|
|||
#region UWP apps |
|||
|
|||
HEIF -Install |
|||
CortanaAutostart -Disable |
|||
TeamsAutostart -Disable |
|||
UninstallUWPApps |
|||
CheckUWPAppsUpdates |
|||
|
|||
#endregion UWP apps |
|||
|
|||
#region Gaming |
|||
|
|||
XboxGameBar -Disable |
|||
XboxGameTips -Disable |
|||
GPUScheduling -Enable |
|||
SetAppGraphicsPerformance |
|||
|
|||
#endregion Gaming |
|||
|
|||
#region Scheduled tasks |
|||
|
|||
CleanupTask -Register |
|||
SoftwareDistributionTask -Register |
|||
TempTask -Register |
|||
|
|||
#endregion Scheduled tasks |
|||
|
|||
#region Microsoft Defender & Security |
|||
|
|||
NetworkProtection -Enable |
|||
PUAppsDetection -Enable |
|||
DefenderSandbox -Enable |
|||
AuditProcess -Enable |
|||
CommandLineProcessAudit -Enable |
|||
EventViewerCustomView -Enable |
|||
PowerShellModulesLogging -Enable |
|||
PowerShellScriptsLogging -Enable |
|||
AppsSmartScreen -Disable |
|||
SaveZoneInformation -Disable |
|||
DismissMSAccount |
|||
DismissSmartScreenFilter |
|||
|
|||
#endregion Microsoft Defender & Security |
|||
|
|||
#region Context menu |
|||
|
|||
MSIExtractContext -Show |
|||
CABInstallContext -Show |
|||
RunAsDifferentUserContext -Show |
|||
CastToDeviceContext -Hide |
|||
ShareContext -Hide |
|||
EditWithPhotosContext -Hide |
|||
CreateANewVideoContext -Hide |
|||
PrintCMDContext -Hide |
|||
IncludeInLibraryContext -Hide |
|||
SendToContext -Hide |
|||
BitLockerContext -Hide |
|||
CompressedFolderNewContext -Hide |
|||
MultipleInvokeContext -Enable |
|||
UseStoreOpenWith -Hide |
|||
OpenWindowsTerminalContext -Hide |
|||
OpenWindowsTerminalAdminContext -Show |
|||
Windows10ContextMenu -Disable |
|||
|
|||
#endregion Context menu |
|||
|
|||
RefreshEnvironment |
|||
Errors |
@ -1,9 +1,9 @@ |
|||
{ |
|||
"Sophia_Script_Windows_10_PowerShell_5_1": "5.12.5", |
|||
"Sophia_Script_Windows_10_PowerShell_7": "5.12.5", |
|||
"Sophia_Script_Windows_10_LTSC": "5.2.16", |
|||
"Sophia_Script_Windows_10_PowerShell_5_1": "5.12.6", |
|||
"Sophia_Script_Windows_10_PowerShell_7": "5.12.6", |
|||
"Sophia_Script_Windows_10_LTSC2019": "5.2.17", |
|||
"Sophia_Script_Windows_10_LTSC2021": "5.12.6", |
|||
"Sophia_Script_Windows_11_PowerShell_5_1": "6.0.6", |
|||
"Sophia_Script_Windows_11_PowerShell_7": "6.0.6", |
|||
"Sophia_Script_Wrapper": "2.5.1" |
|||
"Sophia_Script_Windows_11_PowerShell_5_1": "6.0.7", |
|||
"Sophia_Script_Windows_11_PowerShell_7": "6.0.7", |
|||
"Sophia_Script_Wrapper": "2.5.2" |
|||
} |
|||
|
Loading…
Reference in new issue