Skip to content

boeschenstein/windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Windows

Package managers

  • Winget (Windows Package Manager)
    • predecessor: AppGet (shut down)
  • Chocolatey
  • Scoop
  • Microsoft Store

WinGet

https://github.com/microsoft/winget-cli

winget install firefox

Scoop

https://scoop.sh/

Update any installation

Active Directory

List my AD Roles

gpresult /V

Winget

Check your 'winget' installation in cmd: If winget is not available in cmd, install "App-Installer" in your Microsoft Store App.

Enable winget policies

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppInstaller /v EnableAppInstaller /t REG_DWORD /d "1" /f
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppInstaller /v EnableDefaultSource /t REG_DWORD /d "1" /f
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppInstaller /v EnableSettings /t REG_DWORD /d "1" /f

Tools Installation

Recommended tools:

winget install -e --accept-package-agreements --silent --id=OpenJS.NodeJS
winget install -e --accept-package-agreements --silent --id=Microsoft.VisualStudioCode
winget install -e --accept-package-agreements --silent --id Microsoft.SQLServerManagementStudio
winget install -e --accept-package-agreements --silent --id DominikReichl.KeePass
winget install -e --accept-package-agreements --silent --id Git.Git --source winget
winget install -e --accept-package-agreements --silent --id Docker.DockerDesktop
REM winget install -e --accept-package-agreements --silent --id Postman.Postman

winget install -e --accept-package-agreements --silent --id=Microsoft.VisualStudio.2022.Enterprise
--> Exitcode 1 (why?)

Optional tools:

winget install -e --accept-package-agreements --silent --include-unknown --id Microsoft.WindowsTerminal
winget install -e --accept-package-agreements --silent --include-unknown --id Atlassian.Sourcetree
winget install -e --accept-package-agreements --silent --include-unknown --id GitExtensionsTeam.GitExtensions
winget install -e --accept-package-agreements --silent --include-unknown --id=Notepad++.Notepad++
winget install -e --accept-package-agreements --silent --include-unknown --id=Ghisler.TotalCommander
winget install -e --accept-package-agreements --silent --include-unknown --id=Google.Chrome
winget install -e --accept-package-agreements --silent --include-unknown --id Mozilla.Firefox
winget install -e --accept-package-agreements --silent --include-unknown --id SumatraPDF.SumatraPDF

Upgrade all tools to latest verion:

--include-unknown: upgrade, if version is not in list

winget upgrade -all --force --silent --include-unknown

Search

winget search <appname>

Export/Import

winget export -o .\WinGetExport.json
winget import -i .\WinGetExport.json

Show folders

winget --info

Edit Settings

winget settings

File Search Tool everything

Install everything in your Windows machine: Best search tool ever: https://www.voidtools.com/

Android

scrcpy

Share android phone screen on windows PC: scrcpy

Tools

Microsoft PC Manager

Software Center

Reset cache: C:\Windows\CCM\ccmrepair.exe