Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - UAC problem of .cpl file

Reply
 
Old 07-26-2006   #1 (permalink)
=?Utf-8?B?ZGlzcGFseSBuYW1l?=


 
 

UAC problem of .cpl file

as we all know some app need Elevation by default,we can config the .manifest
file to do so .
but i can't config the .manifest file of the .cpl, or my cpl can't Elevation
with the manifest ;
i find some sys cpl can do this ,such as the Windows Firewall ,Add Hardware .
i want to Double-click the shotcut of my xxx.cpl in the Control Panel and
see the Elevation dialog .

how to do?

thanks to your any help

My System SpecsSystem Spec
Old 07-26-2006   #2 (permalink)
Alan Adams


 
 

Re: UAC problem of .cpl file

dispaly name <dispalyname@discussions.microsoft.com> wrote:

> as we all know some app need Elevation by default,we can config the .manifest
> file to do so .
> but i can't config the .manifest file of the .cpl, or my cpl can't Elevation
> with the manifest ;
> i find some sys cpl can do this ,such as the Windows Firewall ,Add Hardware .
> i want to Double-click the shotcut of my xxx.cpl in the Control Panel and
> see the Elevation dialog .


A CPL is a DLL, and there isn't any elevation activity that occurs in
response to just a LoadLibrary(). Process (EXEs) and COM objects can
be launched with elevation required, and is what the control panel
applet would have to do.

At least for the items its allows configuration of that will require
elevation. (i.e. Maybe not everything a control panel applet shows
requires elevation just to show it, but may require elevation to
actually modify the information.)

"Control Panel" topics and the spawning of an elevated EXE or COM
object from otherwise non-elevated code is discussed in at least these
Vista security-related documents:

The Windows Vista Developer Story: Application Compatibility Cookbook
http://msdn.microsoft.com/library/en...ml/AppComp.asp

Developer Best Practices and Guidelines for Applications in a Least
Privileged Environment
http://msdn.microsoft.com/library/en...cProtVista.asp

http://msdn.microsoft.com/windowsvis...ence/security/

Alan Adams
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Solved Txt. file problem General Discussion
DLL file problem Gaming
zip file problem Vista General
batch file calling exe file problem Vista security
file problem Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46