No announcement yet.

Script to edit computer description

  • Filter
  • Time
  • Show
Clear All
new posts

  • Script to edit computer description

    Dear All

    This is my first post at here and I would like to ask you about script to edit computer description.

    I have create below script file as batch file and prepare to add on log on script at user 's computer.

    reg add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" /t REG_EXPAND_SZ /v srvcomment /d " SECTION %USERNAME%" /f

    But I found that registry of computer description is changed. But the result on system properties is not change.

    I do it wrong or not and need your comment.

    Thank you for your comment.


    Last edited by Rems; 9th July 2009, 12:11. Reason: replaced Quote-tags to CODE-tags

  • #2
    Re: Script to edit computer description

    Hi Mbell,

    Are you on that picture that you have in your sig? Or, are you a Technical Engineer working for a swimming pool

    By default only local Administrators are allowed to make changes to the registry keys that are under HKLM, that is probably why the logon script is not working. Futhermore the changes in that registry key requires a reboot to take effect.

    You might find these similar threads usefull
    - Computer Description Permission
    - how do I write a script to change computer description & computer name on windows

    Last edited by Rems; 9th July 2009, 19:08.

    This posting is provided "AS IS" with no warranties, and confers no rights.


    ** Remember to give credit where credit's due **
    and leave Reputation Points for meaningful posts