|Just another Perl shrine|
Windows 7 UAC with elevated privilegesby stringZ (Acolyte)
|on Oct 20, 2011 at 22:55 UTC||Need Help??|
stringZ has asked for the
wisdom of the Perl Monks concerning the following question:
I develop perl administrative applications for UNIX and Windows as well. In Windows 7 there's a security feature called UAC (User Account Control). It's probably familiar to everyone who have ever used Windows 7 or Vista so far. Every time when an application requires administrative (elevated) privileges Windows blanks out the workspace and prompts the user for permission. As far as I noticed, some applications can do this while they are running. I would like to elevate privileges of my perl script if that is possible in runtime.
I guess this is some kind of API call through a package like Win32 for perl. I Googled this for an hour but found nothing about this.
Could you help me a bit?
Thanks in advance