Rename Computer

Rename a machine without logging in!

Description

This script will ask you to input the new computer name, domain creds and then write a vbs based rename script to the machine. This will not pop up anything on the users machine and will be completed upon next reboot without the user knowing.

When this is finished it will write "Results: Successfully Changed Hostname" to the script log. otherwise it will write an error along the lines of invalid creds/hosname already exists. etc...

Hostname must be one word and if not part of a domain no need to enter username and password. Reboot the machine and it now has the NEW NAME!

Developer
  • Name: William OLeary
  • Company: CHIPS Technology Group
  • Website: http://chipstechnologygroup.com
  • Contact Developer
  • Summary
  • Rename Computer
  • 299 Downloads
  • Released on August 25th, 2016
  • Reviews
    Gravatar for Steve Escamilla
    by Steve Escamilla on February 18th, 2019

    XML does not work

    Gravatar for Alessandro Gaggiotti
    by Alessandro Gaggiotti on October 8th, 2018

    XML does not import

    Gravatar for Jonathon Blacklidge
    by Jonathon Blacklidge on October 9th, 2017

    XML file does not import.

    Gravatar for Jaime
    by Jaime on February 16th, 2017

    This is pretty good. Needs feature where agent credentials are used first that way you don't have to type domain admin credentials clear text. Another improvement is to get rename success or fail and then get the agent procedure to fail if there is a problem. The current state can show that execution of the AP was successful but not actually do its job. But seriously good job overall since it handles domain join pcs.

    Discussion
    Gravatar for Sandro Monteiro
    Sandro Monteiro over 2 years ago

    While importing the xml I have the following error: "The text you are trying to import is not a valid XML import format."

    Gravatar for Jonathon Blacklidge
    Jonathon Blacklidge over 2 years ago

    Same here. The XML file has all indentations removed.

    Gravatar for Eric Dunn
    Eric Dunn almost 2 years ago

    same issue - well this is pretty much useless.....

    Gravatar for Prosper Thaels
    Prosper Thaels over 1 year ago

    Same problem here

    Gravatar for jeff middleton
    jeff middleton 10 months ago

    same problem here

    Gravatar for Gavin Steiner
    Gavin Steiner 10 months ago

    There are some DASHES that shouldn't be there in the XML. If you remove them the script will import.
    There's also a variable called "Domain" that is asked for at runtime. It doesn't actually do anything, although what it's supposed to be doing is adding the "domainname\" in front of the domina admins username. I've rewritten the script to take care of that internally. Not sure if I'm allowed to post my changes or not.

    Gravatar for Gavin Steiner
    Gavin Steiner 10 months ago

    There are some DASHES that shouldn't be there in the XML. If you remove them the script will import.
    There's also a variable called "Domain" that is asked for at runtime. It doesn't actually do anything, although what it's supposed to be doing is adding the "domainname\" in front of the domina admins username. I've rewritten the script to take care of that internally. Not sure if I'm allowed to post my changes or not.

    Gravatar for William OLeary
    William OLeary 10 months ago

    If you have suggestions on how to fix, let me know. I'll correct the source and repost.

    Gravatar for Tim Walls
    Tim Walls 9 months ago

    Line 4 remove quotations from "Results: Successfully Changed Hostname"

    Line 17 remove quotations around "domain\Administrator"

    Gravatar for Chase Mendoza
    Chase Mendoza 9 months ago

    Anyone have the corrected one? I keep receiving:The file you are trying to import is not formatted correctly. It contains invalid XML.

    Gravatar for Samuel Williams
    Samuel Williams 8 months ago

    ImĀ getting a Writefile error on line 5? Any ideas?

    Gravatar for Samuel Williams
    Samuel Williams 7 months ago

    I get Error Code = 0 on completion. Any ideas?