Sanity Check: Citrix DaaS UMHC on Azure // Windows...
# citrix-cloud
m
Sanity Check: Citrix DaaS UMHC on Azure // Windows 11 Multi User Enterprise 23H2 Customer demands Snipping Tool for his/her users. I thought Snipping Tool is not available on Win11 Multi User, as its an MSIX, and I can't find it as local admin, or as my test user. On the other hand 2 of 20 users have it available and customer send me screenshots for proof. I'm at a loss at the moment, why 2 people have it. Where did it come from and what is the state of MSIX "standard" apps on Win11 Multi User?
I bet this is a hint in the right direction, but I'm not sure what to do with this information just yet.
Copy code
$Manifest = $(Get-AppxPackage -AllUsers -Name Microsoft.ScreenSketch).InstallLocation + "\AppxManifest.xml"; Add-AppXPackage -Register -DisableDevelopmentMode -Path $Manifest
This works. I could execute this as a logon script or WEM action. But I haven't found an IF clause yet, to determine, if this has to be run. I don't want to runs this every time without a need for it.
j
Win11 multi gives you all the modern MSIX app stuff, it's windows 11 with rds injected really (I'm sure I hurt engineerings feelings there) You probably used Citrix optimizer and removed it, the only way back is to reinstall/reregister it using the above
j
Create a marker in your reg or do a runonce.
m
Yes, this Image has seen Packer -> BIS-F -> Citrix Optimizer.
@jvitech That might work, but I would rather do a query. Will continue research today.
👍 1
Is there any way in Registering the Microsoft.ScreenSketch AppX, without knowing the Full Path to the AppxManifest.xml? Because there seems to be no way for the user (without elevated permissions) to research that path. If you know the path beforehand, it's "easy" ™️ . But just by knowing the app is missing, but not knowing the path from the user session, seems to be complicated. I could use the very same trick I already use for Teams2: During the Packer build I query the path, which is easy, with elevated permissions, and then same it as a machine environment variable. I can then reference the machine variable as a user login script, like this:
Copy code
if (!(Get-AppxPackage -Name "MSTeams")) {
    Write-Host "Teams v2 will be registered!" -ForegroundColor Green
    Add-AppXPackage -Register -DisableDevelopmentMode "$ENV:TeamsVersionPath\AppXManifest.xml"
}
I tried the wrong approach, this seems to work, will now test via WEM:
Copy code
if (!(Get-AppxPackage -Name Microsoft.ScreenSketch)) {
    Add-AppxPackage -MainPackage "Microsoft.ScreenSketch_8wekyb3d8bbwe" -RegisterByFamilyName
}