Professional workstations
Information
Windows 11 installation for professional workstations
This is a short bullet point list of settings and commands that we execute when we install a new Windows 11 machine for professional use.
Some of the settings are system-wide, some are user specific.
Some of the settings are system-wide, some are user specific.
Windows Settings
Steps to take or Settings location (most of the time you can just typ the settings page name into the start menu) | Description | |
No Microsoft Account | This has to be done during installation:
| We use the Microsoft account to transfer or re-validate a Windows license only. But we do not need that for test installations. (Note that you can not see a list of your MS software licenses online...) If you do not add an MS account as the main user at installation, then you can create a new user after installation to validate your Windows license. |
Disable Bing Search in Start Menu | Privacy & Security / Search permissions / all off | In the start menu I search for an installed app or setting. If I want a web search, I start a web browser. |
Lock Screen | Lock Screen settings: Personalise: Picture Disable "Fun Facts" | |
TaskBar | TaskBar settings:
| See 3rd party app "Explorer Patcher" as well |
Windows Explorer | Setting: Start with "This PC" To remove some of the shortcuts like "movies", start regedit.exe and paste this path HKLM\SOFTWARE\Microsoft\Windows\ CurrentVersion\Explorer\Desktop\NameSpace Check the contents of each subfolders for information which shortcut it is. Delete the folders you do not want. We removed last time: {e88865ea-0e1c-4e20-9aa6-edcd0212c87c} {f874310e-b6b7-47dc-bc84-b9e6b38f5903} {031E4825-7B94-4dc3-B131-E946B44C8DD5} {1CF1260C-4DD0-4ebb-811F-33C572699FDE} {3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA} {450D8FBA-AD25-11D0-98A8-0800361B1103} {A0953C92-50DC-43bf-BE83-3742FED03C9C} {A8CDFF1C-4878-43be-B5FD-F8091C1C60D0} | |
OneDrive | Right-click on tray icon, Settings, Settings Click on "Unlink this PC" | |
App Execution Aliases | App Execution Aliases Disable "App Installer" for Python 2 and 3. | I do not want to auto-install some version if someone types "python" into shell. |
Pagefile/Hiberfil | Set Pagefile to a fixed size. E.g. 8192 Disable hibernation (C:\HiberFil.sys) with command "powercfg -h off" | |
Sign-In Options | Disable "use my sign in to automatocally finish up after an update" | If enabled, this automatically logs in your account and if some other wants to shut down, it asks to terminate some users apps. "Did someone else log in before?? May I shut down?" |
Disable Local Account Security Questions | Two ways to disable them:
| They are just a security risk and I hate to type in something when adding a new user. |
Remote Desktop | Remote Desktop Settings: Enable | |
Public to private network | Network and Internet Settings Private Network | |
File/Printer sharing | Advanced Sharing Settings: Enable File and printer sharing | |
Allow "ping" | Windows Defender Firewall with Advanced Features: Inbound Rules / File and printer sharing -Echo Request Rule should be "disabled" or "enabled + allow" | |
Network | View Network connections Double-click on your connection.
|
Services
Set services to disabled |
|
Set services to manual |
|
Windows Apps
Disable app install for new user accounts via powershell
Run
Get-AppXProvisionedPackage -Online | Select PackageName >C:\temp\apppacks.txt
This lists all apps that will be installed on login.
This lists all apps that will be installed on login.
Edit the file. Remove apps you want to keep.
Keep for example:
Keep for example:
- Microsoft (and nothing else in the name)
- Microsoft.HEIFImageExtension
- Microsoft.HEVCVideoExtension
- Microsoft.MicrosoftEdge
- Microsoft.Paint
- Microsoft.PowerAutomateDesktop
- Microsoft.RawImageExtension
- Microsoft.StorePurchaseApp
- Microsoft.WindowsStore
- Microsoft.VCLibs
- Microsoft.VP9VideoExtensions
- Microsoft.WebMediaExtensions
- Microsoft.WebpImageExtension
- Microsoft.WindowsCalculator
- Microsoft.WindowsNotepad
- Microsoft.WindowsTerminal
- Microsoft.SecHealthUI
- Microsoft.DesktopAppInstaller
Then change all remaining lines that they look like this:
Remove-AppXProvisionedPackage -Online -PackageName "<Packname>"
If you use the Notepad, then copy this first: Remove-AppXProvisionedPackage -Online -PackageName "
Now use the keys Pos1, Ctrl-V, ArrowDown in a loop.
Then enable caps lock. And these these keys in a loop: End, 2, ArrowDown
Now use the keys Pos1, Ctrl-V, ArrowDown in a loop.
Then enable caps lock. And these these keys in a loop: End, 2, ArrowDown
Copy-Paste everything into Powershell and press Return (Return is required for the last line only)
Uninstall apps for the current user via powershell
Paste these lines into powershell and press Return:
Get-AppxPackage *windowscamera* | Remove-AppxPackage -AllUsers
Get-AppxPackage *windowsmaps* | Remove-AppxPackage -AllUsers
Get-AppxPackage *xboxapp* | Remove-AppxPackage -AllUsers
Get-AppxPackage *XboxGaming* | Remove-AppxPackage -AllUsers
Get-AppxPackage *phone* | Remove-AppxPackage -AllUsers
Get-AppxPackage *XboxIdentityProvider* | Remove-AppxPackage -AllUsers
Get-AppxPackage *WidgetsPlatformRuntime* | Remove-AppxPackage -AllUsers
Get-AppxPackage *ZuneMusic* | Remove-AppxPackage -AllUsers
Get-AppxPackage *ScreenSketch* | Remove-AppxPackage -AllUsers
Get-AppxPackage *LockApp* | Remove-AppxPackage -AllUsers
Get-AppxPackage *XboxGameCallableUI* | Remove-AppxPackage -AllUsers
Get-AppxPackage *AsyncTextService* | Remove-AppxPackage -AllUsers
Get-AppxPackage *Windows.PeopleExperienceHost* | Remove-AppxPackage -AllUsers
Get-AppxPackage *WindowsAlarms* | Remove-AppxPackage -AllUsers
Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage -AllUsers
Get-AppxPackage *Todos* | Remove-AppxPackage -AllUsers
Get-AppxPackage *MicrosoftCorporationII.QuickAssist* | Remove-AppxPackage -AllUsers
Get-AppxPackage *ZuneVideo* | Remove-AppxPackage -AllUsers
Get-AppxPackage *XboxSpeechToTextOverlay* | Remove-AppxPackage -AllUsers
Get-AppxPackage *XboxGameOverlay* | Remove-AppxPackage -AllUsers
Get-AppxPackage *Xbox.TCUI* | Remove-AppxPackage -AllUsers
Get-AppxPackage *WindowsSoundRecorder* | Remove-AppxPackage -AllUsers
Get-AppxPackage *WindowsFeedbackHub* | Remove-AppxPackage -AllUsers
Get-AppxPackage *Windows.Photos* | Remove-AppxPackage -AllUsers
Get-AppxPackage *Windows.DevHome* | Remove-AppxPackage -AllUsers
Get-AppxPackage *People* | Remove-AppxPackage -AllUsers
Get-AppxPackage *OutlookForWindows* | Remove-AppxPackage -AllUsers
Get-AppxPackage *MicrosoftStickyNotes* | Remove-AppxPackage -AllUsers
Get-AppxPackage *MicrosoftSolitaireCollection* | Remove-AppxPackage -AllUsers
Get-AppxPackage *MicrosoftOfficeHub* | Remove-AppxPackage -AllUsers
Get-AppxPackage *GetHelp* | Remove-AppxPackage -AllUsers
Get-AppxPackage *GamingApp* | Remove-AppxPackage -AllUsers
Get-AppxPackage *BingWeather* | Remove-AppxPackage -AllUsers
Get-AppxPackage *BingNews* | Remove-AppxPackage -AllUsers
Get-AppxPackage *Clipchamp.Clipchamp* | Remove-AppxPackage -AllUsers
If MS decided to add new apps, you can get a list with this command:
Get-AppxPackage | Select Name >C:\temp\apps.txt
Manual uninstall:
Check "Add or remove Programs" to see if some app is left.
e.g. the apps Cortana and People
e.g. the apps Cortana and People
3rd party apps
O&O Shutup | https://www.oo-software.com/en/shutup10 Disable Windows data collection. Note that you should read the settings carefully. e.g. this tool recommends to disable "Remote Desktop". On the other side it does not recommend to disable "OneDrive" (if still installed...) |
Notepad++ | Open Settings:
|
Firefox/Chrome | |
Total Commander | Open Settings:
Download Plugin file 7zip and open it with Total Commander to install it. |
Explorer Patcher | Download via https://github.com/valinet/ExplorerPatcher Open Settings:
After install: Right-click on Task bar. Add New Tool bar: %USERPROFILE%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch (Way better than the new pinned apps...) Note: Some new Windows version has now blocked this application because Microsoft does not like it. It is an "unwanted application". But if you get the warning, just click on the message to continue installation. |