/build/static/layout/Breadcrumb_cap_w.png
06/13/2019 117 views

I am (desperately) trying to get this wmic to run in KBOX.
Can anyone see where I am going wrong on this? I would really appreciate the input - - thanks in advance Ninjas.


Using this .bat (Shadowcopy.bat)
cmd.exe /c %windir%\system32\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -file Shadowcopy.ps1

To run this .ps1  (Shadowcopy.ps1)

wmic shadowcopy call create Volume=c:\


Verify

  1. Run a batch file...

    Script Name:  Shadowcopy.bat


  • It runs fine locally
  • I have zipped both and uploaded as dependency
  • I have tried running as Local System
  • I have tried running with Credentials
  • Run Now status shows succeeded - but actually it has not
Answer Summary:
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

0


Answered 06/13/2019 by: SMal.tmcc
Red Belt

  • Your 64bit info works!!
    >> I ran as system btw
    I am most grateful to you --thanks so much.