Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Script to change the static ip assignment to dynamic (obtain IP automatically)

Posted on 2004-04-12
18
Medium Priority
?
2,086 Views
Last Modified: 2012-06-27
Can anyone supply me with a script that can be run on windows xp/me/98/95 that will automatically change the static ip to dynamic (obtain IP automatically) by just inserting a disk and run the script. If it can be run automatically when you put in the disk then will even be better. This script must also configure the Internet explorer to never dial a connection and do not use proxy in the LAN setting.

Thanks in advance
0
Comment
Question by:da511
  • 9
  • 7
18 Comments
 
LVL 4

Accepted Solution

by:
nyck6623 earned 800 total points
ID: 10804707
netsh interface ip set address name = "Local Area Connection" source = DHCP

netsh interface ip set dns name = "Local Area Connection" source = DHCP

netsh interface ip show config

pause

This is something like what you are looking for.... if u do a good search on google u can find a hundred scripts to help you....
as for the lan settings and never dial up u can use group policies...
not exactly sure how to change them in the script... sorry
This should help u drastically though

NYCK
0
 
LVL 2

Author Comment

by:da511
ID: 10810422
Hi nyck6623, I will give you half the points. You have solved my main problem Howerver still looking for script to change the internet explorer. Can anyone help me.  Eanble group policy as most of my user are my guest.

Thanks
David Wong
0
 
LVL 4

Expert Comment

by:nyck6623
ID: 10812321
Thank you David, I am looking for a resolution for you.

Nyck
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 2

Author Comment

by:da511
ID: 10815909
Thanks nyck6623. It will help me tremendously if there is really such a script. I believe there is but not sure where to get it only. Once again. Thanks
0
 
LVL 4

Expert Comment

by:nyck6623
ID: 10816159
Ok i know how to do this but the script will not be a technical one... I am searching for a good one... I can do it with shell scripting... It will work but not very technical..

Nyck6623
0
 
LVL 2

Author Comment

by:da511
ID: 10821061
Can I know how to do it. Thanks
0
 
LVL 4

Expert Comment

by:nyck6623
ID: 10822304
Im writing it for u know...

Nyck
0
 
LVL 2

Author Comment

by:da511
ID: 10825123
Thanks nyck6623 :) Thanks again
0
 
LVL 4

Expert Comment

by:nyck6623
ID: 10832219
Hey da511 i made a crude script that will do it for you.. Your probably gonna crack up when you watch it workin but i tried and it worked so its all good.

Post back when you are ready for it.. also i need to know in IE, when you hit the tools button at the top. how may options do u have
4  or is it more... I need to know this before i give the final code..
0
 
LVL 4

Expert Comment

by:nyck6623
ID: 10832227
O ya u still have not given points for this one... Like you previously posted!
Nyck
0
 
LVL 2

Author Comment

by:da511
ID: 10838621
Hi nyck, giving you points is not a problem. If I accept your answer now then this topic will be closed. I may not be able to add any comment. Don't worry Nyck, I will give you the points that you deserve and also increase the pints to 200.  

Normally 6 options in IE -> Tool bars

You can also send it to NO EMAIL SOLUTIONS PLEASE if you need to send me any files.Really thanks for your help :)

Thank nyck


PLEASE DO NOT USE EMAIL  TO POST SOLUTIONS
0
 
LVL 2

Author Comment

by:da511
ID: 10840358
What if some of my users have 4,5 or 6 options? Will it work
0
 
LVL 4

Expert Comment

by:nyck6623
ID: 10841367
Im doing the script a odd way but functional... it kinda will matter but if u need to ill make three scripts... All it needs is 2 lines added for 5 and 6 options..
i will email it to ya in a few as text files change them to .vbs

Nyck
0
 
LVL 2

Author Comment

by:da511
ID: 10845765
Nyck, it did not work for my computer. It went to some where else. Anyway, I will still award you with the points that you deserved for your effort. Let me know if you have any better ways.
0
 
LVL 2

Author Comment

by:da511
ID: 10845769
Thank You very much
0
 
LVL 2

Author Comment

by:da511
ID: 10847821
Nyck, can you help me to check if there is any other ways that can configure  Internet Explorer. The script that you supply to me cannot  really work. It configure the the wrong things and even when to configure other things that I did not wanted.

Thanks Thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question