# Configuring Patch Store Location The patch store contains all the downloaded patches. There might occur patch deployment error due to improper configurations of the Patch repository in the Endpoint Central Server. This can be rectified by specifying the exact patch store location. Follow the steps below to configure the setting: 1. Open Endpoint Central console and navigate to **Threats & Patches** -> **Settings** -> **Cleanup Settings**. 2. Under Patch download location, you have the option to configure the patch repository location. 3. Specify the new patch store path. 4. Click **Save**. [![Patch Repository Location](https://www.manageengine.com/products/desktop-central/help/images/patch-store-loc.png)](https://www.manageengine.com/products/desktop-central/help/images/patch-store-loc.png) 5. Now, copy the existing patches from the old location to the new patch store directory and restart the central server for the changes to take effect. ## Migration of Patch Store You can migrate the patch store to a different location on the same computer or to a remote computer. To migrate patch store to a different location on the same computer, follow the steps [given above](https://www.manageengine.com/products/desktop-central/help/patch_management/configure-patch-store-location.html#patch-store). You can also migrate patch store to a [Distribution Server](https://www.manageengine.com/products/desktop-central/help/patch_management/configure-patch-store-location.html#migration-ds). ### Migration of Patch Store to a remote computer For migrating the patch store to a remote computer, the following steps has to be implemented: 1. [Give permission for the central server to access the remote patch store](https://www.manageengine.com/products/desktop-central/help/patch_management/configure-patch-store-location.html#gpcs). 2. [Configure Patch store network path in the console](https://www.manageengine.com/products/desktop-central/help/patch_management/configure-patch-store-location.html#cnp). **Note:** While Endpoint Central supports using network share paths as the patch store location, Network Attached Storage (NAS) devices are not supported. Configure the patch store on a local drive or Windows server share with proper permissions for reliable deployment. #### Grant permission for Central Server To give permission for the central server to access the remote patch store, follow these steps on the remote computer to which the patch store will be migrated: 1. Create a new directory in the remote computer which would serve as the Patch repository. 2. Right click on the patch store directory and choose **Sharing** tab. ![patch store change](https://www.manageengine.com/patch-management/images/patch-store-change-step-1.png) 3. Click **Advanced Sharing**. 4. Enable **Share this Folder**. 5. Specify the share name as store. 6. Click **Permissions**. 7. Click **Add**. 8. Choose **Object Types**. 9. Enable **Computers** and click **OK**. ![patch store change](https://www.manageengine.com/patch-management/images/patch-store-change-step-2.png) 10. Under Enter Object Name, specify the computer name on which the central server is installed and click **OK**. ![patch store change](https://www.manageengine.com/patch-management/images/patch-store-change-step-3.png) 11. Under share permissions, select the computer on which the central server is installed and ensure Full Control is enabled. 12. Click **OK** to complete the process. ![patch store change](https://www.manageengine.com/patch-management/images/patch-store-change-step-4.png) ### Migration of Patch Store to a Distribution Server To move a patch store location on a Distribution Server, follow the steps given below: **Note:** It is recommended to configure the patch store on the same computer where the Distribution Server is installed. 1. Open **Command Prompt** and Run as **Administrator**, on the computer where the Distribution Server is installed. 2. Navigate to the Distribution Server location, **\Scripts\** 3. Execute the command: ``` wscript changepath.vbs patchstore ``` The new path indicates the new patch store location. 4. Relocate all the files available in the **\replication\store\** to new patch store location. You have successfully changed the patch store location on the Distribution Server. So that all the patch related data replicated from the central server will be located in the new patch store location. Kindly contact [support](mailto:patchmanagerplus-support@manageengine.com) for any queries.