Releases: farag2/Sophia-Script-for-Windows
11.03.2020
-
Turn on recycle bin files delete confirmation
- Now configuring without using policy. To delete unnecessary key execute
Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer -Name ConfirmFileDelete -Force
-
Turn off Delivery Optimization
- Now using cmdlets. To delete unnecessary key execute
Remove-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization -Force
-
Rearranged "Set power management scheme for desktop and laptop" section
-
Renamed sections
- "Turn off hibernate" to "Turn off hibernate for devices, except laptops"
- "Turn off location for this device" to "Turn off location access for this device"
-
Minor changes.
06.03.2020
- Comments;
- Rewritten "Pin to Start the shortcuts" section;
- Now using syspin.exe to pin shortcuts
- Hash (SHA256): 6967E7A3C2251812DD6B3FA0265FB7B61AADC568F562A98C50C345908C6E827
- Shorcuts pinned by default:
- Control Panel;
- Devices and Printers;
- Command Prompt.
- Minor changes.
03.03.2020
- Added Comment-Based Help;
- Fixed bug in a task to clear the $env:SystemRoot\SoftwareDistribution\Download folder;
- Minor changes.
25.02.2020
-
Removed "Use Unicode UTF-8 for worldwide language support (beta)" section due to instability. To recover execute
# Open Administrative Tab in Region cmd.exe --% /c control intl.cpl,,1 # Change system locale # Uncheck "Beta: Use Unicode UTF-8 for worldwide language support" # Restart PC
-
Minor changes.
21.02.2020
-
Removed "Let Windows track app launches to improve Start menu and search results" section. To recover execute
Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Start_TrackProgs -Force
-
Removed "Turn off Windows Game Recording and Broadcasting" section. To recover execute
Remove-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\GameDVR -Force
-
Removed "Turn off Game Mode" section. To recover execute
Remove-ItemProperty -Path HKCU:\Software\Microsoft\GameBar -Name AllowAutoGameMode -Force
-
Removed "Remove "Previous Versions" from file context menu" section. To recover execute
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" -Name "{596AB062-B4D2-4215-9F74-E9109B0A8153}" -Force
-
Removed "Turn off "The Windows Filtering Platform has blocked a connection" message in "Windows Logs/Security"" section. To recover execute
auditpol /set /subcategory:"{0CCE9226-69AE-11D9-BED3-505054503030}" /success:enable /failure:enable
-
Added
- "Use Unicode UTF-8 for worldwide language support (beta)";
- "Turn on logging for all Windows PowerShell modules";
- "Turn on logging of all PowerShell script input to the Microsoft-Windows-PowerShell/Operational event log";
- "Turn on events auditing generated when a process is created or starts".
-
Comments
-
Minor changes.
17.02.2020
- Uploaded file with UTF-8 with BOM encoding by default;
- Added "Checking the file encoding if it runs locally" section;
- Minor changes.
11.02.2020
- Fixed typo in "Unpin all Start menu tiles section;
- Updated "Uninstall OneDrive" section;
- Minor changes.
10.02.2020
- Now using "switch" operator in the interactive prompts;
- Comments;
- Minor changes.
04.02.2020
- Added OS edition detection to add proper value for the "AllowTelemetry" registry key.;
- "Stop event trace sessions" section;
- "Set the operating system diagnostic data level" section;
- "Unpin all Start menu tiles" section;
- Now it's possible to skip unpinning all Start menu tiles
- Minor changes.
31.01.2020
-
Added "Include command line in progress creation events" section;
-
Added "Let track app launches to improve Start menu and search results" section;
-
Removed "Do not let track app launches to improve Start menu and search results" section;
-
Added "Stop event trace sessions" section;
-
Updated "Turn off the data collectors at the next computer restart" section;
-
Updated "Turn off diagnostics tracking scheduled tasks" section. Some tasks has been removed from the list. To recover execute
$tasks = @( "DmClient" "DmClientOnScenarioDownload" "EnableLicenseAcquisition" "GatherNetworkInfo" "MNO Metadata Parser" "NetworkStateChangeTask" "TempSignedLicenseExchange" ) Get-ScheduledTask -TaskName $tasks | Enable-ScheduledTask
-
Comments
-
Minor changes.