简体   繁体   English

为什么 LAN 唤醒计划部署在 SCCM 1802 中不起作用?

[英]Why are Wake On Lan scheduled deployments not working SCCM 1802?

Wake On Lan is enabled, subnet directed broadcast method, port = 9 (I've tried several other ports). Wake On Lan 已启用,子网定向广播方法,端口 = 9(我尝试了其他几个端口)。

I've worked with my network team to allow subnet directed broadcasts, and it does work using Right Click Tools (run from server) using same subnet directed broadcast method and same ports, including port 9.我与我的网络团队合作,允许子网定向广播,它使用右键单击工具(从服务器运行)使用相同的子网定向广播方法和相同的端口(包括端口 9)工作。

Scheduled deployments are set to Wake Up but when the deadline passes the computers do not wake up.计划部署设置为唤醒,但当截止日期过去时,计算机不会唤醒。 I have two other SCCM servers that I'm able to run scheduled deployments on just fine.我还有另外两台 SCCM 服务器,我可以在这些服务器上正常运行计划部署。

I've disabled Wake On Lan, monitored to make sure it is removed, enabled it again, monitored to verify it finishes installing, but it still isn't working.我已禁用 Wake On Lan,监控以确保它被删除,再次启用它,监控以验证它已完成安装,但它仍然无法正常工作。

I have rebooted the server as well.我也重启了服务器。

This is indeed a bug in SCCM Current Branch 1802, and there was no charge for my Microsoft Premiere Support ticket.这确实是 SCCM Current Branch 1802 中的一个错误,我的 Microsoft Premiere Support 票不收费。 We did get the problem resolved.我们确实解决了问题。

There were two missing registry keys, and a missing folder , that appeared to be the culprit.有两个丢失的注册表项和一个丢失的文件夹,这似乎是罪魁祸首。 We did add/change a couple of other keys, but they did not change the symptoms at all.我们确实添加/更改了其他几个键,但它们根本没有改变症状。

From MS Support: " CB 1802 is lacking the following registry keys (exported from my UPGRADED environment): "来自 MS 支持:“ CB 1802 缺少以下注册表项(从我的升级环境导出):

Windows Registry Editor Version 5.00 Windows 注册表编辑器 5.00 版

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\SMS\\Inbox Source\\Inbox Definitions\\77] [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\SMS\\Inbox Source\\Inbox Definitions\\77]

"Inbox Name"="SMS_AMT_PROXY_WOL" "收件箱名称"="SMS_AMT_PROXY_WOL"

"Location Type"=dword:00000001 “位置类型”=dword:00000001

"NAL Path"="" "NAL 路径"=""

"Relative Path"="inboxes\\amtproxymgr.box\\wol.box" "相对路径"="收件箱\\amtproxymgr.box\\wol.box"

"Service Rights"=dword:00000054 “服务权限”=dword:00000054

"User Rights"=dword:00000000 “用户权限”=dword:00000000

"Guest Rights"=dword:00000000 “访客权限”=dword:00000000

"Monitoring Enabled"=dword:00000001 “启用监控”=dword:00000001

(and) (和)

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\SMS\\Inbox Source\\Inbox Instances\\77] [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\SMS\\Inbox Source\\Inbox Instances\\77]

"Inbox Name"="SMS_AMT_PROXY_WOL" "收件箱名称"="SMS_AMT_PROXY_WOL"

"Location Type"=dword:00000001 “位置类型”=dword:00000001

"Assistant Flags"=dword:00000000 “助手标志”=dword:00000000

"NAL Path"="" "NAL 路径"=""

"Relative Path"="inboxes\\amtproxymgr.box\\wol.box" "相对路径"="收件箱\\amtproxymgr.box\\wol.box"

"UNC Path"="\\\\PRI1.CONTOSO.LOCAL\\SMS_P01\\inboxes\\amtproxymgr.box\\wol.box" "UNC 路径"="\\\\PRI1.CONTOSO.LOCAL\\SMS_P01\\inboxes\\amtproxymgr.box\\wol.box"

"Monitoring Enabled"=dword:00000001 “启用监控”=dword:00000001

On my server I had to add the two keys by creating new keys using the next available number in Inbox Definitions and Inbox Instances (mine was 76).在我的服务器上,我必须通过使用收件箱定义和收件箱实例中的下一个可用数字(我的是 76)创建新键来添加两个键。

I also had to create the wol.box folder inside of the amtproxymgr.box folder.我还必须在 amtproxymgr.box 文件夹内创建 wol.box 文件夹。 I simply copied the existing folder named "bad" and named it wol.box.我只是简单地复制了名为“bad”的现有文件夹并将其命名为 wol.box。

Make sure the UNC path has your actual server FQDN name AND SCCM site name share.确保 UNC 路径具有您的实际服务器 FQDN 名称和 SCCM 站点名称共享。 The above example is from the MS support person's test install.上面的示例来自 MS 支持人员的测试安装。

Yes the double backslashes are there for single backslash, and quadruple for double.是的,双反斜杠是单反斜杠,四倍反斜杠是双反斜杠。 Not sure why but that is how many reg keys work.不知道为什么,但这是有多少 reg 键有效。

As soon as I had these registry keys and the wol.box folder, the persistent errors that had been occurring every five seconds, immediately ceased and new data showed in the log that matched what I see on my other two server.一旦我有了这些注册表项和 wol.box 文件夹,每五秒发生一次的持久性错误立即停止,日志中显示的新数据与我在另外两台服务器上看到的数据相匹配。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM