QuestionHow 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):
- Open the NS configurator.
- Select from the left tree pane: Get Package Info Settings > GenerateNSHTTPPackageCodebases.
- 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):
- Stop the Altiris service.
- Open the CoreSetting.config file with a text editor.
- The file is found in Program Files\Altiris\Notification Server\config.
- Search the file for GenerateNSHTTPPackageCodebases.
- Enabled: <customSetting key="GenerateNSHTTPPackageCodebases" type="local" value="1" />.
- Disabled: <customSetting key="GenerateNSHTTPPackageCodebases" type="local" value="0" />.
- 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.
- 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):
- Open the NS configurator.
- Select from the left tree pane: Package Server Settings > PkgSvrPublishHTTP.
- To disable NS packages published by the Package Server, change the setting to false.
- To enable NS packages published by the Package Server, change the setting to true.
If you have Notification Server 6.0.5287 (SP2):
- Stop the Altiris service.
- Open the CoreSetting.config file with a text editor.
- The file is found in Program Files\Altiris\Notification Server\config.
- Search the file for PkgSvrPublishHTTP.
- Enabled: <customSetting key="PkgSvrPublishHTTP" type="local" value="true" />.
- Disabled: <customSetting key="PkgSvrPublishHTTP" type="local" value="false" />.
- To disable NS packages published by the Package Server, change the value to false.
- 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):
- Open the NS configurator.
- Select from the left tree pane: Get Package Info Settings > GenerateNSUNCPackageCodebases.
- 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):
- Stop the Altiris service.
- Open the CoreSetting.config file with a text editor.
- The file is found in Program Files\Altiris\Notification Server\config.
- Search the file for GenerateNSUNCPackageCodebases.
- Enabled:<customSetting key="GenerateNSUNCPackageCodebases" type="local" value="1" />.
- Disabled: <customSetting key="GenerateNSUNCPackageCodebases" type="local" value="0" />.
- To disable the UNC codebases, change the value to 0 (zero), so the UNC codebases will not be published to the client.
- 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):
- Open the NS configurator.
- Select from the left tree pane: Package Server Settings > PkgSvrPublishUNC.
- To disable NS packages published by the Package Server, change the setting to false.
- To enable NS packages published by the Package Server, change the setting to true.
If you have Notification Server 6.0.5287 (SP2)
- Stop the Altiris service.
- Open the CoreSetting.config file with a text editor.
- The file is found in Program Files\Altiris\Notification Server\config.
- Search the file for PkgSvrPublishUNC.
- Enabled: <customSetting key="PkgSvrPublishUNC" type="local" value="true" />.
- Disabled: <customSetting key=" PkgSvrPublishUNC " type="local" value="false" />.
- To disable NS packages published by the Package Server, change the value to false.
- 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