You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在不访问BIOS的前提下,通过Kaseya Agent远程配置跨区域PC实现断电恢复AC供电后自动重启

如何在不访问BIOS的前提下,通过Kaseya Agent远程配置跨区域PC实现断电恢复AC供电后自动重启

Hey Patrick, totally feel your pain here—being cross-coast with no local tech support to tweak BIOS settings is such a hassle. Let’s walk through the most reliable ways to get this done using your Kaseya Agent, no physical BIOS access required:

1. 先试试用PowerShell配置Windows电源计划(最简单的通用方法)

Most modern retail PCs let Windows control the "power loss recovery" behavior, which you can tweak remotely via Kaseya’s scripting module. Here’s how:

  • Head to Kaseya’s Scripting section, create a new PowerShell script, and run these commands on the target PC:
    # 设置AC供电恢复时自动启动
    powercfg /setdcvalueindex SCHEME_CURRENT SUB_BUTTONS POWERACTION 0
    powercfg /setacvalueindex SCHEME_CURRENT SUB_BUTTONS POWERACTION 0
    powercfg /setactive SCHEME_CURRENT
    
    A quick breakdown: The POWERACTION 0 value tells Windows to auto-start when AC power comes back. Other values are 1 (stay off) or 2 (resume previous state).
    Important note: This only works if the PC’s hardware allows the OS to override this setting—most Dell, HP, and Lenovo retail models support this, but older machines might not.

2. 针对特定品牌PC,用WMI直接修改硬件级设置

If the PowerShell method doesn’t stick, many PC manufacturers expose BIOS settings via WMI (Windows Management Instrumentation), which Kaseya can access remotely. Here are brand-specific examples:

  • Dell PCs: Use the DCIM WMI namespace to enable auto-power-on:
    $biosService = Get-WmiObject -Namespace root\dcim\sysman -Class DCIM_BIOSService
    $biosService.SetBIOSAttributes(@{AttributeName="AutoPowerOn";AttributeValue="Enabled"})
    
  • HP PCs: Target the HP instrumented BIOS namespace:
    $hpBios = Get-WmiObject -Namespace root\hp\instrumentedBIOS -Class HP_BIOSSettingInterface
    $hpBios.SetBIOSSetting("Auto Power-On", "Enabled")
    
  • Lenovo PCs: Use the Lenovo WMI namespace:
    $lenovoBios = Get-WmiObject -Namespace root\lenovo\wmi -Class Lenovo_BiosSetting
    $lenovoBios.SetBiosSetting("Auto Power On", "Enabled")
    
    Before running these, you can first send a quick script via Kaseya to check the PC’s brand (using Get-WmiObject Win32_ComputerSystem | Select-Object Manufacturer) so you pick the right command.

3. 极端情况:用Kaseya的预OS远程控制(最后备选)

If neither of the above works (super old hardware that locks this setting to BIOS only), you can try Kaseya’s pre-OS remote control feature (if your Kaseya VSA license includes it):

  • Use Kaseya to remotely restart the target PC.
  • Right as it starts booting, send the BIOS shortcut key (like F2 for Dell, Del for HP) via Kaseya’s virtual keyboard.
  • Navigate the BIOS menu remotely to enable "Auto Power On" or "Power Loss Recovery" settings.
    Heads up: This is tricky because you need perfect timing (account for your cross-coast latency) and you’ll need to know the exact BIOS shortcut for the PC model. It’s not ideal, but it’s a last resort if nothing else works.

Once you’ve tried one of these methods, test it out: Either ask the retail store staff to quickly unplug and plug back in the PC (super simple task even for non-tech folks) or use Kaseya’s power control tools to simulate a power cycle.

备注:内容来源于stack exchange,提问作者Patrick Fry

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.20 12:08:01