mmatheny Posted January 29, 2008 Report Posted January 29, 2008 After scanning, I have found some systems that have the wrong name. Once I rename the computer, is there a way to rename its entry in TNI without having to delete the old name and rescanning the new one (since the original scan had correct data except for the computer name)? Quote
BenDog Posted January 29, 2008 Report Posted January 29, 2008 you can go under here C:\Program Files\Total Network Inventory\Data and change one of the filenames to the right name, and then open the xml file and replace the old name with the new one. I've done that. Quote
mmatheny Posted January 29, 2008 Author Report Posted January 29, 2008 Thanx Benny? (any relation to Benny and the Jets??) Quote
Support Posted January 30, 2008 Report Posted January 30, 2008 Actually there are some more steps to take: 1) Rename the file. 2) Open the file and change "Computer_name" tag to be exactly as the file name without ".xml": <?xml version="1.0" encoding="windows-1252"?> <Computer> <Computer_name>NEWPCNAME</Computer_name> 3) Open "groups.dat" and change the name here: <Computer name="NEWPCNAME" ip="192.168.0.1"/> 4) Refresh the tree in the program or restart it completely. 5) Open "software.dat" and search&replace OLDPCNAME with NEWPCNAME. I think it will be useful to automate this process... :) Quote
mmatheny Posted January 30, 2008 Author Report Posted January 30, 2008 Actually there are some more steps to take: 1) Rename the file. 2) Open the file and change "Computer_name" tag to be exactly as the file name without ".xml": <?xml version="1.0" encoding="windows-1252"?> <Computer> <Computer_name>NEWPCNAME</Computer_name> 3) Open "groups.dat" and change the name here: <Computer name="NEWPCNAME" ip="192.168.0.1"/> 4) Refresh the tree in the program or restart it completely. 5) Open "software.dat" and search&replace OLDPCNAME with NEWPCNAME. I think it will be useful to automate this process... :) I agree - right click, change the name, and YOUR PROGRAM edits the XML file!!! B) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.