minor changes
This commit is contained in:
@@ -80,10 +80,10 @@ MarchofEmpires
|
||||
Microsoft 365 Copilot
|
||||
Microsoft 365 (Office)
|
||||
Microsoft Bing
|
||||
Microsoft Bing
|
||||
Microsoft Clipchamp
|
||||
Microsoft Edge Game Assist
|
||||
Microsoft News
|
||||
Microsoft Photos
|
||||
Microsoft Sticky Notes
|
||||
Microsoft Teams
|
||||
Microsoft To Do
|
||||
|
||||
@@ -4,9 +4,6 @@
|
||||
|
||||
clear-Host
|
||||
|
||||
# TODO
|
||||
# Optional Update, Delivery Optimization, Open With NP++
|
||||
|
||||
# Open PowerShell as administrator
|
||||
if (-Not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) {
|
||||
Start-Process powershell -ArgumentList "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs
|
||||
@@ -398,7 +395,6 @@ foreach ($entry in $registryEntries) {
|
||||
##########################################################################################
|
||||
|
||||
Write-Host -ForegroundColor DarkGray ">>> Disable Recall <<<"
|
||||
Write-Host ""
|
||||
|
||||
# Define registry paths for taskbar settings
|
||||
$RegistryPaths = @(
|
||||
@@ -708,8 +704,6 @@ foreach ($app in $appsToRemove) {
|
||||
####################################################################################################################################
|
||||
|
||||
# Disable Microsoft 365 Ads in Settings Home
|
||||
Write-Host -ForegroundColor DarkGray ">>> Disabling Microsoft 365 Ads <<<"
|
||||
|
||||
$RegistryPaths = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent"
|
||||
# Create the path if it doesn't exist
|
||||
if (-not (Test-Path $RegistryPaths)) {
|
||||
@@ -722,7 +716,7 @@ Set-ItemProperty -Path $RegistryPaths -Name "DisableConsumerAccountStateContent"
|
||||
|
||||
# Uninstall Microsoft Office
|
||||
Write-Host ""
|
||||
Write-Host -ForegroundColor Yellow ">>> Uninstallation of Microsoft Office <<<"
|
||||
Write-Host -ForegroundColor Yellow ">>> Uninstall Microsoft Office <<<"
|
||||
Start-Process "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" "https://aka.ms/SaRA-officeUninstallFromPC"
|
||||
|
||||
##########################################################################################
|
||||
@@ -741,9 +735,7 @@ Write-Host ""
|
||||
|
||||
Write-Host -ForegroundColor Yellow ">>> Install default SOFTWARE... <<<"
|
||||
Write-Host ""
|
||||
winget install --disable-interactivity SumatraPDF.SumatraPDF Microsoft.Edit gnome.gedit Notepad++.Notepad++ 7zip.7zip Mozilla.Firefox Flameshot.Flameshot Microsoft.PowerToys --source winget
|
||||
|
||||
Ftype txt="C:\Program Files (x86)\Notepad++\notepad++.exe %1"
|
||||
winget install --disable-interactivity SumatraPDF.SumatraPDF Microsoft.Edit Notepad++.Notepad++ 7zip.7zip Mozilla.Firefox Flameshot.Flameshot DuongDieuPhap.ImageGlass Microsoft.PowerToys --source winget
|
||||
|
||||
# Microsoft.PowerShell NodirTemirkhodjaev.FortFirewall voidtools.Everything Flow-Launcher.Flow-Launcher AutoHotkey.AutoHotkey Oracle.JavaRuntimeEnvironment Microsoft.VCRedist.2010.x64
|
||||
|
||||
|
||||
Reference in New Issue
Block a user