Zoomed Image

Rename and Time Zone

Endpoint Management Guide

Change a Computer

Rename and Time Zone

Rename gives a computer a new Windows name and restarts it so the name takes effect. Time Zone sets the Windows time zone. Both actions do nothing when the computer already has the name or zone you ask for.

Rename

Endpoints > Endpoint List > select one computer > Directory > Rename Computer.

The dialog is titled Rename Computer. With more than one row selected, the dialog does not open. A message asks you to select one computer.

Field What it does Default
Computer Names The computer to rename The selected row
New computer name The new name Empty
No restart 1 writes the new name and leaves the restart to you. 0 restarts the computer. 0

Rename Computer dialog with DEVDC in Computer Names, New computer name required and No restart 0

Rename steps

  1. The agent checks the new name. It must be 15 characters or fewer, using letters, digits and hyphens.
  2. If the computer already has that name, nothing is written and nothing restarts. The run reports Applied with changed=0.
  3. Otherwise it renames the computer through Windows Management Instrumentation.
  4. With No restart at 0, the computer restarts after 5 seconds. The user sees "This computer is being renamed and will restart".

The new name takes effect only after a restart. So the run reports Applied, never Verified. An example result from the agent:

changed=1;old=PC-0142;new=FIN-LT-0142;restarting=1

After the restart the agent signs in to the collection server under the new name and registers again. The asset record is renamed at that registration.

Things to check

  • Select one computer. Every selected computer receives the same new name.
  • The action passes no domain credentials. On a domain-joined computer, Windows refuses the rename with code 5 (access denied).
  • Rename a computer only when you can wait for it to restart and reconnect.

Time Zone

Endpoints > Endpoint List > select the computers > Change > Repair > Time Zone.

The dialog is titled Set Time Zone.

Field What it does Default
Computer Names The computers to change The selected rows
Time Zone A Windows time zone ID, for example GMT Standard Time or Central Standard Time Empty

Time zone change steps

  1. If the computer is already in that zone, nothing changes. The run reports Verified with changed=0.
  2. The agent checks that Windows knows the ID. An IANA name such as Europe/London is refused with a message that names the right form.
  3. It runs tzutil /s with the ID and reads the zone back.

The change takes effect at once. The computer is not restarted. Run tzutil /l on any Windows computer to list the valid IDs.

After you click OK

Both actions show "Sent to the selected computers." and ask "Do you want to follow it now?". Yes opens Activity. Rename's phases are Sent and Applied. Time Zone's phases are Sent, Applied and Verified.

Undo

Neither action can be undone from Activity. To go back, run the action again with the old name or zone. Look up the old value on the device page first.