ATP verification PS script Error on CMD "Access Denied"

  • Thread starter Thread starter Tayyabrao
  • Start date Start date
T

Tayyabrao

Guest
Hello,


I have to verify the newly ATP on board PC and running below script to verify but the error say access denied although I have run cmd with admin privilege's and created a folder also in C as article says but still I don't know why it says "access denied" can anyone help me out here


Script using:>powershell.exe -NoExit -ExecutionPolicy Bypass -WindowStyle Hidden $ErrorActionPreference= 'silentlycontinue';(New-Object System.Net.WebClient).DownloadFile('http://127.0.0.1/1.exe', 'C:\\test-MDATP-test\\invoice.exe');Start-Process 'C:\\test-MDATP-test\\invoice.exe'


Article guide link: Run a detection test on a newly onboarded Microsoft Defender ATP device - Windows security


PS: The user-ID runs CMD is domain admin



59c1fbeb-aac7-4b94-9236-9c576c5f4542?upload=true.png


366b0f6f-94d6-40fd-8f1c-2b6664affdab?upload=true.png

Continue reading...
 
Back
Top