How to unpin Microsoft Store App with Microsoft Intune

  • هذا الموضوع فارغ.
  • Post
    Weekend Wiki
    مدير عام
    To unpin the Microsoft Store app from the taskbar or Start Menu on Windows devices using Microsoft Intune, you can use a Configuration Profile with Custom Settings or a PowerShell script. Below are the steps to remove the Microsoft Store app pinning:

    Method 1: Using a Configuration Profile with Custom Settings

    1. Sign in to Microsoft Intune:
    2. Create a Configuration Profile:
      • Navigate to Devices > Configuration profiles > Create profile.
    3. Choose the Profile Type:
      • Platform: Windows 10 and later.
      • Profile Type: Custom.
    4. Configure the Profile:
      • Under Configuration settings, click Add.
      • Set OMA-URI Settings for unpinning the Microsoft Store app.
    5. Add the OMA-URI for Taskbar Pinning:
      • In the Name field, provide a suitable name (e.g., “Remove Microsoft Store Pin”).
      • OMA-URI: ./Device/Vendor/MSFT/Policy/Config/Start/Start_ShowTaskbarPinnedApps
      • Data type: String
      • Value: Remove the specific pin by clearing the list of pinned apps (example: []).
    6. Assign the Profile:
      • Assign the profile to the appropriate group(s) of devices that you want to unpin the Microsoft Store app from.
    7. Save the Profile:
      • Click Create and assign it to the target devices.

    Method 2: Using a PowerShell Script

    1. Create the PowerShell Script: You can use a PowerShell script to unpin the Microsoft Store app from the taskbar or Start Menu.

      Here’s an example of a script to unpin Microsoft Store:

      # Unpin Microsoft Store from Taskbar
      $app = "Microsoft.WindowsStore"
      $taskbar = Get-StartApps | Where-Object { $_.AppId -eq $app }
      if ($taskbar) {
          $taskbar | foreach { $_.Unpin() }
      }
      

      Save the script as Unpin-MicrosoftStore.ps1.

    2. Upload the PowerShell Script to Intune:
      • Go to Devices > Windows > PowerShell scripts > Add.
      • Upload the PowerShell script you created.
      • Configure the script settings (e.g., ensure the script runs with the correct permissions and executes on startup).
    3. Assign the Script:
      • Assign the script to the desired user or device group.
    4. Save and Deploy:
      • Click Add to deploy the script to target devices.

    Method 3: Use a Win32 App with a Script

    Alternatively, you can package the PowerShell script as a Win32 app and deploy it to your devices using Microsoft Intune.


    Verification

    1. After deploying the configuration profile or PowerShell script, check a target device.
    2. Ensure that the Microsoft Store app is no longer pinned to the taskbar or Start Menu.

    By following these methods, you can effectively unpin the Microsoft Store app from managed devices using Intune. Let me know if you need further assistance!

  • يجب تسجيل الدخول للرد على هذا الموضوع.
arArabic