Symantec Management Platform (Notification Server)

 View Only

Cleaning Bad Computer References in Your Notification Server Database 

May 11, 2007 12:21 PM

Many times a Notification Server database can get bloated with incorrect or unreferenced information. Managed machines must have appropriate links between certain tables to make sure that resource data is correctly referenced. If not, those computer resources are essentially unusable. Often, they cause other solutions to run incorrectly.

The attached C# snippet actually does a quick comparison with all computer references in the vComputer view, and verifies whether or not those same references exist in the ResourceKey Table. If not, they are deleted, and then, on the next agent configuration interval, they can be recreated correctly.

To use this tool, simple rename to a .cs extention, and run it with NScript. Syntax is:

Nscript.exe delete_computer_if_not_in_resourcekey.cs

As always, please exercise caution when using this tool. Backup your data prior to use!

License:AJSL
By clicking the download link below, you agree to the terms and conditions in the Altiris Juice Software License
Support:User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab.

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
txt file
delete_computer_if_not_in_resourcekey.cs_.txt   1 KB   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Related Entries and Links

No Related Resource entered.