[Shutdown] W10 via Hass.IO

Hallo,
i hope somebody can take a look at my config and help me to find the error:

First of on my Win10 PC i made following changes:
– UAC all down
– both Firewalls (private and public) shutdown
– service.msg --> Remote Registry --> auto
– regedit :LocalAccountTokenFilterPolicy and set the value to 1.

Than here my switch:

switch:

  • platform: wake_on_lan
    name: Test PC Wohnen
    host: 192.168.2.106
    mac_address: “xx-xx-xx-xx-xx-xx”
    turn_off:
    service: hassio.addon_stdin
    data:
    addon: core_rpc_shutdown
    input: Test

and my addon:
{
“computers”: [
{
“alias”: “Test”,
“address”: “192.168.2.106”,
“credentials”: “User%password”
}
]
}

the LOG says no error or anything else, it just doesn`t do anything beside the switch jumping to off and after 3 sec back to on.

What do i do wrong?
Thx in Advance

For Info: Wake on Lan is working perfectly, only shutdown is failing

1 Like

See the formatting suggestiong in the blue bar at the top.

Make sure your formatting looks liike the following:

  - platform: wake_on_lan
    name: HTPC Switch
    mac_address: "78:2b:cb:9f:60:cd"
    host: 192.168.1.5
    turn_off:
      service: hassio.addon_stdin
      data:
        addon: core_rpc_shutdown
        input: htpc

make sure your user is the user listed a c:/users/

Make sure you setup your windows 10 machine to allow the remote shutdown

switch:
  - platform: wake_on_lan
    name: Test PC Wohnen
    host: 192.168.2.106
    mac_address: "xx-xx-xx-xx-xx-xx"
    turn_off:
      service: hassio.addon_stdin
      data:
        addon: core_rpc_shutdown
        input: Test
{
“computers”: [
{
“alias”: “Test”,
“address”: “192.168.2.106”,
“credentials”: “User%password”
}
]
}

so, this is my Code.
user is like in folder “benutzer” (in german)
and PW is correct also.
i donnot know what i am doing wrong…

Did you make the changes to allow Windows 10 to be shut down remotely?

bottom of the post linked above

ok for the Forum,
it is working now.
No changes made except giving another “alias” and not the same as the User!
And making a lot restarts manually, so i cannot tell what did the trick :wink:

Thx