Use the new_zone_computer command to create a new zone computer in the current zone and set the new zone computer as the currently selected zone computer in memory. The new zone computer has no field values set.

The new_zone_computer command does not save the new zone computer to Active Directory. To save the new zone computer, you must use save_zone_computer. If you don’t save a new zone computer, it will disappear when you select another zone computer or when the ADEdit session ends.

The new_zone_computer command requires you to specify an Active Directory computer account name. If the computer name you specify is not found in Active Directory, the command does not create the zone computer.

Zone type

Classic and hierarchical


new_zone_computer sAMAccountName@domain




This command takes no options.


This command takes the following argument:

Argument Type Description

sAMAccountName @domain


Required. Specifies the sAMAccountName of an Active Directory computer followed by @ and the domain name where the computer is located.

Return value

This command returns nothing if it runs successfully.


new_zone_computer sales2$

This example creates a new zone computer in the current zone. Note that Tcl syntax requires “$@” to represent a literal “@”. You could also enclose the argument in braces: {}.

Related commands

Before you use this command, you must have a currently selected zone stored in memory. The following commands enable you to view and manage the zone computers:

After you have a zone computer stored in memory, you can use the following commands to work with that zone computer: