December 19, 2012

Change The Location Where Windows Apps Get Installed In Windows 8

Installing programs from other sources in Windows 8 is the same as in Windows 7. You’re given an option to choose where to store the program’s content on your local computer. By default, programs get stored in C:\Program Files or C:\Program Files (x86) for 64-bit machines. That’s how it’s always been. In Windows 8, that has changed, especially when installing apps from Windows store. They’re automatically installed in a pre-defined location on your local computer. That location is always going to be C:\Program Files\WindowsApps. To view this location you must enable hidden file view because that folder is hidden. To learn how to enable hidden files in Windows 8, please read this post. This brief tutorial is going to show you how to change that location to something else. If you’re running out of storage space on your location machine and you want to make sure all new installations of Windows apps are installed somewhere else, then changing the default location is the best solution. To get started, press the Windows Key + R to open the Run dialog box. When it opens, type the commands below and press Enter. windows8_store_location Next, expand these folder: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx windows8_store_location_1 By default the administrator doesn’t have full rights to this folder’s registry keys. You must take ownership of it before you can make changes to it. To take ownership, right-click the folder and select ‘Permissions’ windows8_store_location_4 Next, click Advanced button windows8_store_location_6 Then click the Change link as show below windows8_change_store_location Next, type your username and click ‘Check Names’. If it’s correct click OK to take ownership of the folder. windows8_change_store_location_2 After taking ownership of the folder and clicking ‘OK, the windows should close and bring you back to the previous screen. On this screen, select the Administrators group and give it full control as shown below and click OK. windows8_change_store_location_3 Next, right-click ‘PackageRoot’ and select Modify. windows8_change_store_location_4 Finally, change the location to whatever you want it to be. Mine is W:\WindowsApps. windows8_store_location_8 Now all you have to do is go and copy the WindowsApps folder from C:\Program Files and copy WindowsApps to the new location. You must enable hidden file before you’ll be able to see it. After that, reboot and try installing programs. If everything works, then you’re good. If you have time you can go back to the registry and make TrustedInstaller the owner of Appx folder. It won’t break the change you already made. NT SERVICE\TrustedInstaller Enjoy!

No comments:

Post a Comment

இந்த பதிவு பயனுள்ளது என கருதியினால் இது மேலும் பலருக்கு பயனளிக்க வேண்டும் என கருதினால் கீழே சென்று வாக்களிக்கவும்...says something like