Solved

home/work user configuration

Posted on 2003-11-10
7
284 Views
Last Modified: 2010-04-14
Hi,
How do I setup a user with a notebook to use static IP at home and DHCP server when he come to work and connects to network. Can I create two different profiles to be used using the same NIC?

thanks for your answer.
0
Comment
Question by:mehranalmasi
7 Comments
 
LVL 49

Expert Comment

by:sunray_2003
ID: 9719456
I assume he is going to use broadband connection at both places

Just create one network connection going to networks and connections

At home he can put the IP address and other information right-clicking that network connection, going to internet protocol (tcp/ip) and other place he can just remove that

Sunray
0
 

Author Comment

by:mehranalmasi
ID: 9719477
thanks. This is the stuff the admins are suppose to do! My goal is to do all that with click of an icon to switch the configuration.

Mehran
0
 
LVL 13

Accepted Solution

by:
rhinoceros earned 250 total points
ID: 9719866
You can try to use the command "netsh". At first, you should create two batch files as following


1. e.g.  netsh interface ip set address "Local Area Connection" dhcp
(To switch the specified adapter from a static address to DHCP)


2. e.g. netsh interface ip set address "Local Area Connection" static 192.168.0.10 255.255.255.0 192.168.0.1 1
(To change to a static address)


And then click one of batch files to switch the IP configuration as you want.


More information
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q257/7/48.ASP&NoWebContent=1


I hope it can help.



0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 13

Expert Comment

by:rhinoceros
ID: 9719891
0
 
LVL 3

Expert Comment

by:Chris_Picciotto
ID: 9720002
It would be simple if you had a docking station or port replicator.
0
 
LVL 32

Expert Comment

by:jhance
ID: 9721342
Let me suggest that you may want to look at NetSwitcher:

http://www.netswitcher.com

It's able to "remember" your two setup and let you choose which one to use depending on where you are.
0
 
LVL 4

Expert Comment

by:darth_wannabe
ID: 9725040
also check multinetwork manager
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
When you’re making plans to join the modern business race, you should analyze various details that may affect your results. Nowadays, millions of businesses are trying to grow into established and appreciated professional enterprises.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

815 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

9 Experts available now in Live!

Get 1:1 Help Now