开发者

How to open Administrator mode?

开发者 https://www.devze.com 2023-03-23 16:47 出处:网络
I want to open Administrator mode automatically after installing my application. And also i want to add Font automatically into Client\'s PC when installing my application开发者_如何转开发.if you nee

I want to open Administrator mode automatically after installing my application.

And also i want to add Font automatically into Client's PC when installing my application开发者_如何转开发.


if you need to configure your .NET application to always run in administrator mode after it has been installed, have a look at this:

Run .NET Programs as Administrator on Vista or Windows 7

this only applies to Vista and Windows 7 and Win Server 2008 because in Windows XP if current user is administrator, application already runs in admin mode.


You need to add an application manifest requesting admin priviliges. This begs the question of why it needs admin access as this is normally indicative of an incorrectly designed application.

0

精彩评论

暂无评论...
验证码 换一张
取 消