Question

Allowing USERS to change TCP/IP Settings in 2000 Pro

Asked by: sethm

Hello All,

Here is my issue. I have many users that have laptops. These users are currently locked down (can't change settings, install programs......etc). Obviously they are not in the admin group. Right now users are set to acquire and IP address using DHCP. Normally this is not a problem.

The problem is that many users go to overseas locations that do not use DHCP. Everone on there network has a static IP address. Therefore my users cannot get network connectivity. The users call saying that the Administrative password is needed so the local IT admin can give my user an IP address. For obvious reason I do not want to give out this information.

Is there a way to allow users(or local IT) to have the ability to configure an IP address in these circumstances without giving the users full access to the computer. Maybe a deeply rooted reg setting?

Users are on Windows 2000 Pro SP3.

thanks,
Seth

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2003-09-23 at 07:47:38ID20746393
Topic

Windows 2000 Operating System

Participating Experts
4
Points
250
Comments
25

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Acquiring with TWAIN
    I have downloaded the TWAIN SDK from the twain org website, but am having a heck of a time understanding it all. I want scan a small image from my scanner and use the newly acquired bitmap in my program. Does anyone know how to implement the acquire funtion? (or ANY functio...
  2. acquire images
    how to acquire images from twain compliant device?
  3. Accessing my emails from overseas
    Good morning, I use MS Outlook 2000 for emails. While I am currently living in NZ, I will very shortly be moving overseas for a couple of years. I wish to maintain my current email address after moving. Assuming I maintain my current ISP account here in NZ, (which giv...
  4. Deeply rooted spyware - WinFixer
    I have a client who has some deeply rooted spyware. I cannot clear it with Norton, ewido, spybot or ad-aware. My last resort is to rebuild the system. Will L2MFIX do it? Attached are the logs from L2MFIX and HIJACK THIS. THe rebuild is scheduled for tomorrow morning at 1...
  5. "Local Area Connection - Acquiring network address" …
    I have an icon in my tray "Location Area Connection 2 Speed 100.0 mbs Status Acquiring Network address" This message appears even though IE 7 and Outlook Express are working. This icon appears and rollover message appears off and on for several weeks. It doesn...
  6. Cannot Acquire an IP Address on my Wireless Network
    My mother was having a problem a problem with her laptop, so I decided to loan her one of my spare laptops. It is an old Dell Inspiron 2500 laptop running Win XP Pro SP3. It doesn't have a working Ethernet port so I installed and configured my Belkin Wireless G notebook card ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: prelude812Posted on 2003-09-23 at 10:21:34ID: 9414726

users have to be administrators to change thease settings

 

by: MetsysNimdaPosted on 2003-09-23 at 10:32:03ID: 9414810

Yes, you can use an Administrative Template, Under Network you choose Network and Dial-Up Connections, I'm going to set up a domain right now to test out exactly what setting you need to modify and then what it will look like so i'll be posting in about an hour or so, i want to test it first to make sure it works right.
Also you might want to give me a little more info so i can best tell you how to distribute it.
If these computers can all be placed into their own OU it can be set as a group policy, otherwise you'll need to apply the template using the Security/Administrative Template tool.
Be back in a few

 

by: MetsysNimdaPosted on 2003-09-23 at 10:37:49ID: 9414856

Is this a Domain? Is this an Active Directory(2000 or above) domain? Are the computers in a P2P configuration?

 

by: sethmPosted on 2003-09-23 at 11:22:04ID: 9415193

Sorry.......We currently have an NT 4.0 domain. We use DHCP locally and the users need to be able to change that if possible.

 

by: MetsysNimdaPosted on 2003-09-23 at 11:31:14ID: 9415266

ok... (wipes out AD domain and puts in NT4 CD)
sheesh
hehe
okey gimme a little bit.
still though
Administrative Templates work for NT, also, since they are just modifications of registry settings =)

 

by: sethmPosted on 2003-09-23 at 11:34:07ID: 9415284

Thank you very much...sorry about the confusion. I am looking just to make changes on the local machine. I hope that helps.

 

by: MetsysNimdaPosted on 2003-09-23 at 11:54:47ID: 9415439

are the clients NT also?

 

by: sethmPosted on 2003-09-23 at 11:57:02ID: 9415456

The clients I am trying to work with are 2000 Professional sp3.

 

by: prelude812Posted on 2003-09-23 at 12:21:43ID: 9415622

we used this to change 2k and 9x machines to dhcp, but had to be logon on as some sort of admin








Dim WSHShell, OSVer, Path, NList, N, IPAddress, IPMask, IPValue, RegLoc, DefGWValue, NameServer1, NameServer2, NameServer3, DNSNameServer, RegLoc2, CompName, DNSCompName, objShell, ScriptKey, ScriptKeyValue, OpSysSet
Set WSHShell = WScript.CreateObject("WScript.Shell")
OSVer = " "

On Error Resume Next

ScriptKey = "HKLM\Script"      
ScriptKeyValue = WSHShell.RegRead(ScriptKey)      
      
'If (ScriptKeyValue <> "") then
'  WScript.Echo "DHCP Configuration Already Set by Script"
'  WScript.Quit
'End If

On Error Resume Next

'**************************** WINDOWS 9X ********************************************

Path = "HKLM\Software\Microsoft\Windows\CurrentVersion\ProductName"
OSVer = WSHShell.RegRead(Path)
      
If (OSVer = "Microsoft Windows 98") or (OSVer = "Microsoft Windows 95") then

      'WScript.Echo "Configuring DHCP for " & OSVer
      
'*************************************************************************************
'********* Script to change Win9x machines from static IP Address to DHCP ************
'************************ The script will only run once ******************************
'************************ Tim Hudson - v1.0 - 06.06.2002******************************
'*************************************************************************************

      NList = array("0000","0001","0002","0003","0004","0005","0006","0007","0008","0009","0010")

      RegLoc = "HKLM\System\CurrentControlSet\Services\Class\NetTrans\"

      For Each N In NList
        IPValue = ""      'Resets variable
        IPAddress = RegLoc & N & "\IPAddress"
        IPMask = RegLoc & N & "\IPMask"
        IPValue = WSHShell.RegRead(IPAddress)
        If (IPValue <> "") and (IPValue <> "0.0.0.0") then
          WSHShell.RegWrite IPAddress,"0.0.0.0"
          WSHShell.RegWrite IPMASK,"0.0.0.0"
        End If

        DefGWValue = ""    'Resets variable
        DefaultGateway = RegLoc & N & "\DefaultGateway"
        'WSHShell.RegDelete DefaultGateway

        'This section is used to delete up to 3 listed WINS servers.
        NameServer1 = ""            'Resets variable
        NameServer2 = ""
        NameServer3 = ""
        NameServer1 = RegLoc & N & "\NameServer1"
        WSHShell.RegDelete NameServer1
        NameServer2 = RegLoc & N & "\NameServer2"
        WSHShell.RegDelete NameServer2
        NameServer3 = RegLoc & N & "\NameServer3"
        WSHShell.RegDelete NameServer3
      Next

      On Error Resume Next

      RegLoc2 = "HKLM\System\CurrentControlSet\Services\VxD\MSTCP\"

      DNSNameServer = RegLoc2 & "\NameServer"
      WSHShell.RegWrite DNSNameServer, ""

      'Change the workgroup to NA.
      WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\VxD\VNETSUP\WorkGroup", "NA"

      'Change the logon domain to NA
      WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\MSNP32\NetworkProvider\AuthenticatingAgent", "NA"

      'Set the Domain Suffix Search Order
      WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\VxD\MSTCP\SearchList", ""

      'Set hostname same as Computer name.
      CompName = "HKLM\System\CurrentControlSet\Control\ComputerName\ComputerName\ComputerName"
      CompName = WSHShell.RegRead(CompName)
      DNSCompName = (CompName)
      WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\VxD\MSTCP\EnableDNS", "1"
      WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\VxD\MSTCP\HostName", DNSCompName

      'Change the DNS domain to na.sysco.net
      WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\VxD\MSTCP\Domain", "na.sysco.net"
      WSHShell.RegWrite "HKLM\Script", ("The W2K Script completed on " & Date & " at " & Time)

      wshShell.Run ("runonce.exe -q")
      WScript.Quit


Else

'******************************************** WINDOWS 2000 *******************************************
  'Wscript.Echo "2K Section"

  If (OSVer = " ") Then
    Path = "HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProductName"
    OSVer = WSHShell.RegRead(Path)

    If (OSVer = "Microsoft Windows 2000") then

      'WScript.Echo "Configuring DHCP for " &OSVer

      const HKEY_LOCAL_MACHINE = &H80000002
      strComputer = "."

      Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")

      strKeyPath = "SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\"
      oReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys

      For Each subkey In arrSubKeys
        strvaluename = "ServiceName"
        strKeyPath1 = "SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\"&Subkey

        oReg.GetStringValue HKEY_LOCAL_MACHINE,strKeyPath1,strvaluename,strvalue

        On Error Resume Next

        strKeyPath2 = "SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\"&strvalue

        WSHShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\UseDomainNameDevolution", "1","REG_DWORD"
        WSHShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\SearchList", ""
        WSHShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\NV Domain", "na.sysco.net"
        WSHShell.RegWrite "HKEY_LOCAL_MACHINE\"&strkeypath2 &"\EnableDHCP", "1","REG_DWORD"
        WSHShell.RegWrite "HKEY_LOCAL_MACHINE\"&strkeypath2 &"\NameServer", ""
        WSHShell.RegWrite "HKEY_LOCAL_MACHINE\"&strkeypath2 &"\DefaultGateway", ""
        WSHShell.RegWrite "HKEY_LOCAL_MACHINE\"&strkeypath2 &"\DisableDynamicUpdate", "0","REG_DWORD"
        WSHShell.RegWrite "HKEY_LOCAL_MACHINE\"&strkeypath2 &"\EnableAdapterDomainNameRegistration", "0","REG_DWORD"
        WSHShell.RegWrite "HKEY_LOCAL_MACHINE\"&strkeypath2 &"\Domain", ""

        WSHShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\EnableLMHOSTS", "0","REG_DWORD"      
        WSHShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\\Interfaces\Tcpip_" &strvalue &"\NetbiosOptions", "0","REG_DWORD"      
        WSHShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\\Interfaces\Tcpip_" &strvalue &"\NameServerList", ""

        WSHShell.RegWrite "HKEY_LOCAL_MACHINE\Script", ("The W2K Script completed on " & Date & " at " & Time)

'********************************* REBOOT MACHINE **************************************************
'        Set OpSysSet = GetObject("winmgmts:{(Shutdown)}//./root/cimv2").ExecQuery("select * from Win32_OperatingSystem where Primary=true")
'
'        for each OpSys in OpSysSet
'          OpSys.Reboot()
'        Next
      Next
    End if
  End if
End If

WScript.Echo "DHCP Script Finished!"

 

by: prelude812Posted on 2003-09-29 at 07:56:32ID: 9451985

did any of the suggestions help, please close or respond

 

by: sethmPosted on 2003-09-29 at 08:05:34ID: 9452057

Sorry,

None of the suggestions helped. I cannot believe that Microsoft wouldn't have taken this into consideration. I will keep this open for a few days more to see if anything comes of it.

Seth

 

by: oBdAPosted on 2003-09-30 at 12:50:12ID: 9461780

Keep it open, I might have an idea, but I won't have time to verify that until the weekend, sorry.

 

by: oBdAPosted on 2003-10-05 at 10:40:09ID: 9495005

A possible solution is to give your users a configuration file to edit and then to use the task scheduler to read and set the new IP configuration.
On your notebooks, create a local account with administrator rights, for example "SrvTaskScheduler".
Put the TCPIP.txt file from below into a folder where your users have write access, create a shortcut to it in the start menu. Create a shortcut to the log file as well.
Create a new subfolder in your Program Files folder, for example "SetIP". Important: Change the NTFS rights on this folder so that only administrators have write access!
Copy the SetIP.cmd file from below into this directory, adjust the configuration file and log file paths, then create a task running under the new account at logon that starts SetIP.cmd.
The script will check if the configuration file has been edited and, if so, will read the new settings and apply them using netsh.exe.
You'll need setx.exe from the Resource Kit (or from http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/setx-o.asp) some place in the path.
In the future, the user can logon, edit the file, logoff, then logon again, and should have network connection. (If he needs a domain logon, though, he might have to logon a third time, since the network will only be available after his second logon.)
This is a rather crude but working solution. Try if it works for you, come back if you have additional questions or need some improvements.

====8<----[SetIP.cmd]----
@echo off
setlocal

:: *** Path and name of the configuration and log files:
set SetFile=<SomePath>\TCPIP.txt
set LogFile=<SomePath>\TCPIP.log

(echo %Date% %Time%: Checking TCP/IP settings)>"%LogFile%"
:: *** Check if the settings file has been edited:
for /f "tokens=*" %%a in ('dir /b "%SetFile%" 2^>NUL') do set FileName=%%a
for /f "tokens=1,2" %%a in ('dir "%SetFile%" 2^>NUL ^| find /i "%FileName%"') do set FileDate=%%a %%b
if not "%FileDate%"=="%TCPIPFileDate%" goto ChangeSettings
(echo Settings file unchanged.)>>"%LogFile%"
goto leave

:: ********************************************************************************
:: *** Settings file has been edited
:ChangeSettings
:: *** Update the environment variable with the file date:
setx.exe TCPIPFileDate "%FileDate%" -m
for /f "eol=# tokens=2 delims==" %%a in ('type "%SetFile%" ^| find /i "Interface"') do set Interface=%%a
:: *** Has DHCP been enabled?
for /f "eol=# tokens=2 delims==" %%a in ('type "%SetFile%" ^| find /i "DisableDHCP"') do set DisableDHCP=%%a
if "%DisableDHCP%"=="0" goto EnableDHCP

:: ********************************************************************************
:: *** Set a static IP
for /f "eol=# tokens=2 delims==" %%a in ('type "%SetFile%" ^| find /i "IPAddress"') do set IPAddress=%%a
for /f "eol=# tokens=2 delims==" %%a in ('type "%SetFile%" ^| find /i "SubnetMask"') do set SubnetMask=%%a
for /f "eol=# tokens=2 delims==" %%a in ('type "%SetFile%" ^| find /i "DefaultGateway"') do set DefaultGateway=%%a
for /f "eol=# tokens=2 delims==" %%a in ('type "%SetFile%" ^| find /i "DNSServer"') do set DNSServer=%%a
for /f "eol=# tokens=2 delims==" %%a in ('type "%SetFile%" ^| find /i "DNSRegister"') do set DNSRegister=%%a
for /f "eol=# tokens=2 delims==" %%a in ('type "%SetFile%" ^| find /i "WINSServer"') do set WINSServer=%%a
set GWMetric=1
if /i "%DefaultGateway%"=="none" set GWMetric=
(echo Executing "netsh interface ip set address "%Interface%" static %IPAddress% %SubnetMask% %DefaultGateway% %GWMetric%" ...)>>"%LogFile%"
netsh interface ip set address "%Interface%" static %IPAddress% %SubnetMask% %DefaultGateway% %GWMetric% >>"%LogFile%"
(echo Executing "netsh interface ip set dns "%Interface%" static %DNSServer% %DNSRegister%" ...)>>"%LogFile%"
netsh interface ip set dns "%Interface%" static %DNSServer% %DNSRegister% >>"%LogFile%"
(echo Executing "netsh interface ip set wins "%Interface%" static %WINSServer%" ...)>>"%LogFile%"
netsh interface ip set wins "%Interface%" static %WINSServer% >>"%LogFile%"
goto IPConfig

:: ********************************************************************************
:EnableDHCP
(echo Executing "netsh interface ip set address "%Interface%" dhcp" ...)>>"%LogFile%"
netsh interface ip set address "%Interface%" dhcp >>"%LogFile%"
(echo Executing "netsh interface ip set dns "%Interface%" dhcp" ...)>>"%LogFile%"
netsh interface ip set dns "%Interface%" dhcp >>"%LogFile%"
(echo Executing "netsh interface ip set wins "%Interface%" dhcp" ...)>>"%LogFile%"
netsh interface ip set wins "%Interface%" dhcp >>"%LogFile%"
goto IPConfig

:: ********************************************************************************
:IPConfig
(echo Done.)>>"%LogFile%"

:: ********************************************************************************
:leave
====8<----[SetIP.cmd]----

====8<----[TCPIP.txt]----
# Spaces beginning with # are comments.
# Do not use spaces around the "="!
# Possible settings:

# Interface=Name of the LAN connection
# DisableDHCP=1 | 0

# The following settings are only valid if DHCP is disabled:
# IPAddress=IP address
# SubnetMask=Subnet mask
# DefaultGateway=IP address of Default Gateway
# DNSServer=none | IP address of DNS server
# DNSRegister=(empty) | none | primary | both
# WINSServer=none | IP address of WINS server

Interface=LAN-Verbindung
DisableDHCP=0
IPAddress=192.168.10.200
SubnetMask=255.255.255.0
DefaultGateway=192.168.10.254
DNSServer=192.168.10.254
DNSRegister=none
WINSServer=none
====8<----[TCPIP.txt]----

 

by: MetsysNimdaPosted on 2003-10-06 at 14:37:46ID: 9501386

sethm,
Sorry it took so long for me to get back to you. I was busy with that stupid intellimirror crap. I don't know how to do all of the stuff mentioned above but this will fix what you are trying to accomplish as far as your original post went...
so anyways, thanks for the info, since you have Windows 2000 Pro machines, the ones the need to be able to change their TCP/IP settings need the following changes implemented.

Log on as an administrator to the Windows 2000 Laptop(s) that you want to change the setting for.
Open the MMC (Start, Run, MMC)
Add a new snap-in for Group Policy(Console, Add/Remove Snap-ins, Click Add..., Choose Group Policy, Click Add, Finish, Close, OK) [it will change the name to local computer policy, this is normal]
Expand the Local Computer Policy
Expand User Configuration
Expand Administrative Templates
Expand Network, Click Network and Dial-up Connections.
This done, about 19 options will show up on the right, starting with Prohibit deletion of RAS connections, and going down the list prohibiting everything networking you can think of =)
what you want to do is allow your users to switch from Static to DHCP, so...
Select Prohibit enabling/disabling a LAN connection Choose Disabled.
Select Prohibit access to properties of a LAN connection Choose Disabled.
Select Prohibit access to perperties of components of a LAN connection Choose Disabled.

With these settings in place users can now modify the TCP/IP setting of Obtain an IP address automatically, or Use the following IP address

I had originally started typing out the instructions to define the security template for this, and then apply that but i figured since it isn't many laptops, this might be easier, if you want the other way let me know and i'll type it all out.

Also in reference to who gets to modify these settings you can set any groups you want, the ones i gave were just a suggestion.
 

 

by: sethmPosted on 2003-10-06 at 15:12:56ID: 9501602

Well that works, I think. The problem is that they need to be put in the Administrators group and that still allows them to change domains and install apps. I want to prevent that. Thanks for all of your help. Seth

 

by: MetsysNimdaPosted on 2003-10-06 at 15:15:42ID: 9501622

no with that setting the Won't need to be in the administrators group
that's the nifty part =)
hold on i'll test it really quick.

 

by: MetsysNimdaPosted on 2003-10-06 at 15:32:39ID: 9501726

ah darn,
open mouth insert foot
Okey dokey,
 no problem
Here, start with this
i'll be right back with the rest of the settings:
since you have Windows 2000 Pro machines, the ones the need to be able to change their TCP/IP settings need the following change implemented, a security template that defines Authenticated Users can modify TCP/IP settings, or in other words, Network Configurations.
To perform this complete the following tasks:
Open the MMC (Start, Run, MMC)
Add a new snap-in for Security Templates (Console, Add/Remove Snap-ins, Click Add..., Choose Security Templates, Click Add, Close, OK)
Expand Security Templates and C:\Winnt\Security\Templates, by clicking the plus sign next to them
Right Click on setup security, (the default out of the box security settings). Choose Save As...
Name it AllowNetChange (or whatever cool name you like)
Expand it's properties so that you can see System Services in the left hand side of the console, Select it.
When you do on the right a list of services will appear, the first being alerter, then so on and so forth.
You want to double click on Network Connections.
When it opens you want to click Define This Policy setting in the Template.
    Choose Automatic for service startup mode.
         Click Edit Security...
            Click Add... Choose to add the following groups, Administrators, Domain Admins, Authenticated Users.
 Under each of these, choose Full Control.
            Remove the Everyone Group if you wish, (I do) ***But do NOT DENY the Everyone group. actually click them and choose remove. Otherwise this will be very bad.

         Now Click Apply, Ok, Ok.
The policy is defined.
Right Click on that policy, (Whatever you named it) and choose Save.
Now we need to get it imported on the Windows 2000 Laptops that will be traveling around the globe =).

To do this you can either share it on the network, and access it through the network to import it, or you can put it on a floppy and import it.
be right back in a few with the import instructions

 

by: MetsysNimdaPosted on 2003-10-06 at 18:45:57ID: 9502624

hmmn
scratch that.. it seems to not be working
Even though that's what MS says to do
liars

but i'm not giving up

 

by: MetsysNimdaPosted on 2003-10-06 at 22:24:26ID: 9503380

Well here it is...
After the girlfriend pointed it out to me...
i read the fine print...

"Note: Non-administrators are already prohibited from accessing properties of components for a LAN connection regardless of this policy."

Taken from the administrative template i was trying to configure in vain.
I guess you can't set it by default. However if you wanted to weaken the settings of Win2k you probably could.
let me know if that is a possible option.

 

by: WimVosPosted on 2004-02-19 at 05:07:32ID: 10401958

There is not a standard Windows 2000 solution without user Administrator rights to do the trick.

But using NETSH in combination with 3rd party software like:
   - Sanur (http://www.autotone.com/sanur/)
   - Tqcrunas (www.quimeras.com)
should do the trick.

I'm trying to implement it this moment so I don't have possitive results yet.

Wim

 

by: WimVosPosted on 2004-02-24 at 05:29:19ID: 10440529

There is a nice tool called AutoIT. It can be found at www.hiddensoft.com/AutoIt/. It is a scripting tool which will send the necessary keystrokes (i.e. a password) to any application within windows. I already have got a working concept for changing IP-addresses thru NETSH in combination with the RUNAS command.

The advantage of AutoIT is that it can compile a script to an executable so that the normal users can't read the script to find out what password was used.

The AutoIT package also contains the possiblity to decompile an executable back to a script but you can use a 'passphrase' during compilation to avoid clever users to regain the original script.

To my opnion it is a magnificant tool.

Wim

 

by: sethmPosted on 2004-02-24 at 05:56:59ID: 10440752

Is there a way you can send me the script to do that. I am not a programmer or scriptwriter but would like to look at it and try to figure it out.

thanks,
Seth

 

by: WimVosPosted on 2004-02-25 at 04:21:25ID: 10449646

Hi Seth,

If you want to receive the scripts, please send an e-mail to prodinfo@humancapitalcare.nl with the text 'scripts for netsh' in the subject field

Good luck,
Wim

 

by: sethmPosted on 2004-02-25 at 05:33:49ID: 10450135

Wim,

THank you for the scripts. I don't quite understand how it is supposed to work. I guess its basically the Auotmatic with Addit routes. What is that supposed to do?

thanks,
Seth

 

by: WimVosPosted on 2004-02-27 at 02:28:30ID: 10467981

Hi Seth,

I have added an instruction in PDF format to the script-mail. If you want to receive the scripts, please send an e-mail to prodinfo@humancapitalcare.nl with the text 'scripts for netsh' in the subject field

Good luck,
Wim

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...