Initial commit
This commit is contained in:
parent
0971684abf
commit
e5b4e1552e
25
README.md
25
README.md
@ -1,2 +1,25 @@
|
|||||||
# win11-initial-setup-script
|
# win11-initial-SetupScript
|
||||||
|
|
||||||
|
Reverts Windows 11 design flaws, debloats, disables telemetry and adds useful tweaks
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
### Quick-Run Script
|
||||||
|
Run from Windows Powershell (Administrator) with the following commands:
|
||||||
|
- <ins>Script Version:</ins>
|
||||||
|
```
|
||||||
|
iwr -useb https://setupWin11.ps1 | iex
|
||||||
|
```
|
||||||
|
|
||||||
|
### Download and Run Script
|
||||||
|
You have to change Powershell Execution-Policy in order to run the script manually:<br>
|
||||||
|
- <ins>Script Version:</ins>
|
||||||
|
```
|
||||||
|
powershell -ExecutionPolicy Bypass -File setupWin11.ps1
|
||||||
|
```
|
||||||
|
|
||||||
|
To change it permanently use: `Set-ExecutionPolicy Unrestricted`
|
||||||
|
|
||||||
|
|
||||||
|
## Disclaimer
|
||||||
|
Run this script at your own risk, it is highly experimental and untested. Always manually backup your data before doing so.
|
215
mrit_ooshutup.cfg
Normal file
215
mrit_ooshutup.cfg
Normal file
@ -0,0 +1,215 @@
|
|||||||
|
############################################################################
|
||||||
|
# Diese Datei wurde mit O&O ShutUp10++ V1.9.1431 erstellt
|
||||||
|
# und kann mit der Anwendung auf einem anderen Rechner importiert werden.
|
||||||
|
#
|
||||||
|
# Laden Sie dazu die Anwendung unter https://www.oo-software.com/shutup10
|
||||||
|
# herunter. Im Programm können Sie die Datei dann importieren.
|
||||||
|
#
|
||||||
|
# Alternativ können Sie die Datei auch über die Kommandozeile automatisch
|
||||||
|
# importieren lassen. Nutzen Sie dazu folgende Parameter
|
||||||
|
# OOSU10 (1).exe <Pfad zur Datei>
|
||||||
|
#
|
||||||
|
# Mit der Option /quiet wird die Anwendung nach dem Import sofort beendet
|
||||||
|
# und der Nutzer erhält auch kein Feedback über den Import.
|
||||||
|
#
|
||||||
|
# Für Fragen stehen wir Ihnen gerne jederzeit zur Verfügung!
|
||||||
|
# © 2015-2022 O&O Software GmbH, Berlin. Alle Rechte vorbehalten.
|
||||||
|
# https://www.oo-software.com/
|
||||||
|
############################################################################
|
||||||
|
|
||||||
|
P001 +
|
||||||
|
P002 +
|
||||||
|
P003 +
|
||||||
|
P004 +
|
||||||
|
P005 +
|
||||||
|
P006 +
|
||||||
|
P008 +
|
||||||
|
P026 +
|
||||||
|
P027 +
|
||||||
|
P028 +
|
||||||
|
P064 +
|
||||||
|
P065 +
|
||||||
|
P066 +
|
||||||
|
P067 +
|
||||||
|
P070 +
|
||||||
|
P069 +
|
||||||
|
P009 +
|
||||||
|
P010 -
|
||||||
|
P015 -
|
||||||
|
P068 -
|
||||||
|
P016 -
|
||||||
|
A001 +
|
||||||
|
A002 +
|
||||||
|
A003 +
|
||||||
|
A004 +
|
||||||
|
A006 +
|
||||||
|
A005 +
|
||||||
|
P007 +
|
||||||
|
P036 +
|
||||||
|
P025 +
|
||||||
|
P033 +
|
||||||
|
P023 +
|
||||||
|
P056 +
|
||||||
|
P057 +
|
||||||
|
P012 -
|
||||||
|
P034 -
|
||||||
|
P013 -
|
||||||
|
P035 -
|
||||||
|
P062 +
|
||||||
|
P063 +
|
||||||
|
P081 -
|
||||||
|
P047 -
|
||||||
|
P019 -
|
||||||
|
P048 -
|
||||||
|
P049 -
|
||||||
|
P020 -
|
||||||
|
P037 -
|
||||||
|
P011 -
|
||||||
|
P038 -
|
||||||
|
P050 -
|
||||||
|
P051 -
|
||||||
|
P018 -
|
||||||
|
P039 -
|
||||||
|
P021 -
|
||||||
|
P040 -
|
||||||
|
P022 -
|
||||||
|
P041 -
|
||||||
|
P014 -
|
||||||
|
P042 -
|
||||||
|
P052 -
|
||||||
|
P053 -
|
||||||
|
P054 -
|
||||||
|
P055 -
|
||||||
|
P029 -
|
||||||
|
P043 -
|
||||||
|
P030 -
|
||||||
|
P044 -
|
||||||
|
P031 -
|
||||||
|
P045 -
|
||||||
|
P032 -
|
||||||
|
P046 -
|
||||||
|
P058 -
|
||||||
|
P059 -
|
||||||
|
P060 -
|
||||||
|
P061 -
|
||||||
|
P071 -
|
||||||
|
P072 -
|
||||||
|
P073 -
|
||||||
|
P074 -
|
||||||
|
P075 -
|
||||||
|
P076 -
|
||||||
|
P077 -
|
||||||
|
P078 -
|
||||||
|
P079 -
|
||||||
|
P080 -
|
||||||
|
P024 -
|
||||||
|
S001 -
|
||||||
|
S002 +
|
||||||
|
S003 +
|
||||||
|
S008 -
|
||||||
|
E101 +
|
||||||
|
E115 -
|
||||||
|
E118 +
|
||||||
|
E107 -
|
||||||
|
E111 +
|
||||||
|
E112 -
|
||||||
|
E109 -
|
||||||
|
E121 +
|
||||||
|
E103 -
|
||||||
|
E123 +
|
||||||
|
E124 +
|
||||||
|
E119 -
|
||||||
|
E120 -
|
||||||
|
E122 -
|
||||||
|
E106 -
|
||||||
|
E001 +
|
||||||
|
E002 +
|
||||||
|
E003 -
|
||||||
|
E008 +
|
||||||
|
E007 -
|
||||||
|
E010 -
|
||||||
|
E011 +
|
||||||
|
E012 -
|
||||||
|
E009 -
|
||||||
|
E004 -
|
||||||
|
E005 -
|
||||||
|
E013 -
|
||||||
|
E014 -
|
||||||
|
E006 -
|
||||||
|
F002 +
|
||||||
|
F014 +
|
||||||
|
F015 +
|
||||||
|
F016 +
|
||||||
|
F001 -
|
||||||
|
F003 +
|
||||||
|
F004 +
|
||||||
|
F005 +
|
||||||
|
F007 +
|
||||||
|
F008 +
|
||||||
|
F009 +
|
||||||
|
F006 -
|
||||||
|
F010 -
|
||||||
|
F011 -
|
||||||
|
F012 -
|
||||||
|
F013 -
|
||||||
|
Y001 +
|
||||||
|
Y002 +
|
||||||
|
Y003 +
|
||||||
|
Y004 +
|
||||||
|
Y005 +
|
||||||
|
Y006 +
|
||||||
|
Y007 +
|
||||||
|
C012 +
|
||||||
|
C002 +
|
||||||
|
C013 +
|
||||||
|
C007 +
|
||||||
|
C008 +
|
||||||
|
C009 +
|
||||||
|
C010 +
|
||||||
|
C011 +
|
||||||
|
C014 +
|
||||||
|
L001 +
|
||||||
|
L003 +
|
||||||
|
L004 -
|
||||||
|
L005 +
|
||||||
|
U001 +
|
||||||
|
U004 +
|
||||||
|
U005 +
|
||||||
|
U006 +
|
||||||
|
U007 +
|
||||||
|
W001 +
|
||||||
|
W011 +
|
||||||
|
W004 -
|
||||||
|
W005 -
|
||||||
|
W010 -
|
||||||
|
W009 -
|
||||||
|
P017 -
|
||||||
|
W006 -
|
||||||
|
W008 -
|
||||||
|
M006 -
|
||||||
|
M011 -
|
||||||
|
M010 -
|
||||||
|
O003 -
|
||||||
|
O001 -
|
||||||
|
S012 -
|
||||||
|
S013 -
|
||||||
|
S014 -
|
||||||
|
K001 +
|
||||||
|
K002 +
|
||||||
|
K005 +
|
||||||
|
M022 +
|
||||||
|
M001 +
|
||||||
|
M004 +
|
||||||
|
M005 +
|
||||||
|
M003 -
|
||||||
|
M012 -
|
||||||
|
M013 -
|
||||||
|
M014 -
|
||||||
|
M015 -
|
||||||
|
M016 -
|
||||||
|
M017 -
|
||||||
|
M018 -
|
||||||
|
M019 -
|
||||||
|
M020 -
|
||||||
|
M021 +
|
||||||
|
N001 -
|
128
preinstalled_apps_windows11.txt
Normal file
128
preinstalled_apps_windows11.txt
Normal file
@ -0,0 +1,128 @@
|
|||||||
|
Name PackageFullName
|
||||||
|
---- ---------------
|
||||||
|
Microsoft.Windows.CloudExperienceHost Microsoft.Windows.CloudExperienceHost_10.0.22000.1_neutral_neutral_cw5n...
|
||||||
|
Microsoft.BioEnrollment Microsoft.BioEnrollment_10.0.19585.1001_neutral__cw5n1h2txyewy
|
||||||
|
Microsoft.AAD.BrokerPlugin Microsoft.AAD.BrokerPlugin_1000.19580.1000.0_neutral_neutral_cw5n1h2txyewy
|
||||||
|
Microsoft.Windows.OOBENetworkConnectionFlow Microsoft.Windows.OOBENetworkConnectionFlow_10.0.21302.1000_neutral__cw...
|
||||||
|
Microsoft.Windows.OOBENetworkCaptivePortal Microsoft.Windows.OOBENetworkCaptivePortal_10.0.21302.1000_neutral__cw5...
|
||||||
|
Microsoft.UI.Xaml.CBS Microsoft.UI.Xaml.CBS_2.62106.1002.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.VCLibs.140.00 Microsoft.VCLibs.140.00_14.0.29231.0_x86__8wekyb3d8bbwe
|
||||||
|
Microsoft.Windows.Search Microsoft.Windows.Search_1.16.0.22000_neutral_neutral_cw5n1h2txyewy
|
||||||
|
Microsoft.549981C3F5F10 Microsoft.549981C3F5F10_2.2106.2807.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.NET.Native.Framework.2.2 Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.NET.Native.Framework.2.2 Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x86__8wekyb3d8bbwe
|
||||||
|
Microsoft.NET.Native.Runtime.2.2 Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.NET.Native.Runtime.2.2 Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x86__8wekyb3d8bbwe
|
||||||
|
Microsoft.VCLibs.140.00.UWPDesktop Microsoft.VCLibs.140.00.UWPDesktop_14.0.29231.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.MicrosoftEdge Microsoft.MicrosoftEdge_44.22000.1.0_neutral__8wekyb3d8bbwe
|
||||||
|
Microsoft.Windows.ContentDeliveryManager Microsoft.Windows.ContentDeliveryManager_10.0.22000.1_neutral_neutral_c...
|
||||||
|
Microsoft.Getstarted Microsoft.Getstarted_10.2.41172.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.UI.Xaml.2.4 Microsoft.UI.Xaml.2.4_2.42007.9001.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.VCLibs.140.00 Microsoft.VCLibs.140.00_14.0.29231.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.Paint Microsoft.Paint_10.2104.17.0_x64__8wekyb3d8bbwe
|
||||||
|
microsoft.windowscommunicationsapps microsoft.windowscommunicationsapps_16005.12827.20400.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.WindowsCamera Microsoft.WindowsCamera_2020.503.58.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.WindowsNotepad Microsoft.WindowsNotepad_10.2102.13.0_x64__8wekyb3d8bbwe
|
||||||
|
TobiiAB.TobiiEyeTrackingPortal TobiiAB.TobiiEyeTrackingPortal_1.48.13186.0_x64__j9ea20k37yd2w
|
||||||
|
Microsoft.XboxIdentityProvider Microsoft.XboxIdentityProvider_12.50.6001.0_x64__8wekyb3d8bbwe
|
||||||
|
E0469640.LenovoUtility E0469640.LenovoUtility_3.2.1.0_x64__5grkq8ppsgwt4
|
||||||
|
Microsoft.LockApp Microsoft.LockApp_10.0.22000.1_neutral__cw5n1h2txyewy
|
||||||
|
Windows.PrintDialog Windows.PrintDialog_6.2.1.0_neutral_neutral_cw5n1h2txyewy
|
||||||
|
Windows.CBSPreview Windows.CBSPreview_10.0.19580.1000_neutral_neutral_cw5n1h2txyewy
|
||||||
|
NcsiUwpApp NcsiUwpApp_1000.22000.1.0_neutral_neutral_8wekyb3d8bbwe
|
||||||
|
Microsoft.XboxGameCallableUI Microsoft.XboxGameCallableUI_1000.22000.1.0_neutral_neutral_cw5n1h2txyewy
|
||||||
|
Microsoft.Windows.XGpuEjectDialog Microsoft.Windows.XGpuEjectDialog_10.0.22000.1_neutral_neutral_cw5n1h2t...
|
||||||
|
Microsoft.Windows.SecureAssessmentBrowser Microsoft.Windows.SecureAssessmentBrowser_10.0.22000.1_neutral_neutral_...
|
||||||
|
Microsoft.Windows.PinningConfirmationDialog Microsoft.Windows.PinningConfirmationDialog_1000.22000.1.0_neutral__cw5...
|
||||||
|
Microsoft.Windows.PeopleExperienceHost Microsoft.Windows.PeopleExperienceHost_10.0.22000.1_neutral_neutral_cw5...
|
||||||
|
Microsoft.CredDialogHost Microsoft.CredDialogHost_10.0.19595.1001_neutral__cw5n1h2txyewy
|
||||||
|
Microsoft.ECApp Microsoft.ECApp_10.0.22000.1_neutral__8wekyb3d8bbwe
|
||||||
|
Microsoft.MicrosoftEdgeDevToolsClient Microsoft.MicrosoftEdgeDevToolsClient_1000.22000.1.0_neutral_neutral_8w...
|
||||||
|
MicrosoftWindows.UndockedDevKit MicrosoftWindows.UndockedDevKit_10.0.22000.1_neutral_neutral_cw5n1h2txyewy
|
||||||
|
1527c705-839a-4832-9118-54d4Bd6a0c89 1527c705-839a-4832-9118-54d4Bd6a0c89_10.0.19640.1000_neutral_neutral_cw...
|
||||||
|
c5e2524a-ea46-4f67-841f-6a9465d9d515 c5e2524a-ea46-4f67-841f-6a9465d9d515_10.0.22000.1_neutral_neutral_cw5n1...
|
||||||
|
E2A4F912-2574-4A75-9BB0-0D023378592B E2A4F912-2574-4A75-9BB0-0D023378592B_10.0.19640.1000_neutral_neutral_cw...
|
||||||
|
F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_10.0.22000.1_neutral_neutral_cw5n1...
|
||||||
|
Microsoft.AccountsControl Microsoft.AccountsControl_10.0.22000.1_neutral__cw5n1h2txyewy
|
||||||
|
Microsoft.AsyncTextService Microsoft.AsyncTextService_10.0.22000.1_neutral__8wekyb3d8bbwe
|
||||||
|
Microsoft.Win32WebViewHost Microsoft.Win32WebViewHost_10.0.22000.1_neutral_neutral_cw5n1h2txyewy
|
||||||
|
Microsoft.Windows.Apprep.ChxApp Microsoft.Windows.Apprep.ChxApp_1000.22000.1.0_neutral_neutral_cw5n1h2t...
|
||||||
|
Microsoft.Windows.AssignedAccessLockApp Microsoft.Windows.AssignedAccessLockApp_1000.22000.1.0_neutral_neutral_...
|
||||||
|
Microsoft.Windows.CallingShellApp Microsoft.Windows.CallingShellApp_1000.22000.1.0_neutral_neutral_cw5n1h...
|
||||||
|
Microsoft.Windows.CapturePicker Microsoft.Windows.CapturePicker_10.0.19580.1000_neutral__cw5n1h2txyewy
|
||||||
|
Microsoft.Windows.NarratorQuickStart Microsoft.Windows.NarratorQuickStart_10.0.22000.1_neutral_neutral_8weky...
|
||||||
|
Microsoft.Windows.ParentalControls Microsoft.Windows.ParentalControls_1000.22000.1.0_neutral_neutral_cw5n1...
|
||||||
|
Microsoft.WindowsAlarms Microsoft.WindowsAlarms_1.0.36.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.ZuneMusic Microsoft.ZuneMusic_10.21012.10511.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.YourPhone Microsoft.YourPhone_0.19051.7.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.XboxSpeechToTextOverlay Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.PowerAutomateDesktop Microsoft.PowerAutomateDesktop_1.0.65.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.SecHealthUI Microsoft.SecHealthUI_1000.22000.4.0_neutral__8wekyb3d8bbwe
|
||||||
|
Microsoft.People Microsoft.People_10.1909.12456.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.StorePurchaseApp Microsoft.StorePurchaseApp_12008.1001.1.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.MPEG2VideoExtension Microsoft.MPEG2VideoExtension_1.0.22661.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.Todos Microsoft.Todos_0.33.33351.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.MixedReality.Portal Microsoft.MixedReality.Portal_2000.20111.1381.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.VP9VideoExtensions Microsoft.VP9VideoExtensions_1.0.41182.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.MicrosoftStickyNotes Microsoft.MicrosoftStickyNotes_4.0.2.0_x64__8wekyb3d8bbwe
|
||||||
|
RivetNetworks.KillerControlCenter RivetNetworks.KillerControlCenter_2.3.3314.0_x64__rh07ty8m5nkag
|
||||||
|
RealtekSemiconductorCorp.RealtekAudioControl RealtekSemiconductorCorp.RealtekAudioControl_1.26.250.0_x64__dt26b99r8h8gj
|
||||||
|
|
||||||
|
Microsoft.XboxGamingOverlay Microsoft.XboxGamingOverlay_2.50.24002.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.XboxGameOverlay Microsoft.XboxGameOverlay_1.46.11001.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.Xbox.TCUI Microsoft.Xbox.TCUI_1.23.28002.0_x64__8wekyb3d8bbwe
|
||||||
|
|
||||||
|
Microsoft.WindowsTerminal Microsoft.WindowsTerminal_1.6.10571.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.WindowsSoundRecorder Microsoft.WindowsSoundRecorder_1.0.38.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.WindowsMaps Microsoft.WindowsMaps_1.0.22.0_x64__8wekyb3d8bbwe
|
||||||
|
|
||||||
|
Microsoft.WindowsFeedbackHub Microsoft.WindowsFeedbackHub_1.2103.1172.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.WindowsCalculator Microsoft.WindowsCalculator_10.2012.21.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.Whiteboard Microsoft.Whiteboard_21.10208.5605.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.WebpImageExtension Microsoft.WebpImageExtension_1.0.32731.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.WebMediaExtensions Microsoft.WebMediaExtensions_1.0.40831.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.MicrosoftSolitaireCollection Microsoft.MicrosoftSolitaireCollection_4.6.3102.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.MicrosoftOfficeHub Microsoft.MicrosoftOfficeHub_18.2104.12721.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.HEVCVideoExtension Microsoft.HEVCVideoExtension_1.0.41023.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.HEIFImageExtension Microsoft.HEIFImageExtension_1.0.40978.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.GetHelp Microsoft.GetHelp_10.2008.32311.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.DesktopAppInstaller Microsoft.DesktopAppInstaller_1.0.42251.0_x64__8wekyb3d8bbwe
|
||||||
|
|
||||||
|
Microsoft.AV1VideoExtension Microsoft.AV1VideoExtension_1.1.40831.0_x64__8wekyb3d8bbwe
|
||||||
|
E046963F.LenovoCompanion E046963F.LenovoCompanion_10.2105.16.0_x64__k1h2ywk1493x8
|
||||||
|
DolbyLaboratories.DolbyVisionHDR DolbyLaboratories.DolbyVisionHDR_2.0.5463.0_x64__rz1tebttyb220
|
||||||
|
Microsoft.NET.Native.Framework.2.0 Microsoft.NET.Native.Framework.2.0_2.0.27427.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.NET.Native.Framework.2.0 Microsoft.NET.Native.Framework.2.0_2.0.27427.0_x86__8wekyb3d8bbwe
|
||||||
|
Microsoft.NET.Native.Runtime.2.0 Microsoft.NET.Native.Runtime.2.0_2.0.25709.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.NET.Native.Runtime.2.0 Microsoft.NET.Native.Runtime.2.0_2.0.25709.0_x86__8wekyb3d8bbwe
|
||||||
|
A-Volute.Nahimic A-Volute.Nahimic_1.6.6.0_x64__w2gh52qy24etm
|
||||||
|
AppUp.ThunderboltControlCenter AppUp.ThunderboltControlCenter_1.0.34.0_x64__8j3eq9eme6ctt
|
||||||
|
Microsoft.VCLibs.140.00 Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.VCLibs.140.00 Microsoft.VCLibs.140.00_14.0.30704.0_x86__8wekyb3d8bbwe
|
||||||
|
Microsoft.NET.Native.Framework.2.1 Microsoft.NET.Native.Framework.2.1_2.1.27427.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.NET.Native.Framework.2.1 Microsoft.NET.Native.Framework.2.1_2.1.27427.0_x86__8wekyb3d8bbwe
|
||||||
|
Microsoft.NET.Native.Runtime.2.1 Microsoft.NET.Native.Runtime.2.1_2.1.26424.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.NET.Native.Runtime.2.1 Microsoft.NET.Native.Runtime.2.1_2.1.26424.0_x86__8wekyb3d8bbwe
|
||||||
|
Microsoft.UI.Xaml.2.7 Microsoft.UI.Xaml.2.7_7.2203.17001.0_x86__8wekyb3d8bbwe
|
||||||
|
Microsoft.UI.Xaml.2.7 Microsoft.UI.Xaml.2.7_7.2203.17001.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.WindowsStore Microsoft.WindowsStore_22203.1401.26.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.ScreenSketch Microsoft.ScreenSketch_11.2201.12.0_x64__8wekyb3d8bbwe
|
||||||
|
AppUp.IntelGraphicsExperience AppUp.IntelGraphicsExperience_1.100.3408.0_x64__8j3eq9eme6ctt
|
||||||
|
NVIDIACorp.NVIDIAControlPanel NVIDIACorp.NVIDIAControlPanel_8.1.962.0_x64__56jybvy8sckqj
|
||||||
|
Microsoft.Windows.Photos Microsoft.Windows.Photos_2021.21120.8011.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.MicrosoftEdge.Stable Microsoft.MicrosoftEdge.Stable_100.0.1185.50_neutral__8wekyb3d8bbwe
|
||||||
|
windows.immersivecontrolpanel windows.immersivecontrolpanel_10.0.6.1000_neutral_neutral_cw5n1h2txyewy
|
||||||
|
Microsoft.LanguageExperiencePackde-DE Microsoft.LanguageExperiencePackde-DE_22000.18.58.0_neutral__8wekyb3d8bbwe
|
||||||
|
Microsoft.Windows.StartMenuExperienceHost Microsoft.Windows.StartMenuExperienceHost_10.0.22000.1_neutral_neutral_...
|
||||||
|
MicrosoftWindows.Client.CBS MicrosoftWindows.Client.CBS_321.15400.0.3_x64__cw5n1h2txyewy
|
||||||
|
MicrosoftWindows.Client.WebExperience MicrosoftWindows.Client.WebExperience_321.14700.0.9_x64__cw5n1h2txyewy
|
||||||
|
Microsoft.Windows.ShellExperienceHost Microsoft.Windows.ShellExperienceHost_10.0.22000.1_neutral_neutral_cw5n...
|
||||||
|
|
||||||
|
|
||||||
|
Microsoft.BingWeather Microsoft.BingWeather_1.0.6.0_x64__8wekyb3d8bbwe
|
||||||
|
Microsoft.BingNews Microsoft.BingNews_1.0.6.0_x64__8wekyb3d8bbwe
|
||||||
|
Disney.37853FC22B2CE Disney.37853FC22B2CE_1.27.1.0_x64__6rarf9sa4v8jt
|
||||||
|
SpotifyAB.SpotifyMusic SpotifyAB.SpotifyMusic_1.183.956.0_x86__zpdnekdrzrea0
|
||||||
|
|
||||||
|
|
||||||
|
PS C:\Windows\system32>
|
234
setupWin11.ps1
Normal file
234
setupWin11.ps1
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
$ErrorActionPreference = 'SilentlyContinue'
|
||||||
|
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
# Data
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
|
||||||
|
$Bloatware = @(
|
||||||
|
"Microsoft.AppConnector", "SpotifyAB.SpotifyMusic", "Microsoft.XboxIdentityProvider",
|
||||||
|
"Disney.*", "TobiiAB.TobiiEyeTrackingPortal", "microsoft.windowscommunicationsapps",
|
||||||
|
"Microsoft.XboxGameCallableUI ", "Microsoft.XboxSpeechToTextOverlay ", "Disney*",
|
||||||
|
"Microsoft.WindowsFeedbackHub", "Microsoft.XboxGamingOverlay", "Microsoft.XboxGameOverlay", "Microsoft.Xbox.TCUI",
|
||||||
|
|
||||||
|
"Microsoft.BingFinance", "Microsoft.BingNews", "Microsoft.BingSports",
|
||||||
|
"Microsoft.BingTranslator", "Microsoft.BingWeather", "Microsoft.BingFoodAndDrink",
|
||||||
|
"Microsoft.BingHealthAndFitness", "Microsoft.BingTravel", "Microsoft.GetHelp",
|
||||||
|
|
||||||
|
"Microsoft.People", "Microsoft.Wallet", "Microsoft.WindowsAlarms",
|
||||||
|
"Microsoft.WindowsMaps", "Microsoft.WindowsPhone",
|
||||||
|
"Microsoft.ConnectivityStore", "Microsoft.CommsPhone", "Microsoft.ScreenSketch",
|
||||||
|
"Microsoft.ZuneMusic", "Microsoft.ZuneVideo", "Microsoft.YourPhone",
|
||||||
|
|
||||||
|
"*ActiproSoftwareLLC*", "*Duolingo-LearnLanguagesforFree*", "*PandoraMediaInc*", "*CandyCrush*",
|
||||||
|
"*BubbleWitch3Saga*", "*Wunderlist*", "*Flipboard*", "*Twitter*", "*Facebook*", "*Royal Revolt*", "*Speed Test*",
|
||||||
|
"*Viber*", "*ACGMediaPlayer*", "*Netflix*", "*OneCalendar*", "*LinkedInforWindows*", "*HiddenCityMysteryofShadows*", "*Hulu*",
|
||||||
|
"*HiddenCity*", "*HotspotShieldFreeVPN*", "*Microsoft.Advertising.Xaml*", "Microsoft.Todos", "Microsoft.549981C3F5F10_8wekyb3d8bbwe"
|
||||||
|
)
|
||||||
|
|
||||||
|
$services = @(
|
||||||
|
"diagnosticshub.standardcollector.service", "DiagTrack",
|
||||||
|
"dmwappushsvc", "DPS", "MapsBroker", "NetTcpPortSharing",
|
||||||
|
"RemoteRegistry", "Fax", "PhoneSvc", "RetailDemo", "edgeupdate",
|
||||||
|
"edgeupdatem"
|
||||||
|
)
|
||||||
|
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
# Restore Point
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
|
||||||
|
Enable-ComputerRestore -Drive "C:\"
|
||||||
|
Checkpoint-Computer -Description "Win11 Hardening Script" -RestorePointType "MODIFY_SETTINGS"
|
||||||
|
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
# O&O Shutup Integration
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
|
||||||
|
Start-BitsTransfer "https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe"
|
||||||
|
#Start-BitsTransfer "https://code.michu-it.com/mrit_ooshutup.cfg"
|
||||||
|
Start-Process -FilePath "./OOSU10.exe" -ArgumentList 'mrit_ooshutup.cfg /quiet' -Wait
|
||||||
|
Remove-Item -Path ".\OOSU10.exe" -Force
|
||||||
|
#Remove-Item -Path ".\mrit_ooshutup.cfg" -Force
|
||||||
|
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
# Design
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Restore Windows 10 context menu
|
||||||
|
If (!(Test-Path "HKCU:\SOFTWARE\CLASSES\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}")) {
|
||||||
|
New-Item -Path "HKCU:\SOFTWARE\CLASSES\CLSID" -Name "{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}"
|
||||||
|
New-Item -Path "HKCU:\SOFTWARE\CLASSES\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" -Name "InprocServer32"
|
||||||
|
}
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\CLASSES\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" -Name "(Default)" -Value ""
|
||||||
|
|
||||||
|
# Start menu position left
|
||||||
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "TaskbarAl" -type "Dword" -Value "0"
|
||||||
|
|
||||||
|
# Remove Task View from Taskbar
|
||||||
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "ShowTaskViewButton" -type "Dword" -Value "0"
|
||||||
|
|
||||||
|
# Remove Chat from Taskbar
|
||||||
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "TaskbarMn" -type "Dword" -Value "0"
|
||||||
|
|
||||||
|
# Remove Widgets from Taskbar
|
||||||
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "TaskbarDa" -type "Dword" -Value "0"
|
||||||
|
|
||||||
|
# Remove Search from Taskbar
|
||||||
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Search" -Name "SearchboxTaskbarMode" -type "Dword" -Value "0"
|
||||||
|
|
||||||
|
# New Boot Animation
|
||||||
|
If (!(Test-Path "HKLM:\SYSTEM\ControlSet001\Control\BootControl")) {
|
||||||
|
New-Item -Path "HKLM:\SYSTEM\ControlSet001\Control" -Name "BootControl"
|
||||||
|
}
|
||||||
|
New-ItemProperty -Path "HKLM:\SYSTEM\ControlSet001\Control\BootControl" -Name "BootProgressAnimation" -Value "1" -PropertyType "Dword"
|
||||||
|
|
||||||
|
# Enable Windows Explorer Compact View
|
||||||
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -type "Dword" -Name "UseCompactMode" -Value "1"
|
||||||
|
|
||||||
|
# Enable Windows Dark Theme
|
||||||
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" -type "Dword" -Name "SystemUsesLightTheme" -Value "0"
|
||||||
|
|
||||||
|
# Enable App Dark Theme
|
||||||
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" -type "Dword" -Name "AppsUseLightTheme" -Value "0"
|
||||||
|
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
# Debloat
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Disk Cleanup
|
||||||
|
Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\*' | ForEach-Object {
|
||||||
|
New-ItemProperty -Path $_.PSPath -Name StateFlags0005 -Value 2 -PropertyType DWord -Force
|
||||||
|
};
|
||||||
|
Start-Process -FilePath CleanMgr.exe -ArgumentList '/sagerun:5' -Wait
|
||||||
|
|
||||||
|
# Remove Temp Files
|
||||||
|
Remove-Item "C:\Windows\Temp\*" -Recurse -Force -ErrorAction SilentlyContinue
|
||||||
|
Remove-Item $env:TEMP\* -Recurse -Force -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
|
# Uninstall Bloatware-Apps
|
||||||
|
foreach ($Bloat in $Bloatware) {
|
||||||
|
Get-AppxPackage -Name $Bloat| Remove-AppxPackage
|
||||||
|
Get-AppxProvisionedPackage -Online | Where-Object DisplayName -like $Bloat | Remove-AppxProvisionedPackage -Online
|
||||||
|
}
|
||||||
|
|
||||||
|
# Disable Services
|
||||||
|
foreach ($service in $services) {
|
||||||
|
Get-Service -Name $service -ErrorAction SilentlyContinue | Set-Service -StartupType Disabled -ErrorAction SilentlyContinue
|
||||||
|
Write-Output Disabling $service...
|
||||||
|
}
|
||||||
|
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
# Privacy
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Disable Tailored Experiences With Diagnostic Data
|
||||||
|
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy" -type "Dword" -Name "TailoredExperiencesWithDiagnosticDataEnabled" -Value "0"
|
||||||
|
|
||||||
|
# Disable Telemetry
|
||||||
|
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" -Name "AllowTelemetry" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" -Name "MaxTelemetryAllowed" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection" -Name "AllowTelemetry" -Type DWord -Value 0
|
||||||
|
Disable-ScheduledTask -TaskName "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser"
|
||||||
|
Disable-ScheduledTask -TaskName "Microsoft\Windows\Application Experience\ProgramDataUpdater"
|
||||||
|
Disable-ScheduledTask -TaskName "Microsoft\Windows\Autochk\Proxy"
|
||||||
|
Disable-ScheduledTask -TaskName "Microsoft\Windows\Customer Experience Improvement Program\Consolidator"
|
||||||
|
Disable-ScheduledTask -TaskName "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip"
|
||||||
|
Disable-ScheduledTask -TaskName "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector"
|
||||||
|
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System" -Name "EnableActivityFeed" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System" -Name "PublishUserActivities" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System" -Name "UploadUserActivities" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKLM:\SYSTEM\Maps" -Name "AutoUpdateEnabled" -Type DWord -Value 0
|
||||||
|
If (!(Test-Path "HKCU:\SOFTWARE\Microsoft\Siuf\Rules")) {
|
||||||
|
New-Item -Path "HKCU:\SOFTWARE\Microsoft\Siuf\Rules" -Force
|
||||||
|
}
|
||||||
|
If (!(Test-Path "HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting")) {
|
||||||
|
New-Item -Path "HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting" -Force
|
||||||
|
}
|
||||||
|
Set-ItemProperty -Path "HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting" -Name "Value" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots" -Name "Value" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "ContentDeliveryAllowed" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "OemPreInstalledAppsEnabled" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "PreInstalledAppsEnabled" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "PreInstalledAppsEverEnabled" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SilentInstalledAppsEnabled" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-338387Enabled" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-338388Enabled" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-338389Enabled" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-353698Enabled" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-338393Enabled" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-353694Enabled" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-353696Enabled" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SystemPaneSuggestionsEnabled" -Type DWord -Value 0
|
||||||
|
If (!(Test-Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent")) {
|
||||||
|
New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent" -Force
|
||||||
|
}
|
||||||
|
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent" -Name "DisableWindowsConsumerFeatures" -Type DWord -Value 1
|
||||||
|
|
||||||
|
|
||||||
|
If (!(Test-Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\AdvertisingInfo")) {
|
||||||
|
New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\AdvertisingInfo"
|
||||||
|
}
|
||||||
|
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\AdvertisingInfo" -Name "DisabledByGroupPolicy" -Type DWord -Value 1
|
||||||
|
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name "Disabled" -Type DWord -Value 1
|
||||||
|
Disable-ScheduledTask -TaskName "Microsoft\Windows\Windows Error Reporting\QueueReporting"
|
||||||
|
If (!(Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config")) {
|
||||||
|
New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\"
|
||||||
|
New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config"
|
||||||
|
}
|
||||||
|
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" -Name "DODownloadMode" -Type DWord -Value 0 -Force
|
||||||
|
|
||||||
|
Set-NetFirewallProfile -all
|
||||||
|
netsh advfirewall firewall add rule name="Block Windows Telemetry in" dir=in action=block remoteip=134.170.30.202,137.116.81.24,157.56.106.189,184.86.53.99,2.22.61.43,2.22.61.66,204.79.197.200,23.218.212.69,65.39.117.23,65.55.108.23,64.4.54.254 enable=yes
|
||||||
|
netsh advfirewall firewall add rule name="Block Windows Telemetry out" dir=out action=block remoteip=65.55.252.43,65.52.108.29,191.232.139.254,65.55.252.92,65.55.252.63,65.55.252.93,65.55.252.43,65.52.108.29,194.44.4.200,194.44.4.208,157.56.91.77,65.52.100.7,65.52.100.91,65.52.100.93,65.52.100.92,65.52.100.94,65.52.100.9,65.52.100.11,168.63.108.233,157.56.74.250,111.221.29.177,64.4.54.32,207.68.166.254,207.46.223.94,65.55.252.71,64.4.54.22,131.107.113.238,23.99.10.11,68.232.34.200,204.79.197.200,157.56.77.139,134.170.58.121,134.170.58.123,134.170.53.29,66.119.144.190,134.170.58.189,134.170.58.118,134.170.53.30,134.170.51.190,157.56.121.89,134.170.115.60,204.79.197.200,104.82.22.249,134.170.185.70,64.4.6.100,65.55.39.10,157.55.129.21,207.46.194.25,23.102.21.4,173.194.113.220,173.194.113.219,216.58.209.166,157.56.91.82,157.56.23.91,104.82.14.146,207.123.56.252,185.13.160.61,8.254.209.254,198.78.208.254,185.13.160.61,185.13.160.61,8.254.209.254,207.123.56.252,68.232.34.200,65.52.100.91,65.52.100.7,207.46.101.29,65.55.108.23,23.218.212.69 enable=yes
|
||||||
|
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Input\TIPC" -Name "Enabled" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\Control Panel\International\User Profile" -Name "HttpAcceptLanguageOptOut" -Type DWord -Value 1
|
||||||
|
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection" -Name "DoNotShowFeedbackNotifications" -Type DWord -Value 1
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Siuf\Rules" -Name "NumberOfSIUFInPeriod" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Siuf\Rules" -Name "PeriodInNanoSeconds" -Type QWord -Value ""
|
||||||
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "Start_TrackProgs" -Type DWord -Value 0
|
||||||
|
If (!(Test-Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\TextInput")) {
|
||||||
|
New-Item -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\TextInput" -Force
|
||||||
|
}
|
||||||
|
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\TextInput" -Name "AllowLinguisticDataCollection" -Type DWord -Value 0
|
||||||
|
Set-ItemProperty -Path "HKCU:\Software\Policies\Microsoft\Windows\CloudContent" -Name "DisableTailoredExperiencesWithDiagnosticData" -Type DWord -Value 1
|
||||||
|
Set-ItemProperty -Path "HKCU:\Software\Policies\Microsoft\Windows\CloudContent" -Name "DisableWindowsSpotlightFeatures" -Type DWord -Value 1
|
||||||
|
Set-ItemProperty -Path "HKCU:\Software\Policies\Microsoft\Windows\CloudContent" -Name "DisableThirdPartySuggestions" -Type DWord -Value 1
|
||||||
|
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
# Usability
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Default Explorer view This PC
|
||||||
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -type "Dword" -Name "LaunchTo" -Value "1"
|
||||||
|
|
||||||
|
# Show file extensions
|
||||||
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -type "Dword" -Name "HideFileExt" -Value "0"
|
||||||
|
|
||||||
|
# Install winget
|
||||||
|
if (!(Test-Path $env:LOCALAPPDATA\Microsoft\WindowsApps\winget.exe)){
|
||||||
|
$latest = (Invoke-WebRequest -UseBasicParsing -URI "https://github.com/microsoft/winget-cli/releases/latest").Links.Href | Select-String ".msixbundle"
|
||||||
|
if ((Get-WmiObject win32_operatingsystem | Select-Object osarchitecture).osarchitecture -like "64*") {
|
||||||
|
Start-BitsTransfer "https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx"
|
||||||
|
} else {
|
||||||
|
Start-BitsTransfer "https://aka.ms/Microsoft.VCLibs.x86.14.00.Desktop.appx"
|
||||||
|
}
|
||||||
|
|
||||||
|
Start-BitsTransfer "https://github.com$latest"; Add-AppxPackage -Path ".\Microsoft.DesktopAppInstaller_*.msixbundle" -DependencyPath ".\Microsoft.VCLibs*.appx"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Install Windows Terminal
|
||||||
|
winget install -e Microsoft.WindowsTerminal --accept-source-agreements --accept-package-agreements --force --silent
|
||||||
|
|
||||||
|
# Set Windows Terminal as Default Terminal
|
||||||
|
If (!(Test-Path "HKCU:\Console\%%Startup")) {
|
||||||
|
New-Item -Path "HKCU:\Console\%%Startup"
|
||||||
|
}
|
||||||
|
Set-ItemProperty -Path "HKCU:\Console\%%Startup" -Name "DelegationConsole" -Type String -Value "{2EACA947-7F5F-4CFA-BA87-8F7FBEEFBE69}"
|
||||||
|
Set-ItemProperty -Path "HKCU:\Console\%%Startup" -Name "DelegationTerminal" -Type String -Value "{E12CFF52-A866-4C77-9A90-F570A7AA2C6B}"
|
||||||
|
|
||||||
|
Remove-Item -Path ".\Microsoft.VCLibs*.appx" -Force
|
||||||
|
Remove-Item -Path ".\Microsoft.DesktopAppInstaller_*.msixbundle" -Force
|
||||||
|
|
||||||
|
# End of Script - Restart PC
|
||||||
|
#Start-Sleep 5
|
||||||
|
#Restart-Computer
|
Loading…
Reference in New Issue
Block a user