An alternative method is to use a batch file.
Code:
@ECHO OFF
REG ADD "HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters" /v srvcomment /t REG_SZ /d "Your Description" /f
Copy the above code into
Notepad and save it with a
.bat extension. Give it a meaningful name. Remember to change the bit in red for the description you want, and to use quotation marks if there are any spaces in the description you wish to use. If you click on this file it will merge the data into the registry, providing that you do so in an account with administrative privileges. Alternatively, right click on the batch file and select
Run as administrator. After providing administrative credentials, the file will execute and the data will be merged into the registry.
I've also corrected the slight error in your Tutorial for you.