zoukankan      html  css  js  c++  java
  • 如何修改windows CIFS/SMB共享的最大访问连接

    背景

    最近一台 Windows 2008 的服务器访问的时候,提示人数不能再多了,访问失败。

    解决方法

    输入 net help share 查看其帮助信息

                     
    /USERS:number      Sets the maximum number of users who can
                       simultaneously access the shared resource.
    /UNLIMITED         Specifies an unlimited number of users can
                       simultaneously access the shared resource
    

    第一个 users 是设置同时访问最大用户数,下面是对 sharename 的共享设置同时访问用户为 200.

    net share sharename /users:200
    

    第二个 unlimited 是设置同时访问最大用户数不受限制,下面是对 sharename 的共享设置.

    net share sharename /unlimited
    

    然后可以用 net share sharename,查看共享信息。

    Share name        sharename 
    Path              H:\sharename 
    Remark
    Maximum users     No limit
    

    扩展阅读

  • 相关阅读:
    浅谈线段树
    浅谈KMP
    20200729线上模拟题解
    20200727线上模拟题解
    声明
    tarjan--割点,缩点
    20201029模拟
    高精模板
    二分图--二分图的几种模型
    树的直径与树的重心
  • 原文地址:https://www.cnblogs.com/ievjai/p/14382692.html
Copyright © 2011-2022 走看看