Skip to content

Keep OneDrive and Teams #479

Closed as not planned
Closed as not planned

Description

@michelfritsch

Is there any way to edit the script to keep OneDrive and Teams?

Activity

  1. Miiraak commented on Oct 13, 2025

    @Miiraak
    Contributor

    Hi @michelfritsch !
    Yes, you can do it. Download the last tiny11maker.ps1 script then remove all registry edition linked to OneDrive and Teams.
    Remove it from the listed package.

    Related lines :

    • $packagePrefixes = 'AppUp.IntelManagementandSecurityStatus',
      'Clipchamp.Clipchamp',
      'DolbyLaboratories.DolbyAccess',
      'DolbyLaboratories.DolbyDigitalPlusDecoderOEM',
      'Microsoft.BingNews',
      'Microsoft.BingSearch',
      'Microsoft.BingWeather',
      'Microsoft.Copilot',
      'Microsoft.Windows.CrossDevice',
      'Microsoft.GamingApp',
      'Microsoft.GetHelp',
      'Microsoft.Getstarted',
      'Microsoft.Microsoft3DViewer',
      'Microsoft.MicrosoftOfficeHub',
      'Microsoft.MicrosoftSolitaireCollection',
      'Microsoft.MicrosoftStickyNotes',
      'Microsoft.MixedReality.Portal',
      'Microsoft.MSPaint',
      'Microsoft.Office.OneNote',
      'Microsoft.OfficePushNotificationUtility',
      'Microsoft.OutlookForWindows',
      'Microsoft.Paint',
      'Microsoft.People',
      'Microsoft.PowerAutomateDesktop',
      'Microsoft.SkypeApp',
      'Microsoft.StartExperiencesApp',
      'Microsoft.Todos',
      'Microsoft.Wallet',
      'Microsoft.Windows.DevHome',
      'Microsoft.Windows.Copilot',
      'Microsoft.Windows.Teams',
      'Microsoft.WindowsAlarms',
      'Microsoft.WindowsCamera',
      'microsoft.windowscommunicationsapps',
      'Microsoft.WindowsFeedbackHub',
      'Microsoft.WindowsMaps',
      'Microsoft.WindowsSoundRecorder',
      'Microsoft.WindowsTerminal',
      'Microsoft.Xbox.TCUI',
      'Microsoft.XboxApp',
      'Microsoft.XboxGameOverlay',
      'Microsoft.XboxGamingOverlay',
      'Microsoft.XboxIdentityProvider',
      'Microsoft.XboxSpeechToTextOverlay',
      'Microsoft.YourPhone',
      'Microsoft.ZuneMusic',
      'Microsoft.ZuneVideo',
      'MicrosoftCorporationII.MicrosoftFamily',
      'MicrosoftCorporationII.QuickAssist',
      'MSTeams',
      'MicrosoftTeams',
      'Microsoft.WindowsTerminal',
      'Microsoft.549981C3F5F10'
    • Remove-Item -Path "$ScratchDisk\scratchdir\Windows\System32\OneDriveSetup.exe" -Force | Out-Null
    • Write-Output "Disabling OneDrive folder backup"
      Set-RegistryValue "HKLM\zSOFTWARE\Policies\Microsoft\Windows\OneDrive" "DisableFileSyncNGSC" "REG_DWORD" "1"
    • Write-Output "Prevents installation of Teams:"
      Set-RegistryValue 'HKLM\zSOFTWARE\Policies\Microsoft\Teams' 'DisableInstallation' 'REG_DWORD' '1'

    I think it's all, don't hesitate to take a second look

    Or you can still try my last in-dev PR #465 or here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions