Psexec


  1. Posts : 1
    10
       #1

    Psexec


    Anyone had luck installing psexec on Win10? Having trouble. Not sure if they environmental variables are correct.
      My Computer


  2. Posts : 5,478
    2004
       #2

    It works for me - you don't install it - just put the .exe somewhere and then specify where when you call it.

    This works for me on local machine (I saved it to my OneDrive):
    Code:
    Microsoft Windows [Version 10.0.16299.248]
    (c) 2017 Microsoft Corporation. All rights reserved.
    
    C:\WINDOWS\system32>%userprofile%\OneDrive\Programs\SysinternalsSuite\PsExec64.exe -a 1 -abovenormal "C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE"
    
    PsExec v2.2 - Execute processes remotely
    Copyright (C) 2001-2016 Mark Russinovich
    Sysinternals - www.sysinternals.com
    
    C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE exited with error code 0.
    
    C:\WINDOWS\system32>
    What error are you getting?

    Are you wanting to use it without specifying where it is? In that case you would have to add the location you saved the .exe to your path environment variable.

    Are you trying to run remotely or locally? This thread suggests for remote commands you need it in your path (on remote box) and to specify user/password.

    Psexec- file not on the path - Stack Overflow
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:10.
Find Us




Windows 10 Forums