开发者

A way to launch x applications as administrator automatically (Windows xp)

开发者 https://www.devze.com 2022-12-27 03:48 出处:网络
The problem is that in our clients their normal user doesn\'t have administrator privileges so when they have to install or update our programs they have to log again as administrator to install them

The problem is that in our clients their normal user doesn't have administrator privileges so when they have to install or update our programs they have to log again as administrator to install them and then log as their user which is cumbersome...

As some updates are automatic the "run as" solution isnt a valid one..开发者_C百科.

One good idea would be to mark a folder as "admin folder" so all the exes executed from that folder run as administrator (having configured the admin account previously) or a configurable a list of executable names that must run as administrator (i say names because it could be different installers with different hash but with a generic exe name that identifies it as ours)

Does anyone know a program or windows configuration or c# code to achieve something like this?


It seems nobody knows how to do it or doesnt want to tell because its a security hole...ironically having this escalating privileges hole would be better than having the user as administrator for everithing :S... (Appart from not being a valid solution for our clients)

0

精彩评论

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