System.ComponentModel.Win32Exception: 'Access is denied' RRS feed

  • Question

  • In VS 2019 Enterprise: Trying to run an automated script but it looks up on this every time, I have admin rights, please include step by step if you can on how to fix? Thank you

    • Edited by gardinia Wednesday, March 18, 2020 8:29 PM
    Wednesday, March 18, 2020 8:23 PM

All replies

  • what process are you trying to kill? Even an administrator can not kill all processes.
    And your program (UL_Webdriver.exe) is running elevated?
    Wednesday, March 18, 2020 9:13 PM
  • Hi gardinia,

    As EckiS mentioned, we cannot kill all processed even if an administrator.
    You need to get each ProcessName, check if it is the process you want to kill, and kill it (or do nothing). 


    Ashidacchi -- http://hokusosha.com

    Wednesday, March 18, 2020 11:47 PM