Auto-commit: 2025-10-31 08:58:35
This commit is contained in:
BIN
Windows-Custom-user/ActiveSetup.reg
Normal file
BIN
Windows-Custom-user/ActiveSetup.reg
Normal file
Binary file not shown.
37
Windows-Custom-user/CustWin.cmd
Normal file
37
Windows-Custom-user/CustWin.cmd
Normal file
@@ -0,0 +1,37 @@
|
||||
Set cmdwinsat=Winsat
|
||||
Set cmdpowershell=powershell
|
||||
Set cmdpowercfg=powercfg
|
||||
Set cmdreg=reg
|
||||
if defined PROCESSOR_ARCHITEW6432 Set cmdwinsat=%SystemRoot%\Sysnative\cmd.exe /c Winsat
|
||||
if defined PROCESSOR_ARCHITEW6432 Set cmdpowershell=%SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe
|
||||
if defined PROCESSOR_ARCHITEW6432 Set cmdpowercfg=%SystemRoot%\Sysnative\cmd.exe /c powercfg
|
||||
if defined PROCESSOR_ARCHITEW6432 Set cmdreg=%SystemRoot%\sysnative\reg.exe
|
||||
|
||||
|
||||
:: menu demarrer a gauche
|
||||
%cmdreg% add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarAl /t REG_DWORD /d 0 /f
|
||||
|
||||
:: desactiver recherche bing dans le menu demarrer
|
||||
%cmdreg% add HKCU\Software\Policies\Microsoft\Windows\Explorer /v DisableSearchBoxSuggestions /t reg_dword /d 1 /f
|
||||
|
||||
:: desactiver chat taskbat
|
||||
%cmdreg% add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v TaskbarMn /t reg_dword /d 0 /f
|
||||
|
||||
:: desactiver widget taskbat
|
||||
%cmdreg% add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v TaskbarDa /t reg_dword /d 0 /f
|
||||
|
||||
:: desactiver Multi Bureau
|
||||
%cmdreg% add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v ShowTaskViewButton /t reg_dword /d 0 /f
|
||||
|
||||
:: pas d'affichage du store dans la barre des taches
|
||||
%cmdreg% add HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer /v NoPinningStoreToTaskbar /t reg_dword /d 1 /f
|
||||
|
||||
|
||||
:: ********** Gestion des AppxPackage **********
|
||||
%cmdpowershell% -command Get-AppxPackage ^| where-object {$_.Name -like '*Xbox*'} ^| remove-AppxPackage -ErrorAction SilentlyContinue
|
||||
%cmdpowershell% -command Get-AppxPackage ^| where-object {$_.Name -like '*Zune*'} ^| remove-AppxPackage -ErrorAction SilentlyContinue
|
||||
%cmdpowershell% -command Get-AppxPackage ^| where-object {$_.Name -like '*Teams*'} ^| remove-AppxPackage -ErrorAction SilentlyContinue
|
||||
%cmdpowershell% -command Get-AppxPackage ^| where-object {$_.Name -like '*Getstarted*'} ^| remove-AppxPackage -ErrorAction SilentlyContinue
|
||||
%cmdpowershell% -command Get-AppxPackage ^| where-object {$_.Name -like '*GetHelp*'} ^| remove-AppxPackage -ErrorAction SilentlyContinue
|
||||
%cmdpowershell% -command Get-AppxPackage ^| where-object {$_.Name -like '*WindowsFeedbackHub*'} ^| remove-AppxPackage -ErrorAction SilentlyContinue
|
||||
%cmdpowershell% -command Get-AppxPackage ^| where-object {$_.Name -like '*GamingApp*'} ^| remove-AppxPackage -ErrorAction SilentlyContinue
|
||||
10
Windows-Custom-user/install.cmd
Normal file
10
Windows-Custom-user/install.cmd
Normal file
@@ -0,0 +1,10 @@
|
||||
Set cmdwinsat=Winsat
|
||||
Set cmdpowershell=powershell
|
||||
Set cmdpowercfg=powercfg
|
||||
if defined PROCESSOR_ARCHITEW6432 Set cmdwinsat=%SystemRoot%\Sysnative\cmd.exe /c Winsat
|
||||
if defined PROCESSOR_ARCHITEW6432 Set cmdpowershell=%SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe
|
||||
if defined PROCESSOR_ARCHITEW6432 Set cmdpowercfg=%SystemRoot%\Sysnative\cmd.exe /c powercfg
|
||||
|
||||
|
||||
copy "%~dp0CustWin.cmd" c:\windows\CustWin.cmd /Y
|
||||
regedit /s "%~dp0activeSetup.reg"
|
||||
16
Windows-Custom-user/readme.md
Normal file
16
Windows-Custom-user/readme.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# 🖥️ Windows Taskbar & Apps Cleanup Script
|
||||
|
||||
## 🔧 What it does
|
||||
This script customizes Windows UI and removes unnecessary apps:
|
||||
- Configures **Taskbar**:
|
||||
- Left-align Start Menu
|
||||
- Disable Bing search, Chat, Widgets, Task View, and Store pinning
|
||||
- Removes preinstalled **Appx packages**:
|
||||
- Xbox, Zune, Teams, GetStarted, GetHelp, Feedback Hub, GamingApp
|
||||
|
||||
---
|
||||
|
||||
## ✅ Prerequisites
|
||||
- Run as **Administrator**.
|
||||
- Works on **Windows 10/11**.
|
||||
- Modifies **HKCU registry keys** → apply per user (use GPO if needed globally).
|
||||
Reference in New Issue
Block a user