Ae banner

Rename Win PC

renames the agent computer name

Description

This agent procedure will rename the agent’s hostname via a Powershell script.

It will prompt for the new hostname, username/password of a local admin, and whether you want to reboot or not. Once scheduled, it will create a Powershell script on the endpoint and rename it. The changes will not take effect until the endpoint is restarted.

Developer
  • Name: Douglas Sanchez
  • Company: Kaseya
  • Website: http://www.kaseya.com
  • Contact Developer
  • Summary
  • Rename Win PC
  • 496 Downloads
  • Version:
  • Initially Released October 24th, 2018
  • Reviews

    Rename Win PC has no reviews.

    Discussion
    Gravatar for Michael Persch
    Michael Persch over 2 years ago

    Does anyone know if this may cause an issue for domain accounts? Typically if the PC name is changed on a Domain PC and you do not restart immediately, when the computer locks it cannot be unlocked by a domain account until after the computer has been restarted. Before a restart, any domain account will fail to sign in citing an issue with the domain trust relationship. I would like to deploy this script remotely whenever suites me best, but I don't want to run through a number of PCs and start receiving calls and tickets for people thinking they're locked out.

    Gravatar for Jeremy  Graham
    Jeremy Graham 7 months ago

    @Michael... Did you test this? If so, was the rename successful? Any issues with domain computers? The same questions you asked, i too would like to know before i attempt to run this. 

    Gravatar for Michael Kaplan
    Michael Kaplan 16 days ago

    I am trying to test this script now and it doesn't appear to be working.  The script is running, the PC reboots, but the name doesn't change.  The agent procedure logs say the script went fine.  I can't find anything in the Event Viewer that says if there was even an attempt to change the hostname.  Any ideas on how to troubleshoot this?