HOANG DANG

HOANG DANG

  • NA
  • 151
  • 2.2k

C# console application - force to run as Administrator role

Feb 24 2017 3:48 AM

Hi Masters,

My Console Application used to delete sub key tree(DeleteSubKeyTree method), when i run this application, i had met an issue as

"Additional information: Cannot delete a subkey tree because the subkey does not exist.",

I'm surely that SubKeyName was existing under HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer, i can delete it by Registry Editor but with my console application not working.

Please help me.

Thanks

Tuan Nguyen.


Answers (3)