Jump to content

Is there any way to rename a computer entry?


Recommended Posts

Posted

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

Posted

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.

Posted

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... :)

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...