none
PsExec64.exe bat file copy denied RRS feed

  • Question

  • I need to ask remote users to download and run a simple file copy fix batch file with domain local admin credentials in bat file.

    Remote PC local admin account is locked and out of use.

    Fix works fine when completed with domain admin credentials manually step by step but there is access denied error during copy when run as bat files. I have tried many different options but still no success.

    Yes I'm ready to give text admin password in bat files for this quick fix.

    And I have set up 2 bat files

    1. fix.bat

    PsExec64.exe -u domain\admaccount -p password  C:\Data\sasq\install.bat

    2. Install.bat

    Copy "C:\Data\sasq\font.ttf"  "C:\Program Files (x86)\Java\font.ttf"

    Error :

    Access denied. 0 files copied

    Any ideas can it work or what is missing?

    Sunday, May 27, 2018 8:19 AM