This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use.
Learn more
Microsoft
Windows Dev Center
Windows Dev Center
Windows Dev Center
Home
UWP apps
Get started
Design
Develop
Publish
Resources
API reference
Downloads
Samples
Support
More
Dashboard
All Microsoft
Microsoft 365
Azure
Office 365
Dynamics 365
SQL
Windows 10
Products & Services
Windows Server
Enterprise Mobility + Security
Power BI
Teams
Visual Studio
Microsoft Advertising
Emerging Technologies
AI
Internet of Things
Azure Cognitive Services
Quantum
Microsoft HoloLens
Mixed Reality
Developer & IT
Docs
TechNet
Developer Network
Windows Dev Center
Windows IT Pro Center
FastTrack
Partner
Partner Network
Solution Providers
Partner Center
Cloud Hosting
Industries
Education
Financial services
Government
Health
Manufacturing & resources
Retail
Other
Security
Licensing
AppSource
Azure Marketplace
Events
Research
View Sitemap
Search
Cancel
Sign in
Dev Center - Windows Store apps
>
Samples
>
UAC self-elevation (VBUACSelfElevation)
SDK and tools
Windows on GitHub
Quick access
My samples
Upload a sample
Browse sample requests
UAC self-elevation (VBUACSelfEleva
tion)
This example demonstrates how to check the privilege level of the current process, and how to self-elevate the process by giving explicit consent with the Consent UI.
Download
VB.NET (137.2 KB)
Ratings
(0)
Downloaded
10,927 times
Favorites
Add to favorites
Requires
Visual Studio 2008
Updated
3/2/2012
License
MS-LPL
Share
Technologies
Windows SDK
Topics
Security
,
UAC
,
Integrity Level
Report abuse to Microsoft
Description
Browse code