How can I control what packages codebases (HTTP/UNC) are published to the clients from the Notification Server?

book

Article ID: 179828

calendar_today

Updated On:

Products

Management Platform (Formerly known as Notification Server)

Issue/Introduction

 

Resolution

Question
How can I control what packages codebases (HTTP/UNC) are published to the clients from the Notification Server?

Answer
This can be accomplished by changing the value for GenerateNSHTTPPackageCodebases and/or GenerateNSUNCPackageCodebases on the Notification server, as well as the PkgSvrPublishHTTP and/or PkgSvrPublishUNC.

HTTP packages codebases (GenerateNSHTTPPackageCodebases, PkgSvrPublishHTTP )

These setting controls whether HTTP codebases for NS packages are returned when GetPackageInfo.aspx is called.

If you have Notification Server 6.0.6074 (SP3):

  1. Open the NS configurator.
  2. Select from the left tree pane: Get Package Info Settings > GenerateNSHTTPPackageCodebases.
  3. To disable the HTTP codebases, change the setting to 0 (zero), so the HTTP codebases will not be published to the client by the GetPackageInfo.aspx call.
If you have Notification Server 6.0.5287 (SP2):
  1. Stop the Altiris service.
  2. Open the CoreSetting.config file with a text editor.
  3. The file is found in Program Files\Altiris\Notification Server\config.
  4. Search the file for GenerateNSHTTPPackageCodebases.
  5. Enabled: <customSetting key="GenerateNSHTTPPackageCodebases" type="local" value="1" />.
  6. Disabled: <customSetting key="GenerateNSHTTPPackageCodebases" type="local" value="0" />.
  7. To disable the HTTP codebases, change the value to 0 (zero), so the HTTP codebases will not be published to the client by the GetPackageInfo.aspx call.
  8. Start the Altiris service.
These setting controls whether HTTP codebases for NS packages are published by the Package Server. If you have Notification Server 6.0.6074 (SP3):
  1. Open the NS configurator.
  2. Select from the left tree pane: Package Server Settings > PkgSvrPublishHTTP.
  3. To disable NS packages published by the Package Server, change the setting to false.
  4. To enable NS packages published by the Package Server, change the setting to true.
If you have Notification Server 6.0.5287 (SP2):
  1. Stop the Altiris service.
  2. Open the CoreSetting.config file with a text editor.
  3. The file is found in Program Files\Altiris\Notification Server\config.
  4. Search the file for PkgSvrPublishHTTP.
  5. Enabled: <customSetting key="PkgSvrPublishHTTP" type="local" value="true" />.
  6. Disabled: <customSetting key="PkgSvrPublishHTTP" type="local" value="false" />.
  7. To disable NS packages published by the Package Server, change the value to false.
  8. Start the Altiris service.
    There is a similar setting for HTTPS as well (Package Server Settings > PkgSvrPublishHTTPS) UNC packages codebases (GenerateNSUNCPackageCodebases, PkgSvrPublishUNC).

    These setting controls whether UNC codebases for NS packages are returned when GetPackageInfo.aspx is called.

    If you have Notification Server 6.0.6074 (SP3):
    1. Open the NS configurator.
    2. Select from the left tree pane: Get Package Info Settings > GenerateNSUNCPackageCodebases.
    3. To disable the UNC codebases, change the setting to 0 (zero), so the UNC codebases will not be published to the client.
    If you have Notification Server 6.0.5287 (SP2):
    1. Stop the Altiris service.
    2. Open the CoreSetting.config file with a text editor.
    3. The file is found in Program Files\Altiris\Notification Server\config.
    4. Search the file for GenerateNSUNCPackageCodebases.
    5. Enabled:<customSetting key="GenerateNSUNCPackageCodebases" type="local" value="1" />.
    6. Disabled: <customSetting key="GenerateNSUNCPackageCodebases" type="local" value="0" />.
    7. To disable the UNC codebases, change the value to 0 (zero), so the UNC codebases will not be published to the client.
    8. Start the Altiris service.
    These setting controls whether UNC codebases for NS packages are published by the Package Server. If you have Notification Server 6.0.6074 (SP3):
    1. Open the NS configurator.
    2. Select from the left tree pane: Package Server Settings > PkgSvrPublishUNC.
    3. To disable NS packages published by the Package Server, change the setting to false.
    4. To enable NS packages published by the Package Server, change the setting to true.
    If you have Notification Server 6.0.5287 (SP2)
    1. Stop the Altiris service.
    2. Open the CoreSetting.config file with a text editor.
    3. The file is found in Program Files\Altiris\Notification Server\config.
    4. Search the file for PkgSvrPublishUNC.
    5. Enabled: <customSetting key="PkgSvrPublishUNC" type="local" value="true" />.
    6. Disabled: <customSetting key=" PkgSvrPublishUNC " type="local" value="false" />.
    7. To disable NS packages published by the Package Server, change the value to false.
    8. Start the Altiris service.

    Notes:

    If you need to change the Package Server setting to reflect the Notification Server settings, the changes are in the registry of the Package Server. This is under HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\Package Server.

    • The registry key to change is EnableUNC.
    • The registry key to change is EnableWeb.
    • The default for both is 1 (enabled), so to disable, set to 0.

    This is an example the registry tree for the Package Server:

    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\Package Server]
    "AgentExecInterval (sec)"=dword:00015180
    "IISLogLastSentTime"="2006-03-23 11:11:16"
    "IISLogSendInterval (min)"=dword:000005a0
    "PackageServerBaseDir"="C:\\Program Files\\Altiris\\Altiris Agent"
    "PkgCleanupInterval (min)"=dword:ffffffff
    "MaxPackageEventsPerMessage"=dword:000003e8
    "MessageFlushInterval (min)"=dword:0000003c
    "NoPACLockDown"=dword:00000000
    "EnableUNC"=dword:00000001
    "EnableWeb"=dword:00000001
    "BatchModeThreshold"=dword:00000005
    "AgentPolicyProcessed"=dword:00000001
    "SecurePackages"=dword:00000000
    "MulticastPackageDownloadEnabled"=dword:00000000
    "UserSidString"="S-1-1-0"
    "LastPackageRefreshTime"="2006-03-23 10:31:35"
    "IISMetabaseSaveInterval (min)"=dword:0000000a

    You can save a permutation of this example to a registry file, so all you need is to double-click the registry file to make changes to the Package Server.

    [HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\Package Server]
    "EnableUNC"=dword:00000001
    "EnableWeb"=dword:00000000