Rename Computer

Changes the name of the computer to the name provided. User Access Control (UAC) may need to be disabled before the computer can be renamed.

Privileges

Normal

Input Parameters

Name Type Required Description
New Name String Yes The new name for the computer.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
New Name String Yes Device_New_Name