I want to remove the application from another user account (Specific selected user) I used below query Remove-AppxPackage -Package FACEBOOK.FACEBOOK_2021.927.1.0_neutral__8xx8rvfyw5nnt -User S-1-5-21-1982064058-2852822003-722279830-1009
Format Remove-AppxPackage -Package (PackageFullName) -User (User.SID)
above query work on login user but not working for other users
您是否尝试过“-Force”选项?
Below script format work for me
Get-AppxPackage -User SID | Where PackageFullName -eq packagefullname | Remove-AppxPackage -User
Get-AppxPackage -User S-1-5-21-1982064058-2852822003-722279830-1009 | Where PackageFullName -eq FACEBOOK.FACEBOOK_2021.927.1.0_neutral__8xx8rvfyw5nnt | Remove-AppxPackage -User S-1-5-21-1982064058-2852822003-722279830-1009
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.