Re: SetComputerName api and

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Miriam IL wrote:
Hi
I wrote little application who check the computer name by
"GetComputerName" function and then set different name by
"SetComputerName".
both function return True value.
after I renamed the computer and reboot, in GetComputerName I get the
new name but in My Computer->Properties->FullComputerName I see the
old name. my question is:
how can I change the NetBIOS computer name AND the name as shown in
the My Computer->Properties->FullComputerName location?

See http://msdn2.microsoft.com/en-us/library/ms724220.aspx


--
Eugene
http://www.gershnik.com


.