Using net config command we can configure server and workstation services on Windows computer. For server service, we can configure few settings using this command. The commands are explained below with examples.
Net Config Server:
We can list the settings of server service as below.
c:\>net config server Server Name \\Wincmd-PC Server Comment Software version Windows 7 Enterprise Server is active on NetbiosSmb (WINCMD-PC) Server hidden No Maximum Logged On Users 20 Maximum open files per session 16384 Idle session time (min) 15
Using net config you can change auto disconnect time and hidden attributes. Commands for the same are given below.
NET CONFIG SERVER /AUTODISCONNECT:20 NET CONFIG SERVER /HIDDEN:YES
Net Config Workstation:
We can list the current settings of workstation service as below.
c:\>net config workstation Computer name \\wincmd-PC Full Computer name wincmd.myorg.com User name wincmd Workstation active on Software version Windows 7 Enterprise Workstation domain myorg Workstation Domain DNS Name myorg.com Logon domain myorg COM Open Timeout (sec) 0 COM Send Count (byte) 16 COM Send Timeout (msec) 250
We can’t change these settings using net config workstation command.