Installed Snipping tool in OS-Win11 23H3, done power off and set as image, to verify the app is still there I have power on the Golden Image and check the snipping tool still in the image but when I deployed into hostpool the sniping tool is missing from C:\Program files\WindowsApps folder as well. Please help.
Snipping tool missing after deploy golden image to HostPool
We have the same issue with Win11 23H2. We installed Greenshot for them to use.
Unfortunately, that's a known issue with Microsoft.
Sometimes, the apps (Photos, Snipping, Notepad, etc.) survive sysprep and other times, they don't 😞.
Microsoft has said they're working on a fix for this, but we haven't heard any definitive date of when it will be available.
That being said, a lot of partners have had success with running this command in a scripted action.
Although, sometimes it needs to be run as a startup script so it can run in a user context.
Get-AppxPackage -AllUsers *Microsoft.ScreenSketch* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
It's fixed by doing below steps.
1.CMD to check specific app for all the users--
Get-AppxPackage *screensketch* -AllUsers
2.Please run below command from Powershell ISE as admin in the image for provisioning the specific app
$PFN = "Name of the built in App"
$packageManager = [Windows.Management.Deployment.PackageManager,Windows.Web,ContentType=WindowsRuntime]::new()
$result = $packageManager.ProvisionPackageForAllUsersAsync("PackageFamilyName")
if ($result.ExtendedErrorCode) { Write-Host "Error $result.ExtendedErrorCode.HResult provisioning $PFN"; } else { Write-Host "Package $PFN correctly provisioned!" }
Thanks for sharing what worked for you, Akhtar Alam!
Did you try this as a Scripted Action or as long as you run it once on the Desktop Image, does that work even when the hosts are imaged?
For anyone finding this topic, I did post a rough overview of how to deploy snipping tool using App Attach that you can see here.
Please sign in to leave a comment.
Comments (5 comments)