Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows Vista > Windows Vista Security

Notices

Reply

UAC problem of .cpl file

 

LinkBack Thread Tools Display Modes
Old 07-26-2006, 11:04 AM   #1 (permalink)
Default 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
dispaly name
Guest
 
Posts: n/a
Reply With Quote  
Old 07-26-2006, 03:38 PM   #2 (permalink)
Default Re: UAC problem of .cpl file

dispaly name <dispalyname@discussions.microsoft.com> wrote:
Quote:
> 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
Alan Adams
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
File open problem Suleman Windows Vista File Management 1 03-03-2007 12:30 AM
Vista Sleep Problem / Network Problem WWJD Windows Vista Networking & Sharing 0 10-11-2006 08:17 AM
File move problem on network share with RC2 Nick Payne Windows Vista Networking & Sharing 0 10-10-2006 11:31 AM
File Open and File Save As Dialog Freeze and Hang All Applications Lightfoote Windows Vista File Management 0 07-12-2006 04:39 PM
Problem with creating rules and problem with contacts LevaniJanashia Windows Vista Mail 1 06-07-2006 08:17 PM


All times are GMT. The time now is 01:02 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90