Home > Commands N-Z > Commands N

NET CONFIG SERVER


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Displays or changes settings for the Server service.


Syntax

NET CONFIG /?

NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:"text"] [/HIDDEN:{YES | NO}]

Display the current configuration for the Server service:

NET CONFIG SERVER


Parameters

none.


Switches
/? (NTXP)
Displays help.
/AUTODISCONNECT:time (NT3.1 through NT4)
Sets the maximum number of minutes a user's session can be inactive before it is disconnected. You can specify -1 to never disconnect. The range is -1-65535 minutes; the default is 15.
/HIDDEN:{YES | NO} (NT3.1 through NT4)
Specifies whether the server's computername appears on display listings of servers. Note that hiding a server does not alter the permissions on that server. The default is NO.
Before using see Q128167 - you may prefer to edit the registry directly:
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
/SRVCOMMENT:"text" (NT3.1 through NT4)
Adds a comment for the server that is displayed in Windows Screens and with the NET VIEW command. The comment can have as many as 48 characters. Enclose the text in quotation marks.

Related

NET VIEW


Notes

Available only on Windows NT Servers.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NT3.1 NT3.5 NT3.51 NT4 NTXP NT2003

Last Updated: 2006/12/01
Direct corrections or suggestions to: Rick Lively