How to modify the default installation path of Windows 8 application

  
Maybe you are not comfortable with many changes in Windows 8, but from a user experience point of view, at least one of Windows 8 is better, that is the app store. This is a widely used form in Apple systems and smartphones. The app store integrates the search, purchase, download, and installation of applications. Users can easily access applications, plus synchronization, and install them themselves. The history of the application can be found.

Win8 App Store
Where Windows 8 apps are installed
It's convenient to get apps through the Windows Store, but you can't choose the installation path of these apps, even many people can't find them installed. Where is the application? Xiaobian I didn't know where these applications were installed. After I checked them online, I realized that the applications in the Windows Store were installed in the hidden directory of the system partition X:/Program Files<WindowsApps”.
Note 1: To display the hidden folder, click on the “View”-“Options> on the File Explorer, switch to the “View” tab, select “show hidden in the advanced settings Files, folders and drives”.

Windows8 applications are here.
The Windows8 application after installation is also different from our common ones. The folder name is quite long, and the company name, software name, version number and other information are displayed on the folder name. It even includes some (temporarily not clear what it means) random strings.
Note 2: Access to the application folder may require access rights, as described below.



Windows8 application folder name is very long
Modify Win8 application installation path
After knowing the Windows8 application installation location, you may think another question, how to change the installation path of the application? Why do you think of changing the installation path, mainly because of disk partition space issues. Xiaobian did not install a lot of applications, has used more than 2G space, and now there are a lot of applications in the app store, especially like some games, hundreds of MB or even GB have appeared, the system disk space is easy to be consumed Do it. Therefore, installing the application to a larger disk partition is the solution.




WinB applications have been more than 2GB
However, Windows 8 applications have no user intervention during the installation process. How can I modify the installation path? After some efforts, I finally let Xiaobian Found a solution (thanks to askvg.com for sharing this method), please look down.
Since you can't change the path during the installation process, you should find the method from the source, such as directly changing the system default installation path. This path is saved in the registry, press [Win+R] to open the run, enter regedit to start the registry editor, and locate the following key values:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionAppx
Find in the right window “PackageRoot” Note that its data value is the default installation path for Windows 8 applications.



Win8 application installation path settings
Next to do it is simple, modify its data value, change to the location you want. But when you finish editing and click OK, you will receive the following prompt:

You don't have permission to modify
So we need to get the permission of Appx first, you can change the path after getting the permission. .

Modify the application default path
Note 3: Changing the default installation path of the Windows 8 application will cause the installed application to fail to upgrade, because the old and new versions have inconsistent paths, so if you decide to change the application installation path, please First uninstall all Windows 8 built-in and third-party applications, and then re-install after changing the path.
Page 3 attached: Win8 permission acquisition method
For files or folders, right-click properties, security labels; for registry keys, right-click permissions; follow-up operations are basically the same: select "ldquo; group or user name" In the Administrators, click on the advanced below;

Change the permissions of the administrator account
Click on the above in the newly opened window “Change 

Change owner< Br> Then enter the login user name of the machine in the input box below the new window and click “check the name”, then click the confirmation of each window to close them.

Enter the local login user name here
Return to the original permission window, check the permissions of the Administrators<;full control", and finally return to the folder or the registry.

Get full control permissions

Copyright © Windows knowledge All Rights Reserved