Hi experts,
I really searched before posting but could not find anything which was relevant to my case.
Question: I wanna change the static IP address of the Local Computer as soon as a particular user logs on to it.
I have tried changing the registry values from:
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet004\Services\Tcpip\Parameters\Interfaces\{7E94B417-55DF-496B-A5DC-871A12C7EE5F}]
"IPAddress"=hex {{value}}
and from:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\{7E94B417-55DF-496B-A5DC-871A12C7EE5F}\Parameters\Tcpip]
"IPAddress"=hex {{value}}
The address gets changed and I can see it gets changed in the Network Properties , however, its not implemented. Like when we try to resolve our Hostname its results in our old static IP address.
I tried the same registry modifications in ""Current Control Set" but it dosent get implemented.
So, I tried to do ipconfig/Release IpConfig/Renew ,, but because its a static IP, it dosent make a difference.
So, finally, I tried tolook what services were running in the backgroud which could re initialize the new IP which has been modified in the registry, but still in vain.
Tried restarting each and every service from the Administrative Tools> Services but the new IP never gets implemented....
So, i am stuck now, and I hope to get something useful from u ppl.
Hope u got my question.... I wanna make a script or a batch file which is initialized when a particular user logs on to the computer which changes the static IP address to something different without any user intervention required.(or a small, may be).
And I can put the reverse scripts in all other users so that when anybosy else logs on he is on the original IP .....
Well, will u be able to reply at my email address j a g m e e t _ h a n s p a l @ s o f t h o m e . n e t or atleaset gimme an intimation that someone has posted a reply?