M
Mick
Hi,
I want to change my hostname programmatically.
I change the registery key Hotname under
"SYSTEM\\CurrentControlSet\\Services\\TcpIp\\Parameters\\"
It works fine, I close my app and reopen it, the changes are made. If
I open the registry, the changes are made.
But when I reboot, the hostname is not changed and when I open the
registry, the changes are lost.
Someone told lme that CurrentControlSet was rewritten on boot. But
the hostname is not changed either when I modify ControlSet001. I have
verified before rebooting that the key was changed in the ControlSet001
registry key.
Why is that ?
Thanks for any reply.
Mickael.
I want to change my hostname programmatically.
I change the registery key Hotname under
"SYSTEM\\CurrentControlSet\\Services\\TcpIp\\Parameters\\"
It works fine, I close my app and reopen it, the changes are made. If
I open the registry, the changes are made.
But when I reboot, the hostname is not changed and when I open the
registry, the changes are lost.
Someone told lme that CurrentControlSet was rewritten on boot. But
the hostname is not changed either when I modify ControlSet001. I have
verified before rebooting that the key was changed in the ControlSet001
registry key.
Why is that ?
Thanks for any reply.
Mickael.