Computing.Net > Forums > Windows 2000 > Wanna change IP Adress on logon

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Wanna change IP Adress on logon

Reply to Message Icon

Name: Jagmeet Singh
Date: February 23, 2003 at 06:48:05 Pacific
OS: Windows 2000
CPU/Ram: Celeron 433 MHz/128MB
Comment:

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?



Sponsored Link
Ads by Google

Response Number 1
Name: ChrisE
Date: February 23, 2003 at 08:52:00 Pacific
Reply:

When your computer is switched on, it announces itself on the network using its name, and if you have a static address, that as well. With W2K you can go into network properties and change the IP address while the machine is running. Are you using DNS? If you are, you will need to delete the entry for the machine name each time you change the address. It would be interesting and helpfull to know why you need to change the IP for each user.
Hope this is of some use
ChrisE


0

Response Number 2
Name: Rambler
Date: February 23, 2003 at 14:08:54 Pacific
Reply:

What you need is called DHCP.


0

Response Number 3
Name: majid99
Date: February 24, 2003 at 02:30:08 Pacific
Reply:

Why don't you change the registry settings for all users when they log on it will acuire a special IP from registry settings and when you want to assign a special IP for each user you have to get GUID no for that user It is trickey to get GUID no for user.

Edit the Registry under HKEY_USERS/GUID OF SPECIFIC USER to give a specific IP for specific User.

.ed.


0

Response Number 4
Name: Jagmeet Singh Hanspa
Date: February 24, 2003 at 22:09:33 Pacific
Reply:

Hi chrisE, Rambler, Majid,
Thankx for ur time and support.
Regarding the logical reason, there is one, definitely.
I am accessing a Proxy server on my server which gives me better speed to the internet. Now, I dont want my activity to be logged!!! its that simple. And there is no rule on the static address.
So, i have to manually change the settings on the internet explorer to use a proxy server instead of using http access from the main server. So, i made a new account, which already has the internet explorer settings in it...
Now, what I used to do was, before logging onto the new account, I canged my IP address and ComputerName "Manually" so that the activity is not logged with my IP address... I just used to give any anonymous IP, ofcourse in the 172.16.*.* range.

So, i just wanted to know if this could be made automatic. Like when i log off from a normal user and logon that particular username, the IP gets changed and if possible, the Computer name too !!!

Or, just tell me what programs get initiated when we change the IP address from Network properties. I can then make a script that changes the IP in the registry and then starts those processes for the changes to take effect.

Hope u got it, and wont mind answering my simple query!

Chris: There is no DNS, if we could just chnage the local address it would suffice. And thankx for ur time.

Rambler: I dont think I would need DHCP. Thankx for making me think about that ;-)

Majid: U got me, but I could follow ur steps.
Firstly, I have only three GUIDs under Hkey_Users i.e. (.default, {large no.s}, {large no.s} ). But the last one is empty... I wont be changing .default.... and I couldnt find nay IP in any GUIDs. !! :-(
There has to be something ur way.... Could you please enlighten me upon this?

One more thing: Can there be some software called anonymizer which can make others think that ur computer IP is something different? Like anonymizer.com

Sorry for the long post. but i post rarely


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Wanna change IP Adress on logon

Double IP adress on One network card www.computing.net/answers/windows-2000/double-ip-adress-on-one-network-card/7678.html

Change Ip adresse www.computing.net/answers/windows-2000/change-ip-adresse/18806.html

changing IP-adress www.computing.net/answers/windows-2000/changing-ipadress/50696.html