On the target machine:

1. Start the registry editor (regedt32.exe)
2. Move to HKEY_Local_Machine\System\CurrentC­ ontrolSet\Services\LanmanServer\Pa­ rameters
3. From the Edit menu select “Add Value”
4. Set the type to REG_SZ is you want one extra name or REG_MULTI_SZ if you want more than one and enter a name of OptionalNames. Click OK
5. You will then be prompted for a value. Enter the other name (or names if type REG_MULTI_SZ, one on each line) you want it to be known as and click OK.
6. Close the registry editor
7. Reboot the machine