What registry key setting is updated when a local computer name is changed?

I have changed the local name of a computer via Control Panel > System > Network Identification on a machine running Windows NT4.
However, when I pcAnywhere to this machine, I notice that pcAnywhere picks up the old name of the machine even though this is a new pcAnywhere remote control account. The old value is not defined anywhere within the pcAnywhere remote control properties so I am guessing that the old value is being read from the registry.

Anybody know what key I need to update??

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi paulzzzz,
Did a seach on one of my servers (newly installed W2k SP4), came up with the following keys:
HKEY_CURRENT_USER\Software\Microsoft\Windows Media\WMSDK\General\ComputerName
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\NV HostName
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Tcpip\Parameters\NV HostName
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\NV HostName
HKEY_USERS\S-1-5-21-403056301-641015961-1734353810-500\Software\Microsoft\Windows Media\WMSDK\General\ComputerName

Cheers! .. Alan
bbaoIT ConsultantCommented:
here they are:

\HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\NV Hostname="XXX"

be sure, use same names.

hope it helps,
For PC anywhere you just need to look in --> "HKEY_LOCAL_MACHINE\SOFTWARE\"
Cause it is a PCAnywhere issue, it should be saved into the Software hive and/or in your %PROFILE% direcory.
Try to create a new PCAnywhere connection and see whether you still see the old name.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
paulzzzzAuthor Commented:
That seems to have fixed it. Thanks ToolMan!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.