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)?

Is there any way to rename a computer entry?
Started by mmatheny, Jan 29 2008 12:01 PM
4 replies to this topic
#1
Posted 29 January 2008 - 12:01 PM
Mike
#2
Posted 29 January 2008 - 12:27 PM
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.
#3
Posted 29 January 2008 - 03:01 PM
Thanx Benny? (any relation to Benny and the Jets??)
Mike
#4
Posted 30 January 2008 - 03:18 AM
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":
5) Open "software.dat" and search&replace OLDPCNAME with NEWPCNAME.
I think it will be useful to automate this process...
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...

Softinventive Lab support
#5
Posted 30 January 2008 - 10:10 AM
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!!!

Mike
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users