The command: "NET HELP CONFIG SERVER" is on Windows 11, 10, .. available
Here are examples of using the `NET CONFIG SERVER`
command in the Windows command line (`cmd`
), along with detailed descriptions:
Example 1: View the current configuration of the server service
net config server
This command prints detailed information about the current configuration of the Server service on the local computer. This may include information about sharing, workgroup membership, and other relevant settings.
Example 2: Changing the comment for the server service
net config server /srvcomment:"My server"
You can use this command to change the comment for the server service. In this example the comment is set to "My Server"
Example 3: Enabling guest access to shares
net config server /autotuninglevel=disable
Here the automatic adjustment level for the server service is deactivated. Depending on your needs, different options can be used, such as `/autotuninglevel=highlyrestricted`
Example 4: Changing the number of concurrent connections
net config server /maxconn:25
This command allows you to set the maximum number of simultaneous connections for the Server service. In this example the maximum number is set to 25.
Example 5: Enable Server Service Display in Workgroup
net config server /hidden:no
Here the server service display is activated in the workgroup. The `/hidden:no`
parameter ensures that the server service is visible in the network environment.
Example 6: Setting the server announcement duration
net config server /srvannouncetime:60
This command allows you to set the length of time the server displays service advertisements. In this example, the display duration is set to 60 minutes.
Example 7: Resetting the Server Service Configuration to Default
net config server /revert
This resets the server service configuration to default settings. This can be useful for undoing unwanted changes.
Please note that the available options and behaviors may vary depending on the version of Windows. To check the specific options, you can use `NET CONFIG SERVER /?`
in the command prompt.