Jump to content


Photo

Is there any way to rename a computer entry?


  • Please log in to reply
4 replies to this topic

#1 mmatheny

mmatheny

    Advanced Member

  • Members
  • PipPipPip
  • 76 posts

Posted 29 January 2008 - 12:01 PM

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

#2 Benny

Benny

    Advanced Member

  • Members
  • PipPipPip
  • 44 posts

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 mmatheny

mmatheny

    Advanced Member

  • Members
  • PipPipPip
  • 76 posts

Posted 29 January 2008 - 03:01 PM

Thanx Benny? (any relation to Benny and the Jets??)
Mike

#4 Zak

Zak

    Administrator

  • Root Admin
  • PipPipPip
  • 747 posts
  • Gender:Male

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":
<?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 mmatheny

mmatheny

    Advanced Member

  • Members
  • PipPipPip
  • 76 posts

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!!! B)
Mike




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users