Changing network settings when loogged in as a user but with Administrator login details known

Posted on 2004-04-22
Last Modified: 2010-04-13
Hey All,
Is it possible to change the network settings eg ip address, gateway etc when logged in as a user.  I have the administrator login details but all my applications and settings are done in my user account.  Due to doing some testing with a network emulator I have to keep changing my network settings and I would like to be able to do it without having to log out and log in everytime.
All other administrator restricted programs etc I can run by using 'run as' but I can't get this option when I right click on the LAN device.
Question by:stefarg
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 15

Expert Comment

by:Rob Stone
ID: 10888561
Can't you just add this user to the Administrators group of the local pc?

Author Comment

ID: 10888596
For security reason I have my user account as just that a user account.  When I need to run a restricted program I just use the 'run as' option and if possible I would like to continue using this approach,
Thanks for the comment though
LVL 15

Expert Comment

by:Rob Stone
ID: 10888694

Accepted Solution

corneliup earned 125 total points
ID: 10889239
You can use netsh

create a script like ip.cmd with the following content:

@echo off
@echo Changing to Static IP address

netsh interface ip set address "LAN" static 1
netsh interface ip set dns "LAN" static

@echo System Switched to static IP

Where "LAN" is the name of your Local Area Connection


Author Comment

ID: 10889465
Excellent thats exactly what I was looking for!

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

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…
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor ( Top Charts is a view in which you can set seve…

623 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