Announcement

Collapse
No announcement yet.

WinRM

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • WinRM

    Hi All,

    I have question abou WinRM. I have Windows 2008 R2 environment / Windows 2003 R2.

    On DCs there is NETLOGON share with some batch scripts.

    And I would like to use WinRS to run script.bat on other servers from \\domain\NETLOGON\script.bat

    I have problem with access denied.

    I can connect to server with this command:

    WinRS -r:servername cmd

    I try to run local stored bat script and it works, but I want to run script located in network share.

    I also try to use this command:

    WinRS -r:servername1 \\servername2\share\script.bat (share has everyone for read and auth users for read and execute)

    But it also didnt work. Can anybody help me?

    Caspi


    PS: I try to run it under domain admin account
    Thanks

    Caspi
Working...
X