Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 904943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:08:03+00:00 2026-05-15T16:08:03+00:00

How to trick UAC in Vista and Windows 7? How can I run something

  • 0

How to trick UAC in Vista and Windows 7?
How can I run something that needs not just administrator rights, but especially must be told to run as Administrator.
I’ve tried start a process with given admin credentials, and even tried to use win32 function CreateProcessAsUser, but still unless I tell it manually “run as Administrator” it doesn’t run with fully administrator privileges.
How. How in the world I suppose to run that silently without that damn stupid UAC dialog?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T16:08:04+00:00Added an answer on May 15, 2026 at 4:08 pm

    You need to install it as service. It will run as SYSTEM which has full admin rights. There are some hooks you need to create in your app to respond to start stop and restart events.

    If you don’t’ care if the program needs to respond to the service events, you can just use SC.exe or Srvinstw.exe to install any executable as a service.\

    Edit
    I don’t think you can do this. To have a exe run with elevated rights, it has to be digitally signed by microsoft. You might be able to use a trick to make your executable a DLL and run it with rundll32.exe (Which has elevated permissions & signed by MS). I don’t think Microsoft wants anything to run silently when UAC is turned on.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

That's probably a trick question, but I'm not sure; Do I have to call
Is there a subtle trick for template specialization so that I can apply one
is there a trick to fold all other functions but not the function in
There is any preprocessor trick or something in which you can compile both, a
Does there exist some trick other than tabindex attribute so that a div can
Is there any trick to run .PHP files in windows XP from any folder
I am using a trick to return Anonymous Type but, i m not sure
Can I trick the jquery text() function to accept html and not change the
Is there any trick or utility that can take an XML file and turn
One trick shown me that I could use bytes+ which convert into String but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.