You have to grant the non-admin user/group "Shut down the system" 
privileges on the machine(s) in question- default setting only allows that 
for Administrators and Backup Operators.

On Sunday, March 5, 2017 at 2:36:08 PM UTC-8, Zubair Saeed wrote:
>
> Hi,
>
> I've added my non-admin user to *winrm configSDDL default* and when I 
> win_ping my windows host, I can get a reply. But when I run win_reboot 
> command, it gives me access denied error.
>
> Do any one have any idea on this?
>
> Regards,
> Zubair
>
>
> On Tuesday, 7 June 2016 12:30:50 UTC+5, [email protected] wrote:
>>
>> Thanks a lot,
>> That was it !!!!
>>
>> Have a nice day.
>>
>> Patrick
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e4e6697e-2de2-4410-b7a4-3e55f7eb4c6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to