Sep 15, 2023

Windows 11 : Built-In Apps that can be Remove

Windows 11 comes bundled with a some Apps that may or may not be needed in a Corporate environment, these may include App such as Xbox, Video Editor etc.

But removing all those unnecessary Apps maybe troublesome, and worst breaking the "SysPrep" function and further preventing for a mass deployment.

Below are the few Apps that can be removed safely without breaking "SysPrep" functionality. You will need to remove script lines for App(s) that you want to retain.

Copy and save the file as PowerShell Script (.ps1).

 

Write-Host
Write-Host
Write-Host "**************************"
Write-Host "* Removing Appx Packages *"
Write-Host "**************************"
Write-Host
Write-Host "Removing Zune Video..."
Get-AppxPackage -AllUsers *ZuneVideo* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Zune Music..."
Get-AppxPackage -AllUsers *ZuneMusic* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Microsoft Your Phone..."
Get-AppxPackage -AllUsers *YourPhone* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Xbox Speech..."
Get-AppxPackage -AllUsers *XboxSpeech* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Xbox Identity..."
Get-AppxPackage -AllUsers *XboxIdentity* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Xbox Gaming Overlay..."
Get-AppxPackage -AllUsers *XboxGamingOverlay* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Xbox Game Overlay..."
Get-AppxPackage -AllUsers *XboxGameOverlay* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Xbox App..."
Get-AppxPackage -AllUsers *XboxApp* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Xbox TCUI..."
Get-AppxPackage -AllUsers *Xbox.TCUI* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Windows Maps..."
Get-AppxPackage -AllUsers *WindowsMaps* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Windows Feedback Hub..."
Get-AppxPackage -AllUsers *WindowsFeedbackHub* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Windows Communications Apps..."
Get-AppxPackage -AllUsers *windowscommunicationsapps* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Windows Alarms..."
Get-AppxPackage -AllUsers *WindowsAlarms* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Microsoft People..."
Get-AppxPackage -AllUsers *Microsoft.People* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Solitaire Collection..."
Get-AppxPackage -AllUsers *MicrosoftSolitaireCollection* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Office Hub..."
Get-AppxPackage -AllUsers *MicrosoftOfficeHub* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Windows Get Started..."
Get-AppxPackage -AllUsers *GetStarted* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Windows Get Help..."
Get-AppxPackage -AllUsers *GetHelp* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Bing Weather..."
Get-AppxPackage -AllUsers *BingWeather* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Microsoft Gaming App..."
Get-AppxPackage -AllUsers *GamingApp* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Microsoft Bing News..."
Get-AppxPackage -AllUsers *BingNews* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Microsoft Teams App..."
Get-AppxPackage -AllUsers *MicrosoftTeams* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Microsoft To Dos App..."
Get-AppxPackage -AllUsers *Microsoft.Todos* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Microsoft Power Automate Desktop App..."
Get-AppxPackage -AllUsers *Microsoft.PowerAutomateDesktop* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Microsoft ClipChamp App..."
Get-AppxPackage -AllUsers *Clipchamp* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host "Removing Microsoft Windows Terminal App..."
Get-AppxPackage -AllUsers *WindowsTerminal* | Remove-AppxPackage
Start-Sleep -s 5
Write-Host
Write-Host "Uninstallation of AppxPackages Completed."
Start-Sleep -s 5 
Write-Host
Write-Host
Write-Host "**************************************"
Write-Host "* Removing Appx Provisioned Packages *"
Write-Host "**************************************"
Write-Host
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Zune Video..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.ZuneVideo_2019.22091.10041.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Zune Music..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.ZuneMusic_11.2305.4.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Microsoft Your Phone..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.YourPhone_1.22022.147.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Xbox Speech..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Xbox Identity..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.XboxIdentityProvider_12.50.6001.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Xbox Gaming Overlay..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.XboxGamingOverlay_2.622.3232.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Xbox Game Overlay..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.XboxGameOverlay_1.47.2385.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Xbox TCUI..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.Xbox.TCUI_1.23.28004.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Windows Maps..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.WindowsMaps_2022.2202.6.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Windows Feedback Hub..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.WindowsFeedbackHub_2022.106.2230.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Windows Communications Apps..."
Remove-AppxProvisionedPackage -Online -PackageName microsoft.windowscommunicationsapps_16005.14326.20544.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Windows Alarms..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.WindowsAlarms_2022.2202.24.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Microsoft People..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.People_2020.901.1724.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Solitaire Collection..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.MicrosoftSolitaireCollection_4.12.3171.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Office Hub..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.MicrosoftOfficeHub_18.2204.1141.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Windows Get Started..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.Getstarted_2021.2204.1.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Windows Get Help..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.GetHelp_10.2201.421.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Bing Weather..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.BingWeather_4.53.33420.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Microsoft Gaming App..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.GamingApp_2021.427.138.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Microsoft Bing News..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.BingNews_4.2.27001.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Microsoft Teams..."
Remove-AppxProvisionedPackage -Online -PackageName MicrosoftTeams_23231.411.2342.9597_x64__8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Microsoft Power Automate Desktop App..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.PowerAutomateDesktop_10.0.3735.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Microsoft ClipChamp App..."
Remove-AppxProvisionedPackage -Online -PackageName Clipchamp.Clipchamp_2.2.8.0_neutral_~_yxz26nhyzhsrt
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Microsoft To Dos App..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.Todos_2.54.42772.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host "Removing AppxProvisioned Microsoft Windows Terminal App..."
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.WindowsTerminal_3001.12.10983.0_neutral_~_8wekyb3d8bbwe
Start-Sleep -s 5
Write-Host
Write-Host
Write-Host "*******************************************************"
Write-Host "* Uninstallation of AppxProvisionedPackage Completed. *"
Write-Host "*******************************************************"
Start-Sleep -s 5
EXIT

 

 


!!! HAPPY COMPUTING !!!

Sep 9, 2023

VMWare : VMWare Tools for Windows XP 32-bit

VMWare Tools for Windows XP 32-bit, the tools is deprecated thus use at own risks.

1. Download the old version of VMWare Tools v.10.0.2 (https://drive.google.com/file/d/1nnjHGeavqOCjWIQSTCC6x-ksxnrCNCKX/view?usp=sharing)

2. Copy the Zip file into the VM Guest.

3. Extract the Zip inside the VM Guest.

4. Install a compatible CDROM or ISO Emulator (https://wincdemu.sysprogs.org/) or any preferred utility for Windows XP.

5. Mount the ISO file, search for "WinPreVista.ISO" and mount it as a CDROM drive.

6. Double-Click the drive for autorun, or browse it and run the setup according to your architecture. Such as "setup.exe" for 32-bit OS or "setup64.exe" for 64-bit OS.

7. Follow the on-screen instructions to complete the installations.

8. Once completed, eject or un-mount the drive and restart the VM.


!!! HAPPY COMPUTING !!!

Sep 5, 2023

Windows : Get Operating System Info in Command Prompt

How to get the installed Operating System information via the Command Prompt.

1. To get OS Architecture type.

wmic os get OSArchitecture



2. To get OS Edition info.

wmic os get Caption /value



3. To get OS CD-Key info.

wmic path softwareLicensingService get OA3xOriginalProductKey



!!! HAPPY COMPUTING !!!