You Cannot Make Changes to Contents of This Read-only Folder Outlook 2016
Get-Appxpackage is a PowerShell command that can brandish a list of the app packages that are installed in a user profile. It includes all the applications that are installed from the Microsoft Store or third-political party apps. When using the command, if you receive an mistake— Powershell Go-Appxpackage Admission Denied, Not Recognized or Not Working, then this post will assist you resolve this.
The fault message y'all could run across may vary merely typically, it would read:
Get-AppxPackage : The service cannot be started, either because it is disabled or because it has no enabled devices
associated with it. The service cannot exist started, either because information technology is disabled or because it has no enabled devices associated with it.
PowerShell Get-Appxpackage Not working
It's a permission issue that can be resolved by post-obit some checks.
- Run PowerShell With Admin Permission
- Check Permission With Destination Directory
- Check AppX Deployment Service status.
When changing the permission of folders, make sure y'all do non remove any user account which is already bachelor.
ane] Run PowerShell With Admin Permission
Since the command needs to install on the application on a system level, information technology is important that you lot execute or run the command when it is launched with admin permission.
- Press the Start button, and blazon PowerShell
- When it appears on the list, right-click and choose to Run as Administrator
- Execute the command and information technology should work without error.
Apart from permission denied, you may besides receive Not Recognized or Non Working as an error. While Not Recognized is related to admin permission, Not working is related to Services.
Go to Services Snap-in, and locate Customer License Service (ClipSVC) and AppX Deployment Service (AppXSVC). Brand sure they are bachelor and running.
ii] Check Permission With Destination Directory
If you are installing the application in a detail binder, then make sure you have consummate permission to write the files inside it.
- Get to the Destination folder, right-click and select Properties
- So switch to Security tab
- Check if your account is available, and it has full permission.
- You need to also bank check if the System user account is available and has full control
- If non, you can click on the Edit push, and add together them along with the permission.
three] Check AppX Deployment Service status
In the PowerShell console, Run Get-Service "AppXSvc" and meet.
The AppX Deployment Service (AppXSVC) Status should exist Running.
If information technology shows Stopped, then open a control prompt as ambassador and run:
net first AppXSvc
Alternatively, you could open up Regedit and navigate to:
HKEY_LOCAL_MACHINE\Arrangement\CurrentControlSet\Services\AppXSvc
Here set the value of "Start" to "iii" and reboot.
Mail these changes, you can execute the command, and the error should not occur anymore.
Read: How to change File and Folder permissions in Windows.
How Do I Enable AppxPackage?
The command and related files are already bachelor with Windows, and you do not demand to install anything special. However, make certain you execute it with admin permission else it volition say the command is not recognized.
How to Restore Built-In Apps on Windows?
Open PowerShell with administrator rights, and execute the post-obit command to restore all the Built-in apps in Windows.
Become-AppxPackage -AllUsers | For each app: Add-AppxPackage -DisableDevelopmentMode -Register "$($_InstallLocation)\AppXManifest.xml
Information technology volition accept some fourth dimension to finish, and all the apps that are available when you set Windows for the first time will be available.
I hope the mail was easy to follow, and y'all clearly understand the reasons backside the fault.
crosslandadminaraince.blogspot.com
Source: https://www.thewindowsclub.com/powershell-get-appxpackage-not-working
0 Response to "You Cannot Make Changes to Contents of This Read-only Folder Outlook 2016"
Post a Comment