🇬🇧 | 🇩🇪 | 🇫🇷 | 🇪🇸 | 🇨🇳 | 🇸🇦
我们没有DLL,但我们有:
Windows文件分析器和在线快速反病毒

一个简约的界面,具有快速搜索,方便的上传和干净的部分结构.

🛡️🔍 快速验证你的档案,只需要放上这个页面.
病毒检查,哈希,签名验证,架构,人工智能信息.

如何修复 "WinRS 客户端无法处理请求. WinrsPull 函数所需的参数之一是零或零. "

没有.

这是一个错误. "The WinRS client cannot process the request. One of the parameters required for the WinrsPull function is null or zero" occurs when using Windows Remote Shell (WinRS) or remote PowerShell sessions. It indicates that the client component initiated a WinrsPull 通信查询从远程系统获取响应包,但一个关键参数 (如时间截止值,缓冲区限制,处理器或包分配大小) 被发送为空的 ( null ) 或初始化错误 ( zero ) 没有.

这通常源于本地组策略配置错误,限制 Windows 远程管理 (WinRM) 配额属性,数据限制或网络配置文件缓冲区内的腐败.


逐步修复问题

按照这些简单的方法顺序解决问题.

方法1:增加 WinRM MaxShells 和配额限制

A common trigger for zero-parameter drops is when the default memory or shell properties choke due to heavy payloads.

  1. 按下 Windows Key, 类型 cmd,右键点击 Command Prompt,并选择 Run as Administrator.
  2. 运行下面的命令来检查当前的默认配置:
    winrm get winrm/config
  3. 更新您的 shell 参数以防止数据丢失, 通过一个接一个地执行以下命令:
    winrm set winrm/config/winrs @{MaxShellsPerUser="30"}
    winrm set winrm/config/winrs @{MaxCmdsPerShell="1000"}
    winrm set winrm/config/winrs @{MaxMemoryPerShellMB="1024"}
  4. 重新启动系统或重新启动服务以应用更改:
    net stop winrm && net start winrm

方法2:为WinRS配置组策略

If Windows Group Policy objects constrain remote shells, the parameters mandatory for WinrsPull 可能会受到结构上的限制.

  1. 按下 Win + R, 类型 gpedit.msc,并击中 Enter 打开本地组策略编辑器.
  2. 在目录下方导航:
    • Computer Configuration ? Administrative Templates ? Windows Components ? Windows Remote Shell
  3. 找到名为的策略设置 Allow Remote Shell Access 双击,设置为 Enabled,并击中 Apply.
  4. 找到了 Specify Max Memory Per Shell in MB 双击,设置为 Enabled 改变值字段为 1024,并击中 Apply.
  5. 关闭组策略并强迫Windows立即更新参数,通过在管理员命令提示符中运行此命令:
    gpupdate /force

方法3:重置本地 WinRM 设置环境

如果数据参数在系统配置中受损,运行快速配置覆盖将恢复默认的功能结构状态.

  1. 发起一个行政调查. Command Prompt 或是行政部门. PowerShell 控制台.
  2. 输入下面的管理重置命令:
    winrm quickconfig
  3. If prompted with an option to accept configurations or open firewall exceptions, type Y 然后按下. Enter.
  4. 此外,运行一个交互式诊断命令来修复基础路由映射:
    winrm reset
  5. 重新运行你的 winrm quickconfig 在重置后再次设置清洁默认设置.

方法4:更新可信托主机属性

当客户端系统缺乏对目标执行终点的清晰信任标志时,它可以放弃验证数组,导致零/零输出.

  1. 打开 PowerShell 作为一个 Administrator.
  2. 如果您的远程执行语境在本地子网网络环境中运行,则执行此字符串以确保无交叉包接收:
    Set-Item WSMan:\localhost\Client\TrustedHosts -Value "*" -Force
  3. 使用: 重启核心服务辅助器映射工具
    Restart-Service WinRM -Force

积极的下一步步骤

ERROR_WINRS_CLIENT_RECEIVE_NULL_PARAM | ERROR_WINRS_CLIENT_FREEPULLRESULT_NULL_PARAM | ERROR_WINRS_CLIENT_CLOSERECEIVEHANDLE_NULL_PARAM | ERROR_WINRS_CLIENT_SEND_NULL_PARAM | ERROR_WINRS_CLIENT_PUSH_NULL_PARAM

可能有一些错误.. Learn Microsoft