Quantcast
Channel: Symantec Connect - Endpoint Management
Viewing all articles
Browse latest Browse all 7217

Bulk set custom location for packages on Package Server using SQL Query

$
0
0

Packages from Software Management Solution 7.x

Sometimes user wants to change location of packages on "Package Server" machine and don't want to use a C:\ system drive for package location.

By default "Package Server" downloads packages and stores them on C:\ drive, where "Symantec Management Agent" is installed, but you can change this default location and change it to another one, for example to use D:\ drive where all packages will be stored, although "Symantec Management Agent" will be installed on C:\ drive.

  • Example of how it looks in database "dbo.SWDPackage" SQL table when packages have default C:\ location on PS machine:

PS_location1.jpg

If you have large amount of packages then it will hard to manually set a custom location from SMP Console, therefore you can set it via SQL Query:

  • You can SQL Query dbo.SWDPackage table and set your custom location, where Package Server will move them from C:\ drive to custom Drive path. For example, I've changed it to "D:\SoftwareManagementPackages" via SQL Query only for required software packages
UPDATE [dbo].[SWDPackage]
SET "Package Server Location"='D:\SoftwareManagementPackages' WHERE Name LIKE '%SWD Res%'
  • After this SQL query execution, I've run "Complete Update Membership" and "Package Refresh" tasks on SMP Server -> refresh policy on "Package Server" machine -> PS will create this custom folder on separate Drive and will move all updated packages from C:\ drive to this custom location.

PS_location_Best.jpg

Note:

  • Before software package PS location path changing in database, make sure that your have separate drive available with appropriate free space on "Package Server" machine(s), where these packaged will be stored.

Packages from Patch Management Solution 7.x

On "Remediation" settings page, you can set custom location for Patch Management software updates

PatchUpdates_PS_Location.jpg

Thanks,

IP.


Viewing all articles
Browse latest Browse all 7217

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>