3
Answers

C# console application - force to run as Administrator role

HOANG DANG

HOANG DANG

8y
2.3k
1

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)