This is my winget configure script to set up a new computer. Still work in progress. There will need to be a hybrid of Needing admin to run. Parts have been validated on an Azure VM but needs more validation.
Most everything in the dsc.yml should work.
- New computer with Windows 11 that can boot a dev drive.
- C:\ can be shrunk by 75 gigs to create dev drive.
- D:\ will be dev drive
- Open Windows PowerShell
- Run boot.ps1
- winget configuration -f base.dcs.yml
New-Item -Path 'HKCU:\Software\Microsoft\Office\16.0\Outlook\' -Force
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Office\16.0\Outlook\' -Name 'DefaultProfile' -Value "OutlookAuto" -PropertyType String -Force
New-Item -Path 'HKCU:\Software\Microsoft\Office\16.0\Outlook\OutlookAuto' -Force
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Office\16.0\Outlook\OutlookAuto' -Name 'Default' -Value "" -PropertyType String -Force
New-Item -Path 'HKCU:\Software\Microsoft\Office\16.0\Outlook\AutoDiscover' -Force
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Office\16.0\Outlook\AutoDiscover' -Name 'ZeroConfigExchange' -Value "1" -PropertyType DWORD -Force
gpupdate /force
outlook.exe
- Migrate to https://github.com/microsoft/PowerToys/blob/main/.configurations/configuration.vsEnterprise.dsc.yaml
- Set PowerShell 7 as default
I doubt this can be scripted out to connect on a new computer. But I can dream :)
- Add mouse
- Add Keyboard
- --Done - Show ext--
- --Done - Show hidden files--
- Uncheck "Include account-based insights"
- Uncheck "show frequently used folders"
- Check Display the full path in titlebar
- set to performance
- no top
- no multi-app smart suggestion
- All monitors 100% scale
- Everything to visible
- Remove bluetooth icon
- More Pins
- Turn off show recently added apps
- Turn off Show most used apps
- Turn off show recently opened items in start menu
- Turn off Show recommendations
- Search to hidden
- Turn off Copilot
- Turn off taskview
- Turn off widgets
Unpin everything
- Edge
- outlook
- VS
- vs code
- Dev Home
- Turn on do not disturb
- Turn off outlook
- turn off teams
This would be the config for my desktop but i would have a var for laptops for work profile i'd group set.
- Rename one to Headphone jack
- Rename one for sonos
- disable monitor 1
- disable monitor 2
- disable yeti
- Unpin video
- Unpin music
- pin d:\source
Cannot currently do, only dark / light. I have hybrid
- Windows mode - dark
- App mode - light
- Bing discovery disabled
- Sidebar disabled
- Outlook
- Visual Studio enterprise
- Mouse wheel to ratchet only.