Results 1 to 3 of 3

Thread: [RESOLVED] Creating Directories While UAC Is Enabled

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2010
    Posts
    56

    Resolved [RESOLVED] Creating Directories While UAC Is Enabled

    Hello, everyone! I'm creating a program that creates new directories and subdirectories in the "C:\Program Files" folder, and the operation fails if the user has the User Account Controls enabled in both Windows Vista and Windows 7. Is there a way I can give my application permission to automatically create these directories without requiring the user to turn off the User Account Controls? Thanks, and I greatly appreciate any help!

  2. #2
    Addicted Member
    Join Date
    Mar 2007
    Posts
    163

    Re: Creating Directories While UAC Is Enabled

    You can change the UAC settinga of your application and grand it admin rights which will sub-sequently allow it to do actions that are not permitted by UAC.
    Have a look at this link for more information

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2010
    Posts
    56

    Re: Creating Directories While UAC Is Enabled

    Quote Originally Posted by stavris View Post
    You can change the UAC settinga of your application and grand it admin rights which will sub-sequently allow it to do actions that are not permitted by UAC.
    Have a look at this link for more information
    Thank you very much! That was a very simple solution!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width