Client Management Suite

 View Only
  • 1.  modify the hostname

    Posted Jul 30, 2014 03:01 AM

    I want to modify the hostname and make some different name, so is be done from Altiris Manager?



  • 2.  RE: modify the hostname

    Posted Jul 30, 2014 03:05 AM

    Check link

    https://www-secure.symantec.com/connect/forums/computer-name-change



  • 3.  RE: modify the hostname
    Best Answer

    Broadcom Employee
    Posted Jul 30, 2014 03:52 AM

    You can try to use "Apply System Configuration" task from Deployment Solution.

    AFAIR you need to have installed DS agent on required client computer, where you want to change a hostname

    ConfigureComputer.jpg

     

    Or you can create a Client job, where you will include a "Run Script" task with VBScript type of task and put there query for hostname change

    (For this task execution you don't need a DS agent or other solution plug-ins, just Symantec Management Agent is required to be installed)

    sNewName = "put new name here" 
    
    Set oShell = CreateObject ("WSCript.shell" ) 
    
    sCCS = "HKLM\SYSTEM\CurrentControlSet\" 
    sTcpipParamsRegPath = sCCS & "Services\Tcpip\Parameters\" 
    sCompNameRegPath = sCCS & "Control\ComputerName\" 
    
    With oShell 
    .RegDelete sTcpipParamsRegPath & "Hostname" 
    .RegDelete sTcpipParamsRegPath & "NV Hostname" 
    
    .RegWrite sCompNameRegPath & "ComputerName\ComputerName", sNewName 
    .RegWrite sCompNameRegPath & "ActiveComputerName\ComputerName", sNewName 
    .RegWrite sTcpipParamsRegPath & "Hostname", sNewName 
    .RegWrite sTcpipParamsRegPath & "NV Hostname", sNewName 
    End With ' oShell 
    
    MsgBox "Computer name changed, please reboot your computer"

    And add there a second task for "Reboot Client PC" to apply these changes.

    Thanks,

    IP.

     

     



  • 4.  RE: modify the hostname

    Posted Jul 30, 2014 05:55 AM

    @IP -- I want to change the client hostname and set it according to our policy. I will try your comment.