Version: 2008
Advanced Search
advertisement
advertisement

Forum display:

Windows XP: Flushing DNS and releasing the IP question

by b8375629 - 8/21/09 2:30 AM
advertisement
Click Here
Post 1 of 8

Flushing DNS and releasing the IP question

by b8375629 - 8/21/09 2:30 AM

I was wondering if there was a script out there where I can automate the ipconfig /flushdns and then /release the IP commands when I shutdown my system.

Anybody know where to look? Thanks.

Post 2 of 8

Re: automatic

by Kees Bakker Moderator - 8/21/09 2:55 AM In reply to: Flushing DNS and releasing the IP question by b8375629

Make a batchfile with the necessary commands. That's IPCONFIG with the right parameters, followed by a RUNDLL32 for a programmatic shutdown. Then add a shortcut to that batchfile somewhere (Start>Programs, Desktop, Quick Launch, whatever you prefer) and use that.

It won't work for a shutdown via ALT-F4 or when done by Windows itself, for example if you answer "restart now" to a Windows update prompt. It won't even work with Start>Shutdown.
So some user discipline is necessary.

Kees

Post 3 of 8

You mean a script can't be added...

by b8375629 - 8/23/09 6:45 PM In reply to: Re: automatic by Kees Bakker Moderator

...the the shutdown process? When I go to Start - Turn Off Computer - Turn Off and a script runs doing this as part of the shutdown process?

Post 4 of 8

I'm going to write no.

by R. Proffitt Moderator - 8/24/09 5:39 AM In reply to: You mean a script can't be added... by b8375629

I didn't see such a feature in XP. But you could use YOUR script to do all this and shutdown when done.
Bob

Post 5 of 8

Where can I go...

by b8375629 - 8/24/09 9:57 PM In reply to: I'm going to write no. by R. Proffitt Moderator

...to find out how to do this?

Post 6 of 8

Post 2 (the first reply)

by R. Proffitt Moderator - 8/25/09 5:38 AM In reply to: Where can I go... by b8375629

Told you that it would be a batch or script file. YOU create it. YOU own it. YOU make it do what you want.

The skills are not hard to acquire, there is far too many web sites about this so to avoid duplicating the web I'll offer one piece of the puzzle you'll need. The 2 lines you need to tinker with.

IPCONFIG /RELEASE_ALL
SHUTDOWN

Now it's all of 2 lines for you to fix or make work. The SHUTDOWN.EXE is found with google and the IPCONFIG syntax is not hard so why not get it done?
Bob

Post 7 of 8

Wow....

by b8375629 - 8/25/09 11:06 PM In reply to: Post 2 (the first reply) by R. Proffitt Moderator

Jesus, do you really have to be this rude? Go lay off the coffee or something. All I asked was a simple question.

If you don't want to be of any help, then don't bother. Sheesh...

/;^/

Post 8 of 8

Sadly.

by R. Proffitt Moderator - 8/26/09 8:50 AM In reply to: Wow.... by b8375629

Handing you the answer is now considered rude. I wish you the best of luck as you are given solutions.
Bob

Forum legend:
Locked Locked thread
Moderator Moderator
CNET staff CNET staff
Samsung staff Samsung staff
Norton Authorized Support team Norton Authorized Support team
AVG staff AVG staff
Windows Outreach team Windows Outreach team
Dell staff Dell staff
Intel staff Intel staff
Powered by Jive Software