How do I configure
LAN autodisconnect?
|
As with RAS its possible to configure a timeout for LAN
connections after which idle time the connection will be
closed, if you then try and use it the connection will be
reconnected, this will be invisible to you but you will
experience a slight delay
By default this is 15 minutes however it can be changed
by directly editing the registry:
- Start the registry editor (regedit.exe)
- Move to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\lanmanserver\parameters
- Double click autodisconnect
- Set to decimal and set the number of minutes (from -1
to 4294967295)
- Click OK
- Close the registry editor
- Reboot the machine
You can also configure from the command line but registry
is preferred as it does not interfere with any of the built-in
tuning:
Net Config Server /autodisconnect:60
would disconnect after 60 minutes. Valid is from -1 to
65535.
To turn off the disconnect set to -1 (registry or net config
command), DON'T set to 0 as it will autodisconnect all the
time!
How do I enable
the telnet server in Windows 2000?
|
Windows 2000 includes a telnet service which is installed
by default but the service is not automatically started.
To start via the GUI perform the following:
- Start the Computer Management MMC snap-in (Start - Programs
- Administrative Tools - Computer Manager)
- Expand the 'Services and Applications' branch
- Select the Services leaf
- Right click on 'Telnet' and select Start
- You could also right click and select Properties and
set the startup type to Automatic so it will always be
started. Click OK
To start from the command line use
C:\> net start tlntsvr
The Telnet service is starting..
The Telnet service was started successfully.
The telnet service uses %systemroot%\system32\tlntsvr.exe
so if you wanted to stop it being started on a machine you
could set an ACL on the image or delete.
Unlike normal Telnet services passwords are not set clear
text and are encrypted using NTLM. You need a special client
which is provided with Windows 2000 Professional (luckily
:-) ).
How do I
hide a machine from Network Browsers?
|
Using the registry editor set the key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\
LanManServer\Parameters and set value Hidden from 0 to 1
which should be of type DWORD. You should then reboot. You
can also type
net config server /hidden:yes
The above command also automatically creates quite a lot
of other values under \Parameters key, too.
You can still connect to the computer, but it is not displayed
on the browser.
How do I make
my computer's host (DNS) and computer
(NetBIOS) names different?
|
The online help under NetBIOS names in mixed environments
says, "If you are supporting both NetBIOS and DNS namespaces
on your network, you can use a different computer name within
each namespace." Although this was possible in Windows NT,
Windows 2000 doesn't support separate names, and the NetBIOS
name is simply the computer's host name (default to first
15 characters). Win2K host names, not the computer names,
are the actual point of reference; the computer name is
provided to allow for backward compatibility.