Solved

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

Posted on 2004-04-12
18
2,073 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 200 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
 
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Copy a User Account in Win7 & Win8 11 126
Blocking of USB Port 18 92
preview video of network plus 2 64
HP PC Hardware Diagnostics UEFI 11 77
Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now