Solved

home/work user configuration

Posted on 2003-11-10
7
282 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
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
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 create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 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

19 Experts available now in Live!

Get 1:1 Help Now