Namebefore 100634489 orig

Rename Endpoint

Change the endpoint's hostname


This agent procedure will rename the endpoint's hostname via a Powershell script.
It will prompt for the new hostname and executed/scheduled, create a Powershell script on the endpoint and rename it. The changes will not take effect until the endpoint is restarted. Line 7 can be edited with the switch "-restart" after "-force" in order to perform the restart directly, otherwise a different agent procedure could perform the restart at a more convenient time.
Lines 1 and 2 also need to be edited with an Administrator account for permission purposes. Line 1 the value "admin" needs to be replaced, and "PWD" for line 2.

  • Name: Douglas Sanchez
  • Company: Kaseya
  • Website:
  • Contact Developer
  • Summary
  • Rename Endpoint
  • Version:
  • Released on October 24th, 2018
  • Reviews

    Rename Endpoint has no reviews.

    Gravatar for Michael Persch
    Michael Persch 10 months 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.